Commit Graph

53 Commits

Author SHA1 Message Date
Albrecht Schlosser
00dd296ff2 Bump version numbers for next minor release: FLTK 1.4.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-30 00:56:42 +00:00
Albrecht Schlosser
c9d8e0feaa Update fluid .fl files and generated code - remove trailing white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09 02:09:33 +00:00
Albrecht Schlosser
d6bcdbe375 Remove useless cast that would break Windows 64-bit compilation.
This cast broke Windows 64-bit compilation with a hard error.
$ x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 4.8.3
Error message:
widget_panel.cxx:82:41: error: cast from ‘void*’ to ‘long int’ loses precision [-fpermissive]
 wCallback->do_callback(wCallback, (long)v);
                                         ^


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-03 16:15:14 +00:00
Matthias Melcher
d5a8755ead Added comments to Fluid Widgets. The comment field is between the Additional Code and Callback field on the C++ Tab of the Widget Editor. Care was taken to correctly resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-02 17:19:33 +00:00
Albrecht Schlosser
0f45a7adf5 [Version 1.3.4] Update version numbers - hopefully complete.
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 01:41:55 +00:00
Albrecht Schlosser
aef482198e Bump version numbers to 1.3.3.
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ
somehow, but there are no significant changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 00:03:27 +00:00
Greg Ercolano
2c820fd53d Fixes for STR#3085; fluid UI layout clipping issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-17 20:46:25 +00:00
Greg Ercolano
4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Greg Ercolano
4327734e69 More copyright 2010 mods.
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Matthias Melcher
2fe7eabb62 Completed the alignment pulldown menus for all new alignment styles. Hope you guys like it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-10 22:16:55 +00:00
Matthias Melcher
927fd35165 Added new label alignments for image and text to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 22:18:05 +00:00
Greg Ercolano
fa53716876 Added extra tooltip indicating Ctrl-J can be used to create
newlines in properties editor fields for Label: and Tooltip:.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-25 20:42:42 +00:00
Matthias Melcher
167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher
e8f467b9e3 Updating fl_utf8.h references. Fixing copyright date in .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 17:40:20 +00:00
Matthias Melcher
a1f96ffea0 STR #1776: FLUID now tries to find a previously declared callback to avoid declaring one as 'extern'. I also replaced many 'public' Light_Buttons with pulldown menus which offer either 'local'/'global', or 'private'/'public'/'protected', depending if the item is outside or inside a class. I took great care to make this change transparent to previous .fl files. Downward compatibility is only problematic if the new 'protected' keyword is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04 21:45:49 +00:00
Michael R Sweet
b4c1d3ef03 Implement new "gtk+" scheme which provides a Bluecurve look-n-feel.
Fix size and position of dialog controls in FLUID to match the HIG.

Add "GTK+" scheme to the list of selectable schemes in FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 14:58:25 +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
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
Matthias Melcher
74fe8ccdf2 Typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24 13:47:48 +00:00
Michael R Sweet
1db26430c2 Fix widget spacing to conform to the HIG.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24 11:40:23 +00:00
Matthias Melcher
cd1de720b7 FLUID now knows if a static callback is already declared in a class and won't declare it 'extern' (STR #776)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23 11:28:13 +00:00
Matthias Melcher
6bd434fe47 #959: outside labels in fluid moved, so that they refresh correctly even when previously clipped. Remove superfluous grouping. Using contrasting color for label of selected Tabs. MUST GET 1.1.7 OUT SOON! ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 11:33:12 +00:00
Matthias Melcher
78e4274963 Added support for Fl_Window::size_range() in FLUID. There are no UI elements for increment or aspect ratio.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 23:07:20 +00:00
Matthias Melcher
7f526e1362 - Fixed Fl_Bitmap::copy code according to Stephans suggestions. Thanks! Good catch.
- Fixed some minor alignment in Fluid.
- Live Mode window in Fluid is now double buffered to get rid of flicker.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14 13:16:17 +00:00
Matthias Melcher
8461a157e4 Added the first implementation of "live mode" to Fluid. This is incomplete and mostly untested, but it seems to be a great help to figure out the darned wonderful resize behavior. I apologize for typos, no time to compile on Linux. Please feed back.
More details in the developers mailing list.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-08 14:12:00 +00:00
Matthias Melcher
107304f75f Made all menu items fit into Fluid dialog Widget Properties/GUI/Label
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30 06:50:01 +00:00
Matthias Melcher
0132f4f8fd Fluid panel resize and alignment fixes (STR #891).
Everything should resize nicely now. All Widgets have been realigned. Hope you guys like it... .

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29 22:28:13 +00:00
Michael R Sweet
8a275b2985 FLUID wasn't tracking all changes on the widget panel, so undo and save stuff
didn't work if you just changed colors, etc.

Use blue selection color for tabs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-21 19:03:46 +00:00
Michael R Sweet
e852b736ad Initial integration with editor-based CodeEditor class (only the widget
callback editor right now)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-21 06:28:30 +00:00
Michael R Sweet
b0f0910f79 Widget panel has "Close" instead of "OK" button.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 08:41:51 +00:00
Michael R Sweet
81bd60b47d More UI cleanup.
fluid/*.fl:
    - Go through all of the UIs and make sure they conform to the
      UI guidelines.

fluid/fluid.cxx:
    - Change fl_ask() and fl_choice() to use the "Save"/"Don't
      Save" and similar button labels instead of "Yes" and "No",
      per UI guidelines.

fluid/factory.cxx:
fluid/Fl_Type.h:
    - Make sure that widget and type names are capitalized.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 08:38:21 +00:00
Michael R Sweet
a218f44b5d Bug fixes and UI tweaking...
src/Fl_Menu_.cxx:
    - Fl_Menu_::find_item(): wasn't checking for a non-NULL label()...

fluid/alignment_panel.*:
fluid/widget_panel.*:
    - Use small controls, normalize layout.
    - Add FLTK header/footer comments.

fluid/Fluid_Image.cxx:
    - Use relative paths for images.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-18 06:29:11 +00:00
Michael R Sweet
f00f9c7422 Update widget panel so that the "GUI" tab is shown first.
Clean up implementation of guide lines and snapping - now does horizontal
*and* vertical snapping/spacing, nicer drawing of width/height lines,
eliminated space width since we're always doing 10 pixels, and delay
drawing of bounding box until the end so that snap adjustments are reflected
in the display.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-07 16:55:34 +00:00
Michael R Sweet
696e2d3219 - Moving or resizing widgets in FLUID didn't always update the
widget panel (STR #600)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 15:42:25 +00:00
Michael R Sweet
29019ade40 Hide cancel/revert buttons until a true undo can be implemented.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 04:29:40 +00:00
Michael R Sweet
a5cb29da1c Check syntax of callback only on release, not on change.
Update announcement for 1.1.4rc1.

Add 1.1.4rc1 to version list in STR form.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 16:12:39 +00:00
Michael R Sweet
216453a981 Fix widget callback code error check and assignment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 01:16:41 +00:00
Michael R Sweet
24f57a7aea Make sure that the GUI tab shows first.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-04 00:34:44 +00:00
Michael R Sweet
7c32cfaee9 Sort widgets in the widget panel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-04 00:24:19 +00:00
Matthias Melcher
fcb49a7b13 Fl_Text_Display/Editor would not receive FL_FOCUS events on mouse clicks
which resulted in not showing the insertion cursor.
Fluid would not register changes to Fl_Text_Editor widgets unless Enter
was pressed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-26 01:15:32 +00:00
Michael R Sweet
81147753d1 Only set the callback when the text is changed; otherwise when you set
the properties of multiple widgets, the callbacks will be changed for
all of the widgets...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-23 06:47:36 +00:00
Matthias Melcher
66dabdb8f5 Added callbacks to Fl_Text_Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05 06:45:41 +00:00
Matthias Melcher
b9e7232d26 Set Fl_Text_Editor fields to Courier font for easier programming
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-03 04:50:54 +00:00
Matthias Melcher
c3de2a22c0 Replaced 'callback' and 'code' input in FLUID with Fl_Text_Editor.
Made widget pannel resize only text fields (which I see as the
logical way to do it. Opinions welcome).

 Matthias


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-03 00:01:21 +00:00
Michael R Sweet
b40f5fb69e Documentation updates.
Bump version to 1.1.1.

Fix "no change" button in FLUID.

Set dirty flag when changing nodes in Fl_Preferences.

Add the extra include dir options when doing "fltk-config --compile foo.cxx".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:19:22 +00:00
Michael R Sweet
6592f0919b Fix widget width tooltip and default parameter handling code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 23:32:25 +00:00
Michael R Sweet
72b56edc29 Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff.

Fix write_properties so it writes tooltips properly from FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 22:59:45 +00:00
Michael R Sweet
4c97599917 Enable all of the new FLUID stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 06:20:15 +00:00
Michael R Sweet
50fc2f4806 Widget panel update with tabs (a la 2.0) with new tooltip, image, and
position/size widgets.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 03:36:27 +00:00
Michael R Sweet
a73c7f58e6 Documentation updates for 1.0.8.
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent,
Courier font for code, etc.)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-03-15 18:57:07 +00:00