Browse Source

TLE: clean up menubar.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
9f567c6966
1 changed files with 9 additions and 6 deletions
  1. +9
    -6
      Timeline/TLE.fl

+ 9
- 6
Timeline/TLE.fl View File

@@ -164,7 +164,7 @@ free( path );} {}
label Timeline open label Timeline open
xywh {225 89 1020 765} type Double resizable xclass Non_DAW visible xywh {225 89 1020 765} type Double resizable xclass Non_DAW visible
} { } {
Fl_Menu_Bar menubar {open selected
Fl_Menu_Bar menubar {open
xywh {0 0 1024 25} xywh {0 0 1024 25}
} { } {
Submenu {} { Submenu {} {
@@ -296,17 +296,17 @@ Loggable::compact();}
MenuItem {} { MenuItem {} {
label {&In} label {&In}
callback {timeline->zoom_in();} callback {timeline->zoom_in();}
xywh {20 20 40 25}
xywh {20 20 40 25} shortcut 0x2b
} }
MenuItem {} { MenuItem {} {
label {&Out} label {&Out}
callback {timeline->zoom_out();} callback {timeline->zoom_out();}
xywh {30 30 40 25}
xywh {30 30 40 25} shortcut 0x5f
} }
MenuItem {} { MenuItem {} {
label {&Fit} label {&Fit}
callback {timeline->zoom_fit();} callback {timeline->zoom_fit();}
xywh {10 10 40 25} divider
xywh {10 10 40 25} shortcut 0x3d divider
} }
MenuItem {} { MenuItem {} {
label {1 sec.} label {1 sec.}
@@ -645,7 +645,8 @@ if ( ! Project::open() )
find_item( m, "&Project/&Compact" )->deactivate(); find_item( m, "&Project/&Compact" )->deactivate();
find_item( m, "&Project/&Info" )->deactivate(); find_item( m, "&Project/&Info" )->deactivate();
find_item( m, "&Options/&Project/&Timeline" )->deactivate();
find_item( m, "&Options/&Project/&Timeline" )->deactivate();
find_item( m, "&Timeline" )->deactivate();


timeline->deactivate(); timeline->deactivate();
transport->deactivate(); transport->deactivate();
@@ -657,13 +658,15 @@ else
find_item( m, "&Project/&Info" )->activate(); find_item( m, "&Project/&Info" )->activate();


find_item( m, "&Options/&Project/&Timeline" )->activate(); find_item( m, "&Options/&Project/&Timeline" )->activate();
find_item( m, "&Timeline" )->activate();
timeline->activate(); timeline->activate();
transport->activate(); transport->activate();
} }


m->redraw(); m->redraw();
project_name->redraw();} {}
project_name->redraw();} {selected
}
} }
Function {update_progress( Fl_Progress *p, char *s, float v )} {open private return_type {static void} Function {update_progress( Fl_Progress *p, char *s, float v )} {open private return_type {static void}
} { } {


Loading…
Cancel
Save