Commit Graph

535 Commits

Author SHA1 Message Date
Matthias Melcher
421f908c69 Bringing supported IDEs to the newest setup, add device and others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-27 08:51:54 +00:00
Albrecht Schlosser
696d4e1973 updating dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 15:51:16 +00:00
Manolo Gouy
e00a106337 Added device demo to target list and to cool demos section
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 18:09:38 +00:00
Manolo Gouy
dd0a0c39c1 This temporary test file is no longer useful.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 17:32:09 +00:00
Manolo Gouy
bddd495ab4 Removed commented out statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-20 08:37:03 +00:00
Albrecht Schlosser
efed27b2c4 fixed src/Makefile and updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 14:19:34 +00:00
Manolo Gouy
e6a5d896e6 Fl_Printer is now enough to print this window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 13:29:14 +00:00
Manolo Gouy
8e4d054650 Some fine tuning after introduction of Fl_Gl_Window-capable Fl_Printer::print_widget()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 07:56:50 +00:00
Matthias Melcher
762d02fb62 Using Fl_Plugin feature to automatically draw OpenGL (sub)windows. No extra coding needs to be done. Just call Fl_Printer::print_widget(...). The Fl_Gl_Printer device can (and should) be removed or at least made inaccessible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 22:51:31 +00:00
Albrecht Schlosser
99e9c68215 restoring transparency in test/unittest_images.cxx (Windows and X11).
Note: fl_draw_image() supports transparency (alpha channel) currently
only on Mac OS X.
This needs to be fixed for other platforms !


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 23:39:47 +00:00
Manolo Gouy
7c018b55c2 Changed menu name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 16:20:38 +00:00
Ian MacArthur
41ee53fd34 Make the GL printer menu in the cube demo look a little but tidier in
winXP (and I hope on X11 etc.) and alos hopefully without breaking it
for OSX and the Fl_Sys_Menu_Bar...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 09:31:10 +00:00
Albrecht Schlosser
998cc6df52 Merge of branch-1.3-Fl_Printer, with the following main changes:
(1) adding Fl_Device class (and more) for device abstraction
 (2) adding Fl_Pinter class (and more) for printing support.

Todo: Code cleanup, update dependencies, remove/replace test print window.
I'm looking into converting the test window popup in a global shortcut
that would pop up the print dialog now...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 18:07:24 +00:00
Matthias Melcher
d0c53ccedf Removed remaining 'deprecated function' warnings for Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 22:56:56 +00:00
Matthias Melcher
3b65dcead9 Fixed Demo for OS X to use the correct command to launch other applications from the right current directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 22:46:13 +00:00
Matthias Melcher
0650daaaac Fixed silly deletion in Demo.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 17:56:25 +00:00
Matthias Melcher
2f82fd0663 Mixed bag. Please see CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:14:47 +00:00
Matthias Melcher
b737694f4a test/Editor was freeing the text buffer too soon and no clearing callbacks. (STR #2294)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 21:08:34 +00:00
Manolo Gouy
bbeead9259 minor changes so all demos work under Xcode.
Modified files are:
- test/demo.cxx
- test/demo.menu
- test/colbrowser.cxx

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-27 23:25:00 +00:00
Albrecht Schlosser
6fe1ac09f4 makedepend updates for all source directories (except src/xutf8).
src/Makefile:	adjusted WIN32 and Mac dependencies
test/Makefile:	dto.

Todo: src/xutf8/makedepend needs to be checked. There are obviously functions
and headers that are included in a platform dependent way.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-27 20:16:38 +00:00
Albrecht Schlosser
51acfa41eb Replaced _WIN32 symbols that had crept in with UTF-8 and the
new Fl_Table widget with WIN32.

Todo: check, if the conditional in test/table.cxx is useful at all


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-23 13:48:50 +00:00
Albrecht Schlosser
ff861ae5c0 Added missing table and tree examples to CMake build files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-15 16:07:19 +00:00
Albrecht Schlosser
ec908230a1 Added Fl_Table, Fl_Tree, and Fl_Native_File_Chooser CMake build files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-15 16:02:00 +00:00
Greg Ercolano
4e08397c94 Hmm, looks like both define()s needed a fix. Thanks Mike!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14 21:49:46 +00:00
Greg Ercolano
22546e2a9a Small fix to Ian's #if macro as per Mike's fltk.development post on 01/14/10.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14 21:09:08 +00:00
Ian MacArthur
209e1bfea1 Argh - sorry, my bad... Will not build cleanly on OSX, needs a little tweak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14 19:57:08 +00:00
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
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
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
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
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
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
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
yuri
7c3dad02eb fix 64 bit build
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-17 00:04:50 +00:00
Ian MacArthur
df1cf30ece Would not build on ubuntu 9.10 - bad file name (fl_ask.h) should be fl_ask.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14 19:13:20 +00:00
Matthias Melcher
07a18370ad Added Fl_Tree source code, demo files, and documentation. Thanks, Greg!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14 15:49:12 +00:00
Matthias Melcher
fefa82e0b1 Adding Gerg's Fl_Table widget to FLTK 1.3 with kind permission. Documentation not yet added Support for both Visual Studio IDE's not yet added.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14 13:05:37 +00:00
Matthias Melcher
bcff4ec8e0 International menu shortcuts working on Mac OS (and probably the other OS's)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-17 22:12:24 +00:00
Matthias Melcher
c0e4cf48a4 Starting to allow international (unicode) keystrokes as shortcuts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-17 20:40:02 +00:00
Matthias Melcher
9ba790be3b Added the counterpart for FL_COMMAND (F_CONTROL). Added GTK Boxtype to the Forms test. Made utf function more fail-safe. Testing SCM on Xcode (wish me luck)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-17 20:00:33 +00:00
Albrecht Schlosser
1b2df88ed0 More CMake updates (STR #2244):
- added missing files in src/CMakeLists.txt
 - added -DUSE_X11 for Unix builds
 - added new test/unittests program

Thanks to Yassine (yostane) for testing and helping to update the CMake files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-30 21:15:43 +00:00
Albrecht Schlosser
a32ec7f20e svn properties on test/ (svn:ignore) and test/unittest_scrollbarsize.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-19 19:21:40 +00:00
Matthias Melcher
49dc93677e Typos and alignments
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-18 11:03:44 +00:00
Greg Ercolano
5045d2e834 Added to allow testing of scrollbar sizing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-12 00:29:36 +00:00
Greg Ercolano
fe687baefd Fl_Scroll mods for global scrollbar size control.
Also, unittest added (scrollbar size) to test these changes.
    Thanks to Albrecht for testing/peer review.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-12 00:15:06 +00:00
Albrecht Schlosser
510ad42f4e changed $Id$ statement to proper format
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-01 16:09:13 +00:00
Albrecht Schlosser
a3a4086f12 set properties on unittest files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-01 15:57:08 +00:00
Albrecht Schlosser
d34e9521ec fixed some typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-01 15:47:45 +00:00
Matthias Melcher
0de26b628e Typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-30 13:57:45 +00:00
yuri
db7af4a8eb fix type conversion
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-24 19:16:29 +00:00