@@ -18,9 +18,9 @@ Function {open_url( const char *url )} {open return_type void | |||||
class About_Dialog {open | class About_Dialog {open | ||||
} { | } { | ||||
Function {About_Dialog( const char *logo_filename, const char *xclass )} {open | |||||
Function {About_Dialog( const char *logo_filename )} {open | |||||
} { | } { | ||||
code {make_window( logo_filename, xclass );} {} | |||||
code {make_window( logo_filename );} {} | |||||
} | } | ||||
Function {run()} {open return_type void | Function {run()} {open return_type void | ||||
} { | } { | ||||
@@ -31,7 +31,7 @@ while ( window->shown() ) | |||||
delete window;} {} | delete window;} {} | ||||
} | } | ||||
Function {make_window( const char *logo_filename, const char *xclass )} {open private | |||||
Function {make_window( const char *logo_filename )} {open private | |||||
} { | } { | ||||
Fl_Window window { | Fl_Window window { | ||||
label About | label About | ||||
@@ -43,7 +43,7 @@ if ( logo_box->image() ) | |||||
logo_box->image( 0 ); | logo_box->image( 0 ); | ||||
}} open selected | }} open selected | ||||
private xywh {879 215 560 695} type Double | private xywh {879 215 560 695} type Double | ||||
code0 {o->xclass( xclass );} visible | |||||
visible | |||||
} { | } { | ||||
Fl_Tabs {} {open | Fl_Tabs {} {open | ||||
xywh {0 352 558 296} | xywh {0 352 558 296} | ||||
@@ -53,14 +53,7 @@ if ( logo_box->image() ) | |||||
xywh {2 386 553 261} | xywh {2 386 553 261} | ||||
} { | } { | ||||
Fl_Box credits { | Fl_Box credits { | ||||
label {Non-DAW was written from scratch by | |||||
Jonathan Moore Liles for his own use | |||||
(see the manual). | |||||
Nobody planned. Nobody helped. | |||||
You can help now by donating time, money, | |||||
and/or replacing the rest of Linux Audio | |||||
with fast, light, reliable alternatives.} | |||||
label {} | |||||
xywh {5 389 545 249} box ROUNDED_BOX color 46 labelsize 18 | xywh {5 389 545 249} box ROUNDED_BOX color 46 labelsize 18 | ||||
} | } | ||||
} | } | ||||
@@ -55,7 +55,7 @@ while ( _window->shown() ) | |||||
} { | } { | ||||
Fl_Window _window { | Fl_Window _window { | ||||
label {New Project} open | label {New Project} open | ||||
xywh {762 252 550 195} type Double hide modal xclass Non_DAW | |||||
xywh {762 252 550 195} type Double hide modal | |||||
} { | } { | ||||
Fl_File_Input _name { | Fl_File_Input _name { | ||||
label {Named:} | label {Named:} | ||||
@@ -313,7 +313,7 @@ void Mixer::cb_menu(Fl_Widget* o) { | |||||
} | } | ||||
else if ( ! strcmp( picked, "&Help/&About" ) ) | else if ( ! strcmp( picked, "&Help/&About" ) ) | ||||
{ | { | ||||
About_Dialog ab( PIXMAP_PATH "/non-mixer/icon-256x256.png", APP_NAME ); | |||||
About_Dialog ab( PIXMAP_PATH "/non-mixer/icon-256x256.png" ); | |||||
ab.logo_box->label( VERSION ); | ab.logo_box->label( VERSION ); | ||||
@@ -1232,7 +1232,7 @@ config.follow_playhead = val ? true : false;} | |||||
} | } | ||||
MenuItem {} { | MenuItem {} { | ||||
label {&About} | label {&About} | ||||
callback {About_Dialog ab( PIXMAP_PATH "/non-sequencer/icon-256x256.png", APP_NAME ); | |||||
callback {About_Dialog ab( PIXMAP_PATH "/non-sequencer/icon-256x256.png" ); | |||||
ab.logo_box->label( VERSION ); | ab.logo_box->label( VERSION ); | ||||
@@ -627,18 +627,17 @@ timeline->redraw();} | |||||
} | } | ||||
MenuItem {} { | MenuItem {} { | ||||
label {&About} | label {&About} | ||||
callback {About_Dialog ab( PIXMAP_PATH "/non-timeline/icon-256x256.png", "Non-Timeline" ); | |||||
callback {About_Dialog ab( PIXMAP_PATH "/non-timeline/icon-256x256.png" ); | |||||
ab.logo_box->label( VERSION ); | ab.logo_box->label( VERSION ); | ||||
ab.title->label( "Non Timeline" ); | ab.title->label( "Non Timeline" ); | ||||
ab.copyright->label( "Copyright (C) 2008-2010 Jonathan Moore Liles" ); | |||||
ab.copyright->label( "Copyright (C) 2008-2013 Jonathan Moore Liles" ); | |||||
ab.credits->label( "Non Timeline was written from scratch by\\nJonathan Moore Liles for his own use\\n(see the manual).\\n\\nNobody planned. Nobody helped.\\nYou can help now by donating time, money,\\nand/or replacing the rest of Linux Audio\\nwith fast, light, reliable alternatives.\\n" ); | ab.credits->label( "Non Timeline was written from scratch by\\nJonathan Moore Liles for his own use\\n(see the manual).\\n\\nNobody planned. Nobody helped.\\nYou can help now by donating time, money,\\nand/or replacing the rest of Linux Audio\\nwith fast, light, reliable alternatives.\\n" ); | ||||
ab.website_url->label( "http://non.tuxfamily.org" ); | ab.website_url->label( "http://non.tuxfamily.org" ); | ||||
ab.run();} | ab.run();} | ||||
xywh {5 5 40 25} | xywh {5 5 40 25} | ||||
} | } | ||||
@@ -1006,7 +1005,7 @@ if ( logo_box->image() ) | |||||
logo_box->image( NULL ); | logo_box->image( NULL ); | ||||
}} open | }} open | ||||
private xywh {1189 128 520 775} type Double | private xywh {1189 128 520 775} type Double | ||||
code0 {o->xclass( APP_NAME );} modal visible | |||||
modal visible | |||||
} { | } { | ||||
Fl_Value_Output {} { | Fl_Value_Output {} { | ||||
label {Sample Rate} | label {Sample Rate} | ||||
@@ -1041,7 +1040,7 @@ if ( logo_box->image() ) | |||||
Fl_Box logo_box { | Fl_Box logo_box { | ||||
label {<LOGO>} | label {<LOGO>} | ||||
private xywh {20 173 485 268} color 53 labelfont 1 labelsize 18 align 16 | private xywh {20 173 485 268} color 53 labelfont 1 labelsize 18 align 16 | ||||
code0 {o->image( Fl_Shared_Image::get( PIXMAP_PATH "non-timeline/icon-256x256.png" ) );} | |||||
code0 {o->image( Fl_Shared_Image::get( PIXMAP_PATH "/non-timeline/icon-256x256.png" ) );} | |||||
code1 {o->label( NULL );} | code1 {o->label( NULL );} | ||||
} | } | ||||
Fl_Text_Editor notes_field { | Fl_Text_Editor notes_field { | ||||