diff --git a/plugins/editor/CMakeLists.txt b/plugins/editor/CMakeLists.txt index 0b6ee3bd..a87d58bf 100644 --- a/plugins/editor/CMakeLists.txt +++ b/plugins/editor/CMakeLists.txt @@ -21,6 +21,7 @@ set(EDITOR_RESOURCES Fonts/sfizz-misc-icons.ttf Fonts/Roboto-Regular.ttf Themes/Default/theme.xml + Themes/Dark/theme.xml PARENT_SCOPE) function(copy_editor_resources TARGET SOURCE_DIR DESTINATION_DIR) diff --git a/plugins/editor/layout/main.fl b/plugins/editor/layout/main.fl index 2ec8a0e4..2f94bbef 100644 --- a/plugins/editor/layout/main.fl +++ b/plugins/editor/layout/main.fl @@ -362,7 +362,7 @@ widget_class mainView {open } Fl_Group {} { label Theme open - xywh {40 270 105 100} box ROUNDED_BOX labelsize 12 align 17 hide + xywh {40 270 105 100} box ROUNDED_BOX labelsize 12 align 17 class TitleGroup } { Fl_Spinner themeMenu_ { diff --git a/plugins/editor/resources/Themes/Dark/theme.xml b/plugins/editor/resources/Themes/Dark/theme.xml new file mode 100644 index 00000000..b5e9152f --- /dev/null +++ b/plugins/editor/resources/Themes/Dark/theme.xml @@ -0,0 +1,40 @@ + + + #121212 + + #1d1d1d + #e3e3e3 + #a2a2a2 + #e9e9e9 + #e3e3e3 + #2d2d2d + #e3e3e3 + #121212 + #e3e3e3 + #ff6000 + #006b0b + #6f6f6f + #ffffff + #ffffff + #ffffff + #006b0b + + + #2d2d2d + #9e9e9e + #a2a2a2 + #e9e9e9 + #9e9e9e + #2d2d2d + #9e9e9e + #121212 + #9e9e9e + #ff6000 + #006b0b + #6f6f6f + #ffffff + #ffffff + #ffffff + #006b0b + + diff --git a/plugins/editor/src/editor/layout/main.hpp b/plugins/editor/src/editor/layout/main.hpp index 26536478..4c0f9910 100644 --- a/plugins/editor/src/editor/layout/main.hpp +++ b/plugins/editor/src/editor/layout/main.hpp @@ -190,7 +190,6 @@ oscillatorQualitySlider_ = view__71; view__67->addView(view__71); auto* const view__72 = createTitleGroup(CRect(35, 161, 140, 261), -1, "Theme", kCenterText, 12); view__47->addView(view__72); -view__72->setVisible(false); auto* const view__73 = createOptionMenu(CRect(20, 60, 85, 85), kTagThemeMenu, "", kCenterText, 12); themeMenu_ = view__73; view__72->addView(view__73);