1998-10-06 22:21:25 +04:00
|
|
|
# data file for the Fltk User Interface Designer (fluid)
|
2016-01-30 03:56:42 +03:00
|
|
|
version 1.0400
|
2015-07-09 05:09:33 +03:00
|
|
|
header_name {.h}
|
2003-03-26 07:12:16 +03:00
|
|
|
code_name {.cxx}
|
2005-03-10 00:26:53 +03:00
|
|
|
comment {//
|
2005-03-17 10:11:57 +03:00
|
|
|
// About dialog for the Fast Light Tool Kit (FLTK).
|
2005-03-10 00:26:53 +03:00
|
|
|
//
|
2021-12-08 17:52:15 +03:00
|
|
|
// Copyright 1998-2021 by Bill Spitzak and others.
|
2005-03-10 00:26:53 +03:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
2005-03-10 00:26:53 +03:00
|
|
|
//
|
2020-04-06 20:57:27 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
2005-03-10 00:26:53 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-03-10 00:26:53 +03:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
2005-03-17 10:11:57 +03:00
|
|
|
//
|
2006-09-17 18:58:25 +04:00
|
|
|
} {in_source in_header
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|
2005-03-10 00:26:53 +03:00
|
|
|
|
2020-04-06 20:57:27 +03:00
|
|
|
decl {\#include <time.h>} {public global
|
|
|
|
}
|
|
|
|
|
2010-12-30 19:17:49 +03:00
|
|
|
decl {void show_help(const char *name);} {public local
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|
2002-01-01 18:11:33 +03:00
|
|
|
|
2013-02-20 14:27:47 +04:00
|
|
|
Function {make_about_panel()} {open
|
|
|
|
} {
|
2020-04-06 20:57:27 +03:00
|
|
|
code {static char cbuf[200] = "";
|
2021-12-11 05:33:25 +03:00
|
|
|
if (!cbuf[0]) {
|
|
|
|
time_t t = time(0);
|
|
|
|
struct tm *lt = localtime(&t);
|
|
|
|
sprintf(cbuf, "Copyright © 1998 - %d\\nby Bill Spitzak and others", lt->tm_year+1900);
|
|
|
|
}} {}
|
1998-10-06 22:21:25 +04:00
|
|
|
Fl_Window about_panel {
|
2024-04-19 15:30:47 +03:00
|
|
|
label {About FLUID} open
|
2023-01-21 19:27:58 +03:00
|
|
|
xywh {449 217 345 180} type Double color 50 selection_color 47 hotspot
|
|
|
|
code0 {\#include "../src/flstring.h"} non_modal visible
|
1998-10-06 22:21:25 +04:00
|
|
|
} {
|
2023-07-17 13:56:23 +03:00
|
|
|
Fl_Box {} {
|
2023-01-21 19:27:58 +03:00
|
|
|
image {icons/fluid.animated.gif} compress_image 1 xywh {10 10 115 120}
|
|
|
|
code0 {((Fl_Anim_GIF_Image*)(o->image()))->speed(0.5f);}
|
2005-03-19 11:38:21 +03:00
|
|
|
}
|
|
|
|
Fl_Box {} {
|
|
|
|
label {FLTK User
|
2005-03-10 15:23:43 +03:00
|
|
|
Interface Designer
|
2014-10-05 04:03:27 +04:00
|
|
|
Version x.x.x}
|
2014-09-22 22:22:02 +04:00
|
|
|
xywh {135 10 205 75} color 12 selection_color 47 labelfont 1 labelsize 18 align 21
|
|
|
|
code0 {char about[80]; // uses less than 60}
|
|
|
|
code1 {snprintf(about,sizeof(about),"FLTK User\\nInterface Designer\\nVersion %d.%d.%d",FL_MAJOR_VERSION,FL_MINOR_VERSION,FL_PATCH_VERSION);}
|
|
|
|
code2 {o->copy_label(about);}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
2005-03-19 11:38:21 +03:00
|
|
|
Fl_Box {} {
|
2020-04-06 20:57:27 +03:00
|
|
|
label {(Copyright)}
|
2021-12-08 17:52:15 +03:00
|
|
|
comment {Label edited dynamically:}
|
2010-12-30 19:17:49 +03:00
|
|
|
xywh {135 90 200 45} align 148
|
2020-04-06 20:57:27 +03:00
|
|
|
code0 {o->label(cbuf);}
|
2005-03-17 10:11:57 +03:00
|
|
|
}
|
|
|
|
Fl_Button {} {
|
|
|
|
label {View License...}
|
2023-01-21 19:27:58 +03:00
|
|
|
callback {show_help("license.html");}
|
2010-12-30 19:17:49 +03:00
|
|
|
xywh {115 145 123 25} labelcolor 136
|
2005-03-19 11:38:21 +03:00
|
|
|
}
|
|
|
|
Fl_Return_Button {} {
|
|
|
|
label Close
|
2021-12-13 20:02:27 +03:00
|
|
|
callback {((Fl_Window*)(o->parent()))->hide();}
|
2010-12-30 19:17:49 +03:00
|
|
|
xywh {250 145 83 25}
|
1998-10-06 22:21:25 +04:00
|
|
|
}
|
|
|
|
}
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|
2005-03-10 00:26:53 +03:00
|
|
|
|
2024-04-19 15:30:47 +03:00
|
|
|
data fluid_flow_chart_800_png {
|
|
|
|
comment {Embedded image for internal fluid.html web page.} selected public local filename {documentation/src/fluid_flow_chart_800.png}
|
2015-07-09 05:09:33 +03:00
|
|
|
}
|