2010-01-24 22:54:32 +01:00
# data file for the Fltk User Interface Designer (fluid)
2012-02-29 06:24:51 +01:00
version 1.0300
2010-02-02 04:54:09 +01:00
header_name {.H}
2010-01-24 22:54:32 +01:00
code_name {.C}
2012-02-29 06:24:51 +01:00
decl {\#include <FL/Fl.H>} {private local
}
2010-01-24 22:54:32 +01:00
2012-02-29 06:24:51 +01:00
decl {\#include <FL/Fl_Shared_Image.H>} {private local
}
2010-01-24 22:54:32 +01:00
2012-02-29 06:24:51 +01:00
decl {\#include <FL/filename.H>} {private local
}
2010-01-24 22:54:32 +01:00
Function {open_url( const char *url )} {open return_type void
} {
2012-03-14 13:28:29 +01:00
code {fl_open_uri( url );} {}
2010-02-02 04:54:09 +01:00
}
2010-01-24 22:54:32 +01:00
class About_Dialog {open
} {
2013-04-14 06:41:39 +02:00
Function {About_Dialog( const char *logo_filename )} {open
2013-04-12 01:37:10 +02:00
} {
2013-04-14 06:41:39 +02:00
code {make_window( logo_filename );} {}
2010-01-24 22:54:32 +01:00
}
2013-04-12 01:37:10 +02:00
Function {run()} {open return_type void
2010-01-24 22:54:32 +01:00
} {
code {window->show();
while ( window->shown() )
Fl::wait();
2010-01-26 07:49:59 +01:00
2010-01-24 22:54:32 +01:00
delete window;} {}
}
2013-04-14 06:41:39 +02:00
Function {make_window( const char *logo_filename )} {open private
2010-01-24 22:54:32 +01:00
} {
Fl_Window window {
label About
callback {o->hide();
if ( logo_box->image() )
{
((Fl_Shared_Image*)logo_box->image())->release();
logo_box->image( 0 );
2013-04-12 01:37:10 +02:00
}} open selected
private xywh {879 215 560 695} type Double
2013-04-14 06:41:39 +02:00
visible
2010-01-24 22:54:32 +01:00
} {
Fl_Tabs {} {open
2012-02-29 06:24:51 +01:00
xywh {0 352 558 296}
2010-01-24 22:54:32 +01:00
} {
Fl_Group {} {
label Credits open
2012-02-29 06:24:51 +01:00
xywh {2 386 553 261}
2010-01-24 22:54:32 +01:00
} {
2010-02-02 04:54:09 +01:00
Fl_Box credits {
2013-04-14 06:41:39 +02:00
label {}
2012-02-29 06:24:51 +01:00
xywh {5 389 545 249} box ROUNDED_BOX color 46 labelsize 18
2010-01-24 22:54:32 +01:00
}
}
Fl_Group {} {
label License open
2012-02-29 06:24:51 +01:00
xywh {2 378 553 268} hide
2010-01-24 22:54:32 +01:00
} {
2010-02-02 04:54:09 +01:00
Fl_Box copyright {
label COPYRIGHT
2012-02-29 06:24:51 +01:00
xywh {43 389 462 22} labeltype SHADOW_LABEL labelfont 1 labelsize 18
2010-01-24 22:54:32 +01:00
}
Fl_Box {} {
label {This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.}
2012-02-29 06:24:51 +01:00
xywh {10 414 535 225} box ROUNDED_BOX color 46 labelfont 1 labelsize 12 labelcolor 53 align 144
2010-01-24 22:54:32 +01:00
}
}
}
Fl_Box logo_box {
2013-04-12 01:37:10 +02:00
label VERSION
2012-02-29 06:24:51 +01:00
xywh {5 5 550 305} color 48 labelfont 1 labelsize 18 align 16
code0 {o->image( Fl_Shared_Image::get( logo_filename ) );}
2010-01-24 22:54:32 +01:00
code1 {o->label( VERSION );}
}
Fl_Return_Button {} {
label Rock
callback {o->window()->do_callback();}
2012-02-29 06:24:51 +01:00
xywh {400 660 76 30}
2010-01-24 22:54:32 +01:00
}
2010-02-02 04:54:09 +01:00
Fl_Button website_url {
2010-01-24 22:54:32 +01:00
label {http://non-daw.tuxfamily.org}
callback {open_url( o->label() );}
2012-02-29 06:24:51 +01:00
xywh {125 660 245 30} color 14 labeltype SHADOW_LABEL labelcolor 6
2010-01-24 22:54:32 +01:00
}
2010-02-02 04:54:09 +01:00
Fl_Box title {
label TITLE
2012-02-29 06:24:51 +01:00
xywh {5 317 545 29} labeltype SHADOW_LABEL labelfont 3 labelsize 17
2010-01-24 22:54:32 +01:00
}
}
}
2010-02-02 04:54:09 +01:00
}