Commit Graph

516 Commits

Author SHA1 Message Date
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
yuri
bff2ae6461 fix int -> double warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-24 14:22:05 +00:00
yuri
fa4f93daa5 add rotated text example
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-24 09:32:18 +00:00
yuri
f13defde28 add fl_draw(int angle, const char* ... functions for rotated text drawing
STR#1840 closed, STR#207 not closed because non-xft functions not implemented 

drawing of N Utf8 characters need correction for rotated and not rotated fl_draw functions not solved!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-24 09:28:30 +00:00
Matthias Melcher
813d295e8a Fixed Fl_Input_::index(int) to return a UCS4 character instead of a byte.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-23 15:32:19 +00:00
Greg Ercolano
6de77851fe unittests modified for Fl_Double_Window to prevent flicker.
Extension of r6772.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-22 07:57:35 +00:00
Albrecht Schlosser
eb70e46d2a Fixed gray scale w/alpha image drawing for Mac OS with Quartz (FLTK 1.1
with Quickdraw worked) in src/Fl_Images.cxx.

Changed test/unittest_images.cxx to use Fl_RGB_Image::draw() to draw images
with alpha channel, because  the current version of fl_draw_image()
supports alpha channels only on Mac. Tested on Windows[1], Linux, and Mac.

[1] Windows with GDI drawing doesn't work yet for gray+alpha (STR 2105).

To do: Check, if fl_draw_image() should support alpha channel images
on all platforms or not at all. The current documentation mentions only
RGB and gray scale images. IMHO the behavior is undefined for values of
abs(d) == 2 and abs(d) > 3. See also fl_draw_image_mono().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-21 09:25:22 +00:00
Greg Ercolano
b475babf17 Most test demos converted to use Fl_Double_Window
to prevent flicker when new users run test/demo programs.

For details, see fltk.development thread started 04/16/09,
"Subject: browser demo flicker".




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-21 09:09:37 +00:00
Matthias Melcher
d3206f01ec More Fl_Input keyboard fixes / OS X transparency for RGBA data / some utf8 reorganisation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-15 08:35:28 +00:00
Matthias Melcher
afe1b90dd0 Reorganized Unittest / fixed and improved OS X keybord support and alternative input methods / fixed OS X utf8 DnD
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12 13:48:03 +00:00
Greg Ercolano
efdf1c1774 Undoing changes made in r6738.. someone checked in my code for me ;)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02 08:53:39 +00:00
Greg Ercolano
dc0b3af663 Rework of the unittests.cxx program, as per discussions
in fltk.dev:

	Subject: New unittest app suggestion -- RFC



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02 08:18:24 +00:00
Greg Ercolano
f414a50dd2 o Major mods to Fl_Browser_.{cxx.H}'s doxygen docs
o Small mods to Fl_Browser.{cxx,H}'s doxygen docs
	o FL_SORT_ASC/DESC -> FL_SORT_ASCENDING/DESCENDING (includes necessary mod to test/browser.cxx demo)

	TODO: Fl_Browser needs new '\see Related methods: ' that was initiated in Fl_Browser_



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 23:09:04 +00:00
Matthias Melcher
fb10b252a0 Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 15:05:30 +00:00
Greg Ercolano
592f934229 Removed DOS style ^M's; they were preventing SGI compiles (partial STR#2174)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-13 22:58:31 +00:00
Ian MacArthur
39c0a8a320 Check in Greg's revised and updated unittest example code.
NOTE: This still isn't called from the demo GUI anywhere , AFAIK. Should it be?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-14 18:33:29 +00:00
Fabien Costantini
b30b9e170a minor compile warning solved in test/utf8.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-29 21:55:23 +00:00
Fabien Costantini
8d590e0ed8 Help demo: now loads the non framed version main.html instead of index.html
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-20 08:53:11 +00:00
Fabien Costantini
a33d0a6d29 STR#2035 fix : Changed all 1998-200[0-8] dates to 1998-2009 for supported fltk files (this excludes i.e the png subdir).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 14:52:45 +00:00
Fabien Costantini
601a0f0d3e + Fixed font set to const string was potentially free in
Fl_x.cxx:fl_set_spot()

+ Fixed fl_ask.h erroneous include replaced by fl_ask.H include in 
colbrowser.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-04 16:21:42 +00:00