diff --git a/plugins/editor/CMakeLists.txt b/plugins/editor/CMakeLists.txt index bfc5cc1e..387f4704 100644 --- a/plugins/editor/CMakeLists.txt +++ b/plugins/editor/CMakeLists.txt @@ -5,8 +5,10 @@ set(EDITOR_RESOURCES logo.png logo_text.png logo_text_white.png + logo_text_shaded.png logo_text@2x.png logo_text_white@2x.png + logo_text_shaded@2x.png background.png background@2x.png icon_white.png diff --git a/plugins/editor/layout/main.fl b/plugins/editor/layout/main.fl index 74582ec2..d1e5a1ab 100644 --- a/plugins/editor/layout/main.fl +++ b/plugins/editor/layout/main.fl @@ -20,22 +20,22 @@ widget_class mainView {open class RoundedGroup } { Fl_Box {} { - comment {tag=kTagFirstChangePanel+kPanelGeneral} - image {../resources/logo_text_white.png} xywh {35 9 120 60} + comment {tag=kTagFirstChangePanel+kPanelGeneral} selected + image {../resources/logo_text_shaded.png} xywh {35 9 120 60} class SfizzMainButton } Fl_Button {} { - comment {tag=kTagFirstChangePanel+kPanelGeneral} selected + comment {tag=kTagFirstChangePanel+kPanelGeneral} xywh {36 73 32 32} labelsize 30 class HomeButton } Fl_Button {} { - comment {tag=kTagFirstChangePanel+kPanelControls} selected + comment {tag=kTagFirstChangePanel+kPanelControls} xywh {76 73 32 32} labelsize 30 class CCButton } Fl_Button {} { - comment {tag=kTagFirstChangePanel+kPanelSettings} selected + comment {tag=kTagFirstChangePanel+kPanelSettings} xywh {116 73 32 32} labelsize 30 class SettingsButton } diff --git a/plugins/editor/resources/logo_text_shaded.png b/plugins/editor/resources/logo_text_shaded.png new file mode 100644 index 00000000..e4198b1c Binary files /dev/null and b/plugins/editor/resources/logo_text_shaded.png differ diff --git a/plugins/editor/resources/logo_text_shaded@2x.png b/plugins/editor/resources/logo_text_shaded@2x.png new file mode 100644 index 00000000..b786d9b9 Binary files /dev/null and b/plugins/editor/resources/logo_text_shaded@2x.png differ diff --git a/plugins/editor/src/editor/Editor.cpp b/plugins/editor/src/editor/Editor.cpp index 76e08b71..e721a0ee 100644 --- a/plugins/editor/src/editor/Editor.cpp +++ b/plugins/editor/src/editor/Editor.cpp @@ -558,7 +558,7 @@ void Editor::Impl::createFrameContents() { CViewContainer* mainView; - SharedPointer iconWhite = owned(new CBitmap("logo_text_white.png")); + SharedPointer iconShaded = owned(new CBitmap("logo_text_shaded.png")); SharedPointer background = owned(new CBitmap("background.png")); SharedPointer knob48 = owned(new CBitmap("knob48.png")); SharedPointer logoText = owned(new CBitmap("logo_text.png")); @@ -636,8 +636,8 @@ void Editor::Impl::createFrameContents() box->setTitleFont(font); return box; }; - auto createSfizzMainButton = [this, &iconWhite](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int) { - return new CKickButton(bounds, this, tag, iconWhite); + auto createSfizzMainButton = [this, &iconShaded](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int) { + return new CKickButton(bounds, this, tag, iconShaded); }; auto createLabel = [&theme](const CRect& bounds, int, const char* label, CHoriTxtAlign align, int fontsize) { CTextLabel* lbl = new CTextLabel(bounds, label);