Ian MacArthur
7c3ae1559b
I've tweaked the demo.menu to include Greg's new native file chooser test alongside the
...
existing fltk file chooser test.
Also, I've taken the liberty of making the native file chooser load the system icons by default
(Greg had them not loaded by default, but I think it looks better with them...) and I have
adjusted the Makefile accordingly to make the linked libraries match.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7000 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14 18:42:13 +00:00
Albrecht Schlosser
fa7ce4cb92
added svn properties for Fl_Native_File_Chooser and test files.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14 17:15:12 +00:00
Greg Ercolano
2c3d7c7b45
FNFC continued -- Added makeinclude.in
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13 23:29:43 +00:00
Greg Ercolano
1de0988c31
Added Fl_Native_File_Chooser widget (with manolo's cocoa mods) to FLTK.
...
* Source brought into CMP standards compliance
* test program added (test/native-filechooser.cxx)
* Tested with linux (Ubuntu8) and with OSX (cocoa and non-cocoa builds)
TODO:
* Needs doxygen docs from Greg's original HTML documentation
* Needs mods to Windows build files
* Needs mods to cmake, and other build files
* Needs Manolo's latest mods (from STR #2298 ) mentioned on and after "02:05 Jan 13, 2010"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13 23:13:59 +00:00
Matthias Melcher
139c88c618
Another bug in Fl_Preferences
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13 22:13:50 +00:00
Matthias Melcher
68219958d0
Fl_Preferences now have an API to delete all nodes or entries at once.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-12 08:48:55 +00:00
Matthias Melcher
2e87701192
Fl_Preferences::copyTo() would fail if there is no tree root
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-11 19:43:27 +00:00
Matthias Melcher
12fecf6c4d
Minor bugs in Fl_Preferences::copyTo(). Note to self: increase warning level!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-11 11:16:52 +00:00
Matthias Melcher
3d5d2b54f2
Added a function to copy an entire Fl_Preferences database into an Fl_Tree view. This will break IDEs that do not have Fl_Tree and Fl_Table added yet!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-10 22:37:56 +00:00
Ian MacArthur
a0eb792209
This is my test implementation of the UUID code for Fl_Preferences.cxx on win32.
...
Tested on XP and Vista and seems to be OK, but needs to be checked by others for confirmation.
Any issues and we should just back this out, I think, but I trust that all will be well.
The actual implementation is probably "sub-optimal" however, so if someone would like to make it better...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-09 13:54:37 +00:00
Matthias Melcher
bb34489826
Fixed stupid crash bug in Fl_Preferences.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-07 16:02:44 +00:00
Matthias Melcher
e5fed1d0fa
Another update by Manolo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-04 16:57:11 +00:00
Albrecht Schlosser
339c8e972e
Fixed previous commit (s/gethostbyname/gethostname/) and added
...
#if defined (__GNUC__) to remove #warnings from other (Windows) compilers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-04 10:30:37 +00:00
Albrecht Schlosser
1a9b7d72d2
Temporary fix for Fl_Preferences on Windows, because gethostbyname would need
...
winsock (ws2_32.dll) - the final fix would have to load it dynamically or
use another function...
Also fixed the missing return statement (all platforms).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-04 09:40:25 +00:00
Greg Ercolano
b08153975c
Updated filename.H function docs with indication of #include <FL/filename.H>
...
and in several cases, code examples.
Solves issue raised on fltk.general (12/30/09) by Alvin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-01 18:30:49 +00:00
Matthias Melcher
2164880821
Fixed previous commit
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-28 23:10:11 +00:00
Matthias Melcher
ae9b3365aa
Added an ID type to preferences which can be retrieved to then re-use the same dataset. IDs can be used in callbacks as user_data(). No need to keep an Fl_Preference around that would later require deleting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-28 22:26:48 +00:00
Matthias Melcher
9048b4b895
Improved Preferences database. Branches can now be accessed by index. Added UUID generation (better versions needed for Unix and MSWin!). Added access to group name and path
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-27 20:14:04 +00:00
Matthias Melcher
38c15442a4
Changed widget bin closing behavior when pressing ESC (which IMO should quit the app, not the widget bin).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-25 20:53:22 +00:00
Albrecht Schlosser
9a505ef44c
Fixed a name conflict with new (VC 2008 Express) winsock2.h versions
...
(POLLIN, POLLOUT, POLLERR) and another conflict (FORCE_POSITION flag) that
produced compile errors with VC 2008 (STR #2301 ).
Removed remaining code of the obsolete WSAAsyncSelect call from Fl_win32.cxx.
Removed some obsolete html tags from FL/Fl_Window.H and fixed some typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-24 11:40:26 +00:00
Albrecht Schlosser
954fba25c8
Widgets now remove stale entries from the default callback queue
...
(see Fl::readqueue()) when they are deleted (STR #2302 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-23 12:53:45 +00:00
Ian MacArthur
cccf37522b
Modify Fl.H to add method Fl::event_command();
...
that matches the "portable" FL_COMMAND key modifier
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-22 14:17:22 +00:00
Matthias Melcher
a5a5850e10
Yet another Cocoa patch.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-21 18:43:13 +00:00
Albrecht Schlosser
012c5db243
Fixed minor syntax error in CMakeLists.txt (STR #2299 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-21 17:14:52 +00:00
Albrecht Schlosser
db322329bc
Fixed index for difficulty menu entry - thanks to Manolo Gouy for
...
finding this (STR #2221 ).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-21 16:28:58 +00:00
Matthias Melcher
bdbea14218
Patched for Cocoa.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-18 20:11:24 +00:00
Matthias Melcher
73a30359b9
Trying to fix update rectangles and dnd in Cocoa. Currently, invalidating a rectangle does not work. This can be seen when dragging data within an application, for example.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-13 17:34:19 +00:00
Matthias Melcher
25da6543ff
Re-indented src/Fl_Input.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6968 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-13 14:44:30 +00:00
Albrecht Schlosser
e97c1c1743
Added Manolo Gouy to CREDITS for his great work on porting FLTK 1.3
...
on Mac OS X to Cocoa.
(Also fixed some space/tab inconsistencies).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-13 13:57:36 +00:00
Matthias Melcher
c8278a2344
New patches appliet for Cocoa port. Fixed(?) STR 2232 workaround for X11 keyrepeat bbbbuuuuuuggggg.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-13 12:03:26 +00:00
Matthias Melcher
64716f01e2
Applied the 'recap.zip' files to the Cocoa patch. About diaog now correct. Much other stuff should work better now. Exciting!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-12 18:26:12 +00:00
Matthias Melcher
3f689a7d2f
Applied patch from dec 10th. It does not solve the problem that the About dialog drops behind the Sudoku window though...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-12 18:18:54 +00:00
Matthias Melcher
4880ebc521
Patced antialised fonts for Cocoa builds
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-12 18:10:02 +00:00
Matthias Melcher
0d99b353a4
Sorted Xcode source files (somewhat). Added Manolos patches to fix the Sys_Menu widget pointer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6962 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-12 18:06:49 +00:00
Greg Ercolano
a85efbce26
Fix for Mac's "ALT" key symbol: saucepan right side up, pancake not on floor.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-12 16:48:29 +00:00
Matthias Melcher
0f0a4672c9
Fumbeling about at the Cocoa implementation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6960 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-08 23:15:30 +00:00
Albrecht Schlosser
0b0afc165b
Updated src/ and test/makedepend files and added sv:ignore for new test
...
programs test/tree and test/table.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6959 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-08 12:16:55 +00:00
Greg Ercolano
79cd1d2ccb
Small fixed to SebHoll's user_data() mods (init + copy ctor),
...
added select_all() to Fl_Tree and Fl_Tree_Item.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-08 08:39:31 +00:00
Greg Ercolano
a657069cc5
Checked in SebHoll's API mods, fixed indents.
...
o Added user_data() to Fl_Tree_Item
o Added insert() and add() methods that allow specification of Fl_Tree_Prefs
o Changed Fl_Pixmap args to Fl_Image for more flexibility
o Fixes for positioning of items in the presence of user icons
o find_children() changed from protected -> public
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6956 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-08 08:06:44 +00:00
Matthias Melcher
5bc48808b6
Removed typedef that simply renamed char* to Fl_String, as discussed in the mailing list.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-07 22:04:55 +00:00
Matthias Melcher
43f16de4de
Removed [] expression from configure.in
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6954 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-07 21:52:11 +00:00
Matthias Melcher
14d7deb1fd
Xcode project was not building Cocoa code!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-07 19:54:26 +00:00
Matthias Melcher
b34b7a8d2b
Some fixes for the Cocoa port
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-07 19:15:37 +00:00
Matthias Melcher
b2cffc688e
Moved OS X code base to the more moder Cocoa toolkit thanks to the awesome work of Manolo Gouy (STR #2221 ). This is a big one! I tested all test applications under 32-bit autoconf and Xcode, and a few apps under 64bit intel. No PPC testing was done. Please verify this patch if you have the machine!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-06 22:21:55 +00:00
Albrecht Schlosser
1ea4b45735
Fixed some typos in examples.dox.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-29 17:26:26 +00:00
Albrecht Schlosser
06f5899980
Fix for documentation typos provided by Josef Vitu. Thanks.
...
Added Josef Vitu to CREDITS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-29 11:14:42 +00:00
Albrecht Schlosser
ad473c8208
Added missing svn properties and $Id$ tags.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-18 12:43:21 +00:00
Albrecht Schlosser
4fa7fde790
Added missing svn properties and $Id$ tags.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-18 12:22:51 +00:00
Matthias Melcher
d6189d1d5c
STR #2292 : fixed issue typing a minus in Fl_Int_Input when all text is selected.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6941 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-17 19:42:09 +00:00
Matthias Melcher
fa6888c32c
Added const'nes too Fl_Counter::step()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6939 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-17 14:45:36 +00:00