Michael R Sweet
d9eecaf4ab
Fix problems with new FLUID output, add common to closing braces to show
...
what widget is being closed, and bump the version number to 1.1.8 in the
repo...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-27 19:26:11 +00:00
Michael R Sweet
0043e7a44d
Fix return of window widget - use "w" or the name of the window, as
...
appropriate.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 23:27:32 +00:00
Michael R Sweet
7e3daaf145
Update copyrights on changed files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:53:19 +00:00
Michael R Sweet
500d7616fd
Revamp variable tests so that we rarely need to provide "o" and
...
"w" variables. This eliminates most of the "variable is shadowed"
warnings from GCC we get after creating .cxx files from FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:52:28 +00:00
Michael R Sweet
58699112db
Fix use of LDFLAGS and make install depend on all target...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-25 19:06:56 +00:00
Matthias Melcher
05bd3ade18
Added support for floating point Fl_Spinner
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-22 07:35:39 +00:00
Matthias Melcher
77a20dbef3
STR #1280 : added support for assigning Fl_Menu_Items to array variables in Fluid
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-20 10:18:49 +00:00
Michael R Sweet
eea2b38b34
Add --with-archflags option to configure script, and use it in the right
...
places.
Update changes file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 18:29:31 +00:00
Matthias Melcher
11de032d6d
If the value field for scrollbars was not zero, Fluid would generate code that accesses the hidden function Fl_Scrollbar::value(double), causing a compile time error. The fix circumevents the hidden function by calling Fl_Slider::value. It would be better to change the entire Fluid interface to reflect the Scrollbar interface.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:34:19 +00:00
Matthias Melcher
0148f1cfd0
Mark a FLUID Project as "modified" when the user changes the visible Tab widget because that change will reflect in the generated source code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:08:48 +00:00
Matthias Melcher
0728999a83
Loading a file would not update the Widget Propertis dialog in FLUID (STR #1326 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:01:01 +00:00
Matthias Melcher
d814fce94d
- In Fluid, declarations starting with the keyword
...
'typedef', 'class', or 'struct' are now treated
correctly if inside a class (STR #1283 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-28 15:59:29 +00:00
Matthias Melcher
92d0163f40
Declarations in Fluid can now explicitly be made non-static or non-extern. This allows the declaration of types like 'enum'
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-18 14:40:10 +00:00
Matthias Melcher
cdc1d7d5e3
Fixed FLUID undo. Thanks Fabien fr finding this.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 18:12:05 +00:00
Matthias Melcher
8e37fbafc8
STR #1187 : Fixed missing reset of flag in FLUID
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:50:44 +00:00
Matthias Melcher
4e038ef82b
STR #1169 : Fixed 'make distclean' to remove binaries inside MacOS app packages
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:10:00 +00:00
Matthias Melcher
d90102f9d2
Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:00:41 +00:00
Matthias Melcher
f74a812003
STR #1158 : Fl_Spinner is now fully supported by Fluid. Previously, min, max, step and value could not be edited the usual way because spinner is derived from Fl_Group, not Fl_Valuator...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 22:47:59 +00:00
Michael R Sweet
e6bbd2d525
Update copyrights.
...
Also check for feof() when the character returned by getc is < 0
to work around a bug in Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 19:00:08 +00:00
Michael R Sweet
e976174d61
FLUID didn't handle loading .fl files with international
...
characters properly with all compilers (STR #1150 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:22:06 +00:00
Michael R Sweet
1a12cf01d2
Update Linux desktop files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:44:00 +00:00
Michael R Sweet
9b12d18155
Update EPM list file and OSX icon for FLUID.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 20:05:11 +00:00
Michael R Sweet
f20fc63567
Fix OSX make and install stuff.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:26:08 +00:00
Michael R Sweet
d4713f59c5
Add OSX application stuff for FLUID.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 19:14:04 +00:00
Michael R Sweet
61b86ce0e5
More packaging fun (games package to "advertise" FLTK...)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet
464c2f4a5e
Separate the desktop install/uninstall stuff so that users that don't
...
want desktop integration (or don't have root access) will be able to
install/uninstall.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 15:15:34 +00:00
Michael R Sweet
45ff3267cd
Fix installation of Linux desktop files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:25:44 +00:00
Michael R Sweet
887a458227
Work on Linux and OSX desktop integration stuff via make install and
...
packaging via EPM.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet
f7305675c4
More copyright updates.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:26:54 +00:00
Matthias Melcher
0ea6761db2
- Fixed keyboard shortcut handling in FLUID and shortcut
...
labeling in FLTK (STR #1129 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 14:11:04 +00:00
Matthias Melcher
d3db965083
Fixed a few memory faults found by Valgrind (yes, I finally got my Linux
...
machine up and running again)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 10:13:17 +00:00
Matthias Melcher
3a635d7884
STR #1046 : Fl_Window does not directly support a background image in FLTK 1.1.6 because those images are overwritten by Fl_Window::show() anyways. FLUID now grays out the unused "image" and "inactive image" input fields.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 15:33:47 +00:00
Michael R Sweet
f3182417c0
Update dependencies.
...
Eliminate compiler warnings in Fl_GIF_Image.cxx.
Add X11 icon code to sudoku example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27 15:05:50 +00:00
Michael R Sweet
e321cb37bf
VC++ 2005 Support, drop old files, add icons for Sudoku
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27 14:45:48 +00:00
Matthias Melcher
79015a71f7
FLUID1: correctly hide the "X Class:" label whenever the XClass input field is hidden
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 15:21:26 +00:00
Matthias Melcher
7f6bacf237
FLUID1: The comment entry in the Browser now reveals some more information by showing multiple lines up to 50 characters. Also, a change just to make sure our Code View won't harm.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 15:16:24 +00:00
Michael R Sweet
fa517add2e
Clear style buffer in destructor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-04 02:34:33 +00:00
Michael R Sweet
309e21c9fd
Fix new GUI panels to conform to HIG.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03 22:16:52 +00:00
Matthias Melcher
1b43ec7690
Added some safety measures that assure safe compile only mode
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03 21:04:18 +00:00
Matthias Melcher
1a5288e8fe
Fluid Source Code preview panel with automatic refresh and selected object code highlighting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-03 20:43:19 +00:00
Michael R Sweet
5cdf984737
Remove DOS line endings from text files.
...
Make sure that all files have the proper MIME type and eol-style properties
set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02 19:06:55 +00:00
Matthias Melcher
cddb39a066
STR #1052 : Updated FLUID to generate buttons in the correct colors. After all these changes, it may be useful to rebuild all cxx files from fl files. This will make sure that menu items are rendered in foreground color instead of simply black
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02 13:55:13 +00:00
Michael R Sweet
067d1d8a61
Updated the default label and text colors of all widgets to use
...
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-30 17:42:21 +00:00
Matthias Melcher
77484a4e2d
FLUID writes RGB and Bitmap image data as an array of decimal numbers instead of a string since "a certain compiler by a large operating system vendor which shall remain unnamed" can not handle long strings and produces heap overflows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-26 09:08:01 +00:00
Matthias Melcher
3e9b10363d
STR #1027 : FLUID size_range controls would not set the 'modified' flag
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24 20:41:03 +00:00
Matthias Melcher
55380298b5
Fix to ambigous function call in my previous FLUID changes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09 18:44:41 +00:00
Matthias Melcher
576fd78bde
STR #985 : This is a medium size change in the way that FLUID manages widget label sizes. I moved the 'preset' functionality from the 'widget size' menu into the grid setting window. The menu now only changes selected widgets while the setting panel modifies newly created widgets. Settings are stored in the preferences.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09 11:36:36 +00:00
Matthias Melcher
022415c310
STR #1016 :
...
Fixed some more missing modification flag cases in FLUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-08 08:27:21 +00:00
Matthias Melcher
edcc1980a1
STR #1010 : if a widget callback is generated inside a widget class, the static callback uses the parent() function to find the 'this' pointer, instead of the 'user_data()' member, which would be NULL anyways
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-05 10:32:39 +00:00
Matthias Melcher
09783875e4
FLUD: This fixes the problem that the children of a Widget_Class_Type are positioned with absolute coordintes. The patch adds another button to the FLUID interface named 'Relative' to the right of the widget position. It is only visible if a Widget_Class_Type is selected. If checked, code will be added that creates an Fl_Group at 0, 0 and later repositions it and all its children into the final position.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30 21:57:23 +00:00