Browse Source

Minor costmetic cleanup.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
28d1b4754b
5 changed files with 7 additions and 8 deletions
  1. +1
    -1
      Timeline/Ruler_Sequence.H
  2. +1
    -2
      Timeline/Sequence.C
  3. +1
    -1
      Timeline/Tempo_Sequence.H
  4. +1
    -1
      Timeline/Time_Sequence.H
  5. +3
    -3
      Timeline/Timeline.C

+ 1
- 1
Timeline/Ruler_Sequence.H View File

@@ -30,7 +30,7 @@ public:


Ruler_Sequence ( int X, int Y, int W, int H ) : Sequence ( X, Y, W, H ) Ruler_Sequence ( int X, int Y, int W, int H ) : Sequence ( X, Y, W, H )
{ {
box( FL_UP_BOX );
// box( FL_UP_BOX );
} }


void void


+ 1
- 2
Timeline/Sequence.C View File

@@ -38,8 +38,7 @@ Sequence::Sequence ( int X, int Y, int W, int H, Track *track ) : Fl_Widget( X,
/* if ( track ) */ /* if ( track ) */
/* track->add( this ); */ /* track->add( this ); */


// box( FL_DOWN_BOX );
box( FL_CRYSTAL_DOWN_BOX );
box( FL_DOWN_BOX );
color( fl_darker( FL_GRAY ) ); color( fl_darker( FL_GRAY ) );
align( FL_ALIGN_LEFT ); align( FL_ALIGN_LEFT );




+ 1
- 1
Timeline/Tempo_Sequence.H View File

@@ -31,7 +31,7 @@ public:


Tempo_Sequence ( int X, int Y, int W, int H ) : Sequence ( X, Y, W, H ) Tempo_Sequence ( int X, int Y, int W, int H ) : Sequence ( X, Y, W, H )
{ {
box( FL_UP_BOX );
// box( FL_DOWN_BOX );
} }


float float


+ 1
- 1
Timeline/Time_Sequence.H View File

@@ -32,7 +32,7 @@ public:


Time_Sequence ( int X, int Y, int W, int H ) : Sequence ( X, Y, W, H ) Time_Sequence ( int X, int Y, int W, int H ) : Sequence ( X, Y, W, H )
{ {
box( FL_UP_BOX );
// box( FL_UP_BOX );
} }


time_sig time_sig


+ 3
- 3
Timeline/Timeline.C View File

@@ -117,7 +117,7 @@ Timeline::Timeline ( int X, int Y, int W, int H, const char* L ) : Fl_Overlay_Wi
{ {
Tempo_Sequence *o = new Tempo_Sequence( 0, 0, 800, 24 ); Tempo_Sequence *o = new Tempo_Sequence( 0, 0, 800, 24 );


o->color( FL_RED );
o->color( fl_gray_ramp( 18 ) );


o->label( "Tempo" ); o->label( "Tempo" );
o->align( FL_ALIGN_LEFT ); o->align( FL_ALIGN_LEFT );
@@ -128,7 +128,7 @@ Timeline::Timeline ( int X, int Y, int W, int H, const char* L ) : Fl_Overlay_Wi
{ {
Time_Sequence *o = new Time_Sequence( 0, 24, 800, 24 ); Time_Sequence *o = new Time_Sequence( 0, 24, 800, 24 );


o->color( fl_color_average( FL_RED, FL_WHITE, 0.50f ) );
o->color( fl_gray_ramp( 16 ) );


o->label( "Time" ); o->label( "Time" );
o->align( FL_ALIGN_LEFT ); o->align( FL_ALIGN_LEFT );
@@ -139,7 +139,7 @@ Timeline::Timeline ( int X, int Y, int W, int H, const char* L ) : Fl_Overlay_Wi
{ {
Ruler_Sequence *o = new Ruler_Sequence( 0, 24, 800, 24 ); Ruler_Sequence *o = new Ruler_Sequence( 0, 24, 800, 24 );


o->color( FL_GREEN );
o->color( fl_gray_ramp( 'F' ) );


o->label( "Ruler" ); o->label( "Ruler" );
o->align( FL_ALIGN_LEFT ); o->align( FL_ALIGN_LEFT );


Loading…
Cancel
Save