Commit Graph

26 Commits

Author SHA1 Message Date
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
Michael R Sweet b8d34c3d4b Lots of little GUI tweeks, capitalization changes, copyright update, etc.
git-svn-id: file:///fltk/svn/fltk/trunk@247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:59:41 +00:00
Michael R Sweet 5a632f4926 More #include and .C to .cxx changes...
git-svn-id: file:///fltk/svn/fltk/trunk@136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:52:17 +00:00
Michael R Sweet f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00