Commit Graph

254 Commits

Author SHA1 Message Date
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
9c7ec90412 Fix open-documents callback stuff.
Add open documents callback to FLUID.

Add FLUID application to fltk.list file for packaging.

Add FLUID application icon and data files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-01 00:23:57 +00:00
Michael R Sweet
3bad53ae79 Fix STR #52 - Fl_Text_Editor didn't set changed() nor did it call callbacks
for composed characters.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:20:20 +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
8a2aa0a0d1 Add thin up box with plastic style.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-18 22:12:24 +00:00
Matthias Melcher
7903799bf2 - sorted fluid menu bar
- fixed some minor Valgrind memory checker complaints
- added conditional compile flag for OS X w/ MetroWerks compiler


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-03 04:28:15 +00:00
Michael R Sweet
cd339710f0 FLUID shell command patch from Erco.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01 19:58:08 +00:00
Michael R Sweet
29240895e2 Bump version number and copyright year in FLUID about panel...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-03-26 04:12:16 +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
fc22bc93a0 Support type qualifiers before a class name; this allows for things like
"FL_EXPORT Fl_File_Chooser"...

Update Fl_File_Chooser and Fl_Help_Dialog to use the new interface so
that we don't have to add FL_EXPORT every time we make a change...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-28 20:51:17 +00:00
Michael R Sweet
56b465073b Update dependencies and the change log.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:54:44 +00:00
Michael R Sweet
4bf5385fb1 Update Fl_Image and friends so that we don't need to include the
system headers (which unfortunately are not too friendly with other
code...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-10 19:29:09 +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
Michael R Sweet
4bf99bdfc6 Add space for icons to item_width(), otherwise the horizontal scrollbar
won't scroll far enough...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-19 18:41:15 +00:00
Michael R Sweet
0bd7960c79 Add CVS ignore file...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-14 15:07:45 +00:00
Michael R Sweet
f841b45087 Sigh...
Remove CR's from XPM files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-07 13:29:01 +00:00
Michael R Sweet
14e047cc0f Include stdlib.h, not the non-standard malloc.h header...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-07 03:34:49 +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
f3078e51e0 Fix widget construction code for custom/named widget classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 14:17:36 +00:00
Michael R Sweet
0ac9c36868 Move pixmaps to a subdirectory...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 01:42:51 +00:00
Michael R Sweet
0fdef4a820 Rename files with the correct filenames...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 01:26:35 +00:00
Michael R Sweet
da5525cfcb Don't allow multiple shell commands to run at the same time.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-01 00:32:05 +00:00
Matthias Melcher
f4a60090ba Added WidgetBin/ToolBox to fluid. Made fluid remember window
positions (only main and toolbox yet). Toolbox can be switched
off. Position remeber function can be switched off.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-31 18:49:05 +00:00
Matthias Melcher
270c364bb3 Fixed two little bugs for Fluid pixmaps on MacOS and Unix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 22:30:30 +00:00
Matthias Melcher
41d14b074b Added icons to Fluid's menu and object list.
Previous version is tagged in cvs with
'pre_fluid_icon_changes'.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 21:08:39 +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
b6e2aceb4a Fix the filename pattern in FLUID for images.
Better KDE installation directory detection at run-time.

Fix Fl_Preferences::entryExists().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03 15:23:46 +00:00
Bill Spitzak
cf16564eda Fluid treats any class name for the outer window that does not contain
the word "Window" as a group that needs a 4-element constructor.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-09 02:04:46 +00:00
Michael R Sweet
32b9640e1c Fixes from Matthew Morrise.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-04 20:33:18 +00:00
Michael R Sweet
886261af33 fl_register_images() was already getting called (two lines above), and
needs to be before the make_main_window() call to load the file icons.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-02 10:41:51 +00:00
Bill Spitzak
13dfd24a57 Small changes to images from Csaba Biegl <cbiegl@bellsouth.net>
Seems to work and enables all image formats to work in fluid.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-02 04:33:10 +00:00
Michael R Sweet
ab53ef9a44 Fix FLUID image problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-16 20:10:21 +00:00
Michael R Sweet
b2e9308751 More shadowed variables in FLUID, plus use snprintf, strlcpy, and strlcat.
Don't use extra warning flags for normal compiles.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09 22:57:00 +00:00
Michael R Sweet
063d67de86 Add image() methods to Fl_Menu_Item.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-01 02:02:03 +00:00
Michael R Sweet
7b0ade0138 "install" now depends on "all" instead of the no longer defined $(PROGRAM)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 14:11:21 +00:00
Michael R Sweet
7ce42e2592 When installing FLUID under Cygwin, make sure we keep the .exe extension.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-25 17:07:06 +00:00
Michael R Sweet
1be87f0798 Ignore fluid-shared and all exe files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:04:30 +00:00
Michael R Sweet
3346a9fee7 Change the Fl_Group current, add, and remove methods so they are no longer
inline; this should make shared libraries work better on all platforms.

Link FLUID against shared libraries, too, so that the installed fluid is
also using shared libraries (still make a statically linked fluid for the
build)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:03:31 +00:00
Michael R Sweet
8efe8dcc23 Don't need to manually register image formats in these programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:10:20 +00:00
Michael R Sweet
6a6e4ab66c Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:04:37 +00:00
Michael R Sweet
861ad9769b New file chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 15:06:32 +00:00
Michael R Sweet
23972703f4 Some C++ compilers can't handle char& and int& versions of methods, so
for now just remove the char (boolean) methods since the integer methods
can also be used for the same thing.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-31 19:27:56 +00:00
Michael R Sweet
3a117a899c Get rid of as many compiler warnings as possible.
Add missing offbits seek when reading BMP files.

Add -OPT:Olimit=4000 to SGI compiler options (for keyboard_ui)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-24 14:19:19 +00:00
Michael R Sweet
88d54cd78b Massive update to use strlcpy() and strlcat() instead of strncpy()
and strncat() in almost all places (there are still a few strncpy's
that need to be used...)

Added configure check for strlcat() and strlcpy().

Added emulation code for strlcat() and strlcpy().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-16 12:47:44 +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