Update layout

This commit is contained in:
Jean Pierre Cimalando 2021-04-27 14:46:27 +02:00
parent 4df1d7a2d7
commit 7ca9c15a28
2 changed files with 39 additions and 39 deletions

View file

@ -41,27 +41,27 @@ widget_class mainView {open
}
}
Fl_Group {} {open
xywh {185 5 380 100} box ROUNDED_BOX
xywh {185 5 395 100} box ROUNDED_BOX
class RoundedGroup
} {
Fl_Box {} {
label {Separator 1}
xywh {195 41 360 5} box BORDER_BOX labeltype NO_LABEL
xywh {195 41 375 5} box BORDER_BOX labeltype NO_LABEL
class HLine
}
Fl_Box {} {
label {Separator 2}
xywh {195 73 360 5} box BORDER_BOX labeltype NO_LABEL
xywh {195 73 375 5} box BORDER_BOX labeltype NO_LABEL
class HLine
}
Fl_Box sfzFileLabel_ {
label {DefaultInstrument.sfz}
comment {tag=kTagLoadSfzFile}
xywh {195 13 250 30} labelsize 20 align 20
xywh {195 13 295 30} labelsize 20 align 20
class ClickableLabel
}
Fl_Box keyswitchLabel_ {
xywh {265 45 290 30} labelsize 20 align 20
xywh {265 45 305 30} labelsize 20 align 20
class Label
}
Fl_Box keyswitchBadge_ {
@ -80,17 +80,17 @@ widget_class mainView {open
}
Fl_Button {} {
comment {tag=kTagPreviousSfzFile}
xywh {480 18 25 25} labelsize 24
xywh {495 18 25 25} labelsize 24
class PreviousFileButton
}
Fl_Button {} {
comment {tag=kTagNextSfzFile}
xywh {505 18 25 25} labelsize 24
xywh {520 18 25 25} labelsize 24
class NextFileButton
}
Fl_Button fileOperationsMenu_ {
comment {tag=kTagFileOperations}
xywh {530 18 25 25} labelsize 24
xywh {545 18 25 25} labelsize 24
class ChevronDropDown
}
Fl_Box infoVoicesLabel_ {
@ -99,30 +99,30 @@ widget_class mainView {open
}
Fl_Box {} {
label {Max:}
xywh {315 78 40 25} labelsize 12 align 24
xywh {325 78 40 25} labelsize 12 align 24
class Label
}
Fl_Box numVoicesLabel_ {
xywh {360 78 35 25} labelsize 12 align 16
xywh {370 78 35 25} labelsize 12 align 16
class Label
}
Fl_Box {} {
label {Memory:}
xywh {425 78 60 25} labelsize 12 align 24
label {Memory:} selected
xywh {440 78 60 25} labelsize 12 align 24
class Label
}
Fl_Box memoryLabel_ {
xywh {490 78 60 25} labelsize 12 align 16
Fl_Box memoryLabel_ {selected
xywh {505 78 60 25} labelsize 12 align 16
class Label
}
Fl_Button numVoicesSlider_ {
comment {tag=kTagSetNumVoices}
xywh {395 82 20 20} labelsize 16
xywh {405 82 20 20} labelsize 16
class ChevronValueDropDown
}
}
Fl_Group {} {open
xywh {570 5 225 100} box ROUNDED_BOX
xywh {585 5 210 100} box ROUNDED_BOX
class RoundedGroup
} {
Fl_Dial {} {
@ -137,21 +137,21 @@ widget_class mainView {open
Fl_Box volumeCCKnob_ {
label Volume
comment {tag=kTagSetCCVolume}
xywh {580 10 70 90} box BORDER_BOX labelsize 12 align 17
xywh {595 10 70 90} box BORDER_BOX labelsize 12 align 17
class KnobCCBox
}
Fl_Box panCCKnob_ {
label Pan
comment {tag=kTagSetCCPan}
xywh {655 10 70 90} box BORDER_BOX labelsize 12 align 17
xywh {670 10 70 90} box BORDER_BOX labelsize 12 align 17
class KnobCCBox
}
Fl_Box leftMeter_ {
xywh {740 15 15 85} box BORDER_BOX
xywh {750 15 15 85} box BORDER_BOX
class VMeter
}
Fl_Box rightMeter_ {
xywh {760 15 15 85} box BORDER_BOX
xywh {770 15 15 85} box BORDER_BOX
class VMeter
}
}
@ -361,7 +361,7 @@ widget_class mainView {open
}
}
Fl_Group {} {
label Appearance open selected
label Appearance open
xywh {40 270 105 100} box ROUNDED_BOX labelsize 12 align 17
class TitleGroup
} {

View file

@ -20,16 +20,16 @@ view__3->addView(view__6);
auto* const view__7 = createSettingsButton(CRect(111, 69, 143, 101), kTagFirstChangePanel+kPanelSettings, "", kCenterText, 30);
panelButtons_[kPanelSettings] = view__7;
view__3->addView(view__7);
auto* const view__8 = createRoundedGroup(CRect(185, 5, 565, 105), -1, "", kCenterText, 14);
auto* const view__8 = createRoundedGroup(CRect(185, 5, 580, 105), -1, "", kCenterText, 14);
view__2->addView(view__8);
auto* const view__9 = createHLine(CRect(10, 36, 370, 41), -1, "", kCenterText, 14);
auto* const view__9 = createHLine(CRect(10, 36, 385, 41), -1, "", kCenterText, 14);
view__8->addView(view__9);
auto* const view__10 = createHLine(CRect(10, 68, 370, 73), -1, "", kCenterText, 14);
auto* const view__10 = createHLine(CRect(10, 68, 385, 73), -1, "", kCenterText, 14);
view__8->addView(view__10);
auto* const view__11 = createClickableLabel(CRect(10, 8, 260, 38), kTagLoadSfzFile, "DefaultInstrument.sfz", kLeftText, 20);
auto* const view__11 = createClickableLabel(CRect(10, 8, 305, 38), kTagLoadSfzFile, "DefaultInstrument.sfz", kLeftText, 20);
sfzFileLabel_ = view__11;
view__8->addView(view__11);
auto* const view__12 = createLabel(CRect(80, 40, 370, 70), -1, "", kLeftText, 20);
auto* const view__12 = createLabel(CRect(80, 40, 385, 70), -1, "", kLeftText, 20);
keyswitchLabel_ = view__12;
view__8->addView(view__12);
auto* const view__13 = createBadge(CRect(10, 42, 70, 68), -1, "", kCenterText, 20);
@ -41,35 +41,35 @@ view__8->addView(view__14);
view__14->setVisible(false);
auto* const view__15 = createLabel(CRect(10, 73, 70, 98), -1, "Voices:", kRightText, 12);
view__8->addView(view__15);
auto* const view__16 = createPreviousFileButton(CRect(295, 13, 320, 38), kTagPreviousSfzFile, "", kCenterText, 24);
auto* const view__16 = createPreviousFileButton(CRect(310, 13, 335, 38), kTagPreviousSfzFile, "", kCenterText, 24);
view__8->addView(view__16);
auto* const view__17 = createNextFileButton(CRect(320, 13, 345, 38), kTagNextSfzFile, "", kCenterText, 24);
auto* const view__17 = createNextFileButton(CRect(335, 13, 360, 38), kTagNextSfzFile, "", kCenterText, 24);
view__8->addView(view__17);
auto* const view__18 = createChevronDropDown(CRect(345, 13, 370, 38), kTagFileOperations, "", kCenterText, 24);
auto* const view__18 = createChevronDropDown(CRect(360, 13, 385, 38), kTagFileOperations, "", kCenterText, 24);
fileOperationsMenu_ = view__18;
view__8->addView(view__18);
auto* const view__19 = createLabel(CRect(75, 73, 115, 98), -1, "", kCenterText, 12);
infoVoicesLabel_ = view__19;
view__8->addView(view__19);
auto* const view__20 = createLabel(CRect(130, 73, 170, 98), -1, "Max:", kRightText, 12);
auto* const view__20 = createLabel(CRect(140, 73, 180, 98), -1, "Max:", kRightText, 12);
view__8->addView(view__20);
auto* const view__21 = createLabel(CRect(175, 73, 210, 98), -1, "", kCenterText, 12);
auto* const view__21 = createLabel(CRect(185, 73, 220, 98), -1, "", kCenterText, 12);
numVoicesLabel_ = view__21;
view__8->addView(view__21);
auto* const view__22 = createLabel(CRect(240, 73, 300, 98), -1, "Memory:", kRightText, 12);
auto* const view__22 = createLabel(CRect(255, 73, 315, 98), -1, "Memory:", kRightText, 12);
view__8->addView(view__22);
auto* const view__23 = createLabel(CRect(305, 73, 365, 98), -1, "", kCenterText, 12);
auto* const view__23 = createLabel(CRect(320, 73, 380, 98), -1, "", kCenterText, 12);
memoryLabel_ = view__23;
view__8->addView(view__23);
auto* const view__24 = createChevronValueDropDown(CRect(210, 77, 230, 97), kTagSetNumVoices, "", kCenterText, 16);
auto* const view__24 = createChevronValueDropDown(CRect(220, 77, 240, 97), kTagSetNumVoices, "", kCenterText, 16);
numVoicesSlider_ = view__24;
view__8->addView(view__24);
auto* const view__25 = createRoundedGroup(CRect(570, 5, 795, 105), -1, "", kCenterText, 14);
auto* const view__25 = createRoundedGroup(CRect(585, 5, 795, 105), -1, "", kCenterText, 14);
view__2->addView(view__25);
auto* const view__26 = createKnob48(CRect(45, 15, 93, 63), -1, "", kCenterText, 14);
auto* const view__26 = createKnob48(CRect(30, 15, 78, 63), -1, "", kCenterText, 14);
view__25->addView(view__26);
view__26->setVisible(false);
auto* const view__27 = createValueLabel(CRect(40, 65, 100, 70), -1, "Center", kCenterText, 12);
auto* const view__27 = createValueLabel(CRect(25, 65, 85, 70), -1, "Center", kCenterText, 12);
view__25->addView(view__27);
view__27->setVisible(false);
auto* const view__28 = createKnobCCBox(CRect(10, 5, 80, 95), kTagSetCCVolume, "Volume", kCenterText, 12);
@ -78,10 +78,10 @@ view__25->addView(view__28);
auto* const view__29 = createKnobCCBox(CRect(85, 5, 155, 95), kTagSetCCPan, "Pan", kCenterText, 12);
panCCKnob_ = view__29;
view__25->addView(view__29);
auto* const view__30 = createVMeter(CRect(170, 10, 185, 95), -1, "", kCenterText, 14);
auto* const view__30 = createVMeter(CRect(165, 10, 180, 95), -1, "", kCenterText, 14);
leftMeter_ = view__30;
view__25->addView(view__30);
auto* const view__31 = createVMeter(CRect(190, 10, 205, 95), -1, "", kCenterText, 14);
auto* const view__31 = createVMeter(CRect(185, 10, 200, 95), -1, "", kCenterText, 14);
rightMeter_ = view__31;
view__25->addView(view__31);
enterPalette(defaultPalette);