Mixer: Clean up strip layout.
This commit is contained in:
parent
b531769184
commit
cbf7df0e0d
|
@ -281,7 +281,7 @@ Controller_Module::connect_spatializer_to ( Module *m )
|
|||
o->labelcolor(FL_FOREGROUND_COLOR);
|
||||
o->align(FL_ALIGN_TOP);
|
||||
o->when(FL_WHEN_CHANGED);
|
||||
o->label( "Spatialization" );
|
||||
label( "Spatialization" );
|
||||
|
||||
o->align(FL_ALIGN_TOP);
|
||||
o->labelsize( 10 );
|
||||
|
|
|
@ -303,10 +303,12 @@ Mixer_Strip::set_spatializer_visibility ( void )
|
|||
if ( fader_tab->visible() && spatialization_controller->is_controlling() )
|
||||
{
|
||||
spatialization_controller->show();
|
||||
spatialization_label->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
spatialization_controller->hide();
|
||||
spatialization_label->hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -471,7 +473,7 @@ Mixer_Strip::init ( )
|
|||
o->resizable(0);
|
||||
o->end();
|
||||
}
|
||||
{ Fl_Scalepack* o = new Fl_Scalepack(2, 135, 105, 315 );
|
||||
{ Fl_Scalepack* o = new Fl_Scalepack(2, 135, 105, 311 );
|
||||
// o->box( FL_BORDER_BOX );
|
||||
// o->color( FL_RED );
|
||||
o->spacing( 20 );
|
||||
|
@ -505,17 +507,18 @@ Mixer_Strip::init ( )
|
|||
/* { Fl_Pack *o = panner_pack = new Fl_Pack( 2, 465, 114, 40 ); */
|
||||
/* o->spacing( 2 ); */
|
||||
/* o->type( Fl_Pack::VERTICAL ); */
|
||||
{ Fl_Box *o = new Fl_Box( 0, 0, 100, 12 );
|
||||
{ Fl_Box *o = spatialization_label = new Fl_Box( 0, 0, 100, 12 );
|
||||
o->align( (Fl_Align)(FL_ALIGN_BOTTOM | FL_ALIGN_INSIDE) );
|
||||
o->labelsize( 10 );
|
||||
// o->label( "Spatialization" );
|
||||
o->hide();
|
||||
o->label( "Spatialization" );
|
||||
}
|
||||
{ Controller_Module *o = spatialization_controller = new Controller_Module( true );
|
||||
o->hide();
|
||||
o->label( 0 );
|
||||
o->pad( false );
|
||||
o->size( 100, 100 );
|
||||
}
|
||||
|
||||
/* o->end(); */
|
||||
/* } */
|
||||
o->end();
|
||||
|
|
|
@ -103,6 +103,7 @@ private:
|
|||
|
||||
Chain *_chain;
|
||||
|
||||
Fl_Box *spatialization_label;
|
||||
Controller_Module *gain_controller;
|
||||
Controller_Module *jack_input_controller;
|
||||
Controller_Module *spatialization_controller;
|
||||
|
|
Loading…
Reference in New Issue