chore: cleanup the ui

This commit is contained in:
2025-12-17 13:14:46 +03:00
parent b4ca5e1912
commit 58eff4d97e
19 changed files with 856 additions and 259 deletions

View File

@@ -65,7 +65,9 @@ int main(int, char**)
settings_window settingsWindow;
colorEditor.set_template_editor(&templateEditor);
colorEditor.set_settings_window(&settingsWindow);
templateEditor.apply_current_palette(colorEditor.controller().current_palette());
settingsWindow.set_palette(colorEditor.controller().current_palette());
while (!glfwWindowShouldClose(window))
{
@@ -78,7 +80,7 @@ int main(int, char**)
colorEditor.render_controls_and_colors();
colorEditor.render_preview();
templateEditor.render();
aboutWindow.render();
aboutWindow.render(colorEditor.controller().current_palette());
settingsWindow.render();
loader.pop_font();