summaryrefslogtreecommitdiff
path: root/fluid/about_panel.fl
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2014-09-22 18:22:02 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2014-09-22 18:22:02 +0000
commitde3fd7574f7a9d71f0cf176d63ddc901a4deed8f (patch)
tree3d816306a6c910282e4976a8b50be5772a4088a1 /fluid/about_panel.fl
parentafb08c015d2c11bad8c1687cc2e98d58f2fff1d8 (diff)
Generate version number in fluid's about panel automatically.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/about_panel.fl')
-rw-r--r--fluid/about_panel.fl11
1 files changed, 7 insertions, 4 deletions
diff --git a/fluid/about_panel.fl b/fluid/about_panel.fl
index b2e4f8c58..7de8ae393 100644
--- a/fluid/about_panel.fl
+++ b/fluid/about_panel.fl
@@ -7,7 +7,7 @@ comment {//
//
// About dialog for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2014 by Bill Spitzak and others.
//
// 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
@@ -37,11 +37,14 @@ Function {make_about_panel()} {open
Fl_Box {} {
label {FLTK User
Interface Designer
-Version 1.3.2} selected
- xywh {135 10 200 70} color 12 selection_color 47 labelfont 1 labelsize 18 align 21
+Version x.x.x} selected
+ 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);}
}
Fl_Box {} {
- label {Copyright 1998-2010 by
+ label {Copyright 1998-2014 by
Bill Spitzak and others}
xywh {135 90 200 45} align 148
}