Editor logo in shaded style
This commit is contained in:
parent
8e122e3a36
commit
5fe2be5fac
5 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
BIN
plugins/editor/resources/logo_text_shaded.png
Normal file
BIN
plugins/editor/resources/logo_text_shaded.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
plugins/editor/resources/logo_text_shaded@2x.png
Normal file
BIN
plugins/editor/resources/logo_text_shaded@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
|
|
@ -558,7 +558,7 @@ void Editor::Impl::createFrameContents()
|
|||
{
|
||||
CViewContainer* mainView;
|
||||
|
||||
SharedPointer<CBitmap> iconWhite = owned(new CBitmap("logo_text_white.png"));
|
||||
SharedPointer<CBitmap> iconShaded = owned(new CBitmap("logo_text_shaded.png"));
|
||||
SharedPointer<CBitmap> background = owned(new CBitmap("background.png"));
|
||||
SharedPointer<CBitmap> knob48 = owned(new CBitmap("knob48.png"));
|
||||
SharedPointer<CBitmap> 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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue