Adjust sizes and positions of settings boxes

This commit is contained in:
Jean Pierre Cimalando 2020-09-11 15:29:52 +02:00
parent e8f967c462
commit 24c0ec2780
2 changed files with 26 additions and 26 deletions

View file

@ -1,12 +1,12 @@
# data file for the Fltk User Interface Designer (fluid) # data file for the Fltk User Interface Designer (fluid)
version 1.0304 version 1.0305
header_name {.h} header_name {.h}
code_name {.cxx} code_name {.cxx}
widget_class mainView {open widget_class mainView {open
xywh {572 266 800 475} type Double xywh {572 266 800 475} type Double
class LogicalGroup visible class LogicalGroup visible
} { } {
Fl_Box {} {selected Fl_Box {} {
image {../resources/background.png} xywh {190 110 600 280} image {../resources/background.png} xywh {190 110 600 280}
class Background class Background
} }
@ -142,7 +142,7 @@ widget_class mainView {open
} }
} }
Fl_Group {subPanels_[kPanelGeneral]} { Fl_Group {subPanels_[kPanelGeneral]} {
xywh {5 110 791 285} xywh {5 110 791 285} hide
class LogicalGroup class LogicalGroup
} { } {
Fl_Group {} {open Fl_Group {} {open
@ -216,95 +216,95 @@ widget_class mainView {open
} }
} }
} }
Fl_Group {subPanels_[kPanelSettings]} { Fl_Group {subPanels_[kPanelSettings]} {open
xywh {5 109 790 286} hide xywh {5 109 790 286}
class LogicalGroup class LogicalGroup
} { } {
Fl_Group {} { Fl_Group {} {
label Engine open label Engine open selected
xywh {260 110 280 110} box ROUNDED_BOX labelsize 12 align 17 xywh {260 135 280 100} box ROUNDED_BOX labelsize 12 align 17
class TitleGroup class TitleGroup
} { } {
Fl_Spinner numVoicesSlider_ { Fl_Spinner numVoicesSlider_ {
comment {tag=kTagSetNumVoices} comment {tag=kTagSetNumVoices}
xywh {285 170 60 25} labelsize 12 textsize 12 xywh {285 195 60 25} labelsize 12 textsize 12
class ValueMenu class ValueMenu
} }
Fl_Box {} { Fl_Box {} {
label Polyphony label Polyphony
xywh {275 130 80 25} labelsize 12 xywh {275 155 80 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Spinner oversamplingSlider_ { Fl_Spinner oversamplingSlider_ {
comment {tag=kTagSetOversampling} comment {tag=kTagSetOversampling}
xywh {370 170 60 25} labelsize 12 textsize 12 xywh {370 195 60 25} labelsize 12 textsize 12
class ValueMenu class ValueMenu
} }
Fl_Box {} { Fl_Box {} {
label Oversampling label Oversampling
xywh {360 130 80 25} labelsize 12 xywh {360 155 80 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Box {} { Fl_Box {} {
label {Preload size} label {Preload size}
xywh {445 130 80 25} labelsize 12 xywh {445 155 80 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Spinner preloadSizeSlider_ { Fl_Spinner preloadSizeSlider_ {
comment {tag=kTagSetPreloadSize} comment {tag=kTagSetPreloadSize}
xywh {455 170 60 25} labelsize 12 textsize 12 xywh {455 195 60 25} labelsize 12 textsize 12
class ValueMenu class ValueMenu
} }
} }
Fl_Group {} { Fl_Group {} {
label Tuning open label Tuning open
xywh {205 268 390 120} box ROUNDED_BOX labelsize 12 align 17 xywh {205 270 390 100} box ROUNDED_BOX labelsize 12 align 17
class TitleGroup class TitleGroup
} { } {
Fl_Box {} { Fl_Box {} {
label {Root key} label {Root key}
xywh {330 288 80 25} labelsize 12 xywh {330 290 80 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Spinner tuningFrequencySlider_ { Fl_Spinner tuningFrequencySlider_ {
comment {tag=kTagSetTuningFrequency} comment {tag=kTagSetTuningFrequency}
xywh {425 328 60 25} labelsize 12 textsize 12 xywh {425 330 60 25} labelsize 12 textsize 12
class ValueMenu class ValueMenu
} }
Fl_Box {} { Fl_Box {} {
label Frequency label Frequency
xywh {415 288 80 25} labelsize 12 xywh {415 290 80 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Dial stretchedTuningSlider_ { Fl_Dial stretchedTuningSlider_ {
comment {tag=kTagSetStretchedTuning} comment {tag=kTagSetStretchedTuning}
xywh {515 313 48 48} value 0.5 xywh {515 315 48 48} value 0.5
class Knob48 class Knob48
} }
Fl_Box {} { Fl_Box {} {
label Stretch label Stretch
xywh {500 288 80 25} labelsize 12 xywh {500 290 80 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Box {} { Fl_Box {} {
label {Scala file} label {Scala file}
xywh {225 288 100 25} labelsize 12 xywh {225 290 100 25} labelsize 12
class ValueLabel class ValueLabel
} }
Fl_Button scalaFileButton_ { Fl_Button scalaFileButton_ {
label DefaultScale label DefaultScale
comment {tag=kTagLoadScalaFile} comment {tag=kTagLoadScalaFile}
xywh {225 328 100 25} labelsize 12 xywh {225 330 100 25} labelsize 12
class ValueButton class ValueButton
} }
Fl_Spinner scalaRootKeySlider_ { Fl_Spinner scalaRootKeySlider_ {
comment {tag=kTagSetScalaRootKey} comment {tag=kTagSetScalaRootKey}
xywh {340 328 35 25} labelsize 12 textsize 12 xywh {340 330 35 25} labelsize 12 textsize 12
class ValueMenu class ValueMenu
} }
Fl_Spinner scalaRootOctaveSlider_ { Fl_Spinner scalaRootOctaveSlider_ {
comment {tag=kTagSetScalaRootKey} comment {tag=kTagSetScalaRootKey}
xywh {375 328 30 25} labelsize 12 textsize 12 xywh {375 330 30 25} labelsize 12 textsize 12
class ValueMenu class ValueMenu
} }
} }

View file

@ -70,6 +70,7 @@ enterTheme(defaultTheme);
LogicalGroup* const view__29 = createLogicalGroup(CRect(5, 110, 796, 395), -1, "", kCenterText, 14); LogicalGroup* const view__29 = createLogicalGroup(CRect(5, 110, 796, 395), -1, "", kCenterText, 14);
subPanels_[kPanelGeneral] = view__29; subPanels_[kPanelGeneral] = view__29;
view__0->addView(view__29); view__0->addView(view__29);
view__29->setVisible(false);
RoundedGroup* const view__30 = createRoundedGroup(CRect(0, 0, 175, 280), -1, "", kCenterText, 14); RoundedGroup* const view__30 = createRoundedGroup(CRect(0, 0, 175, 280), -1, "", kCenterText, 14);
view__29->addView(view__30); view__29->addView(view__30);
Label* const view__31 = createLabel(CRect(15, 10, 75, 35), -1, "Curves:", kLeftText, 14); Label* const view__31 = createLabel(CRect(15, 10, 75, 35), -1, "Curves:", kLeftText, 14);
@ -108,8 +109,7 @@ view__42->addView(view__43);
LogicalGroup* const view__44 = createLogicalGroup(CRect(5, 109, 795, 395), -1, "", kCenterText, 14); LogicalGroup* const view__44 = createLogicalGroup(CRect(5, 109, 795, 395), -1, "", kCenterText, 14);
subPanels_[kPanelSettings] = view__44; subPanels_[kPanelSettings] = view__44;
view__0->addView(view__44); view__0->addView(view__44);
view__44->setVisible(false); TitleGroup* const view__45 = createTitleGroup(CRect(255, 26, 535, 126), -1, "Engine", kCenterText, 12);
TitleGroup* const view__45 = createTitleGroup(CRect(255, 1, 535, 111), -1, "Engine", kCenterText, 12);
view__44->addView(view__45); view__44->addView(view__45);
ValueMenu* const view__46 = createValueMenu(CRect(25, 60, 85, 85), kTagSetNumVoices, "", kCenterText, 12); ValueMenu* const view__46 = createValueMenu(CRect(25, 60, 85, 85), kTagSetNumVoices, "", kCenterText, 12);
numVoicesSlider_ = view__46; numVoicesSlider_ = view__46;
@ -126,7 +126,7 @@ view__45->addView(view__50);
ValueMenu* const view__51 = createValueMenu(CRect(195, 60, 255, 85), kTagSetPreloadSize, "", kCenterText, 12); ValueMenu* const view__51 = createValueMenu(CRect(195, 60, 255, 85), kTagSetPreloadSize, "", kCenterText, 12);
preloadSizeSlider_ = view__51; preloadSizeSlider_ = view__51;
view__45->addView(view__51); view__45->addView(view__51);
TitleGroup* const view__52 = createTitleGroup(CRect(200, 159, 590, 279), -1, "Tuning", kCenterText, 12); TitleGroup* const view__52 = createTitleGroup(CRect(200, 161, 590, 261), -1, "Tuning", kCenterText, 12);
view__44->addView(view__52); view__44->addView(view__52);
ValueLabel* const view__53 = createValueLabel(CRect(125, 20, 205, 45), -1, "Root key", kCenterText, 12); ValueLabel* const view__53 = createValueLabel(CRect(125, 20, 205, 45), -1, "Root key", kCenterText, 12);
view__52->addView(view__53); view__52->addView(view__53);