Commit Graph

1114 Commits

Author SHA1 Message Date
Albrecht Schlosser ae4b51b970 Remove obsolete watcom makefiles.
These makefiles included '../watcom.mif' which had already been removed
and they had not been updated anyway.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-17 14:53:09 +00:00
Lauri Kasanen 70d6d20e11 Add a test program to benchmark alpha blending.
The new XRender code uses 21 times less cpu than the old
read-back-and-manually-blend option. The blending is also
GPU-accelerated where possible, but works in software on
vesa/fb drivers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-16 18:23:59 +00:00
Manolo Gouy dbde470f8d Added Fl_Shared_Image::scale(width, height) to support scaled image drawing (STR #3185).
Useful for printing, PostScript or PDF output, or retina displays.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 21:06:22 +00:00
Albrecht Schlosser 0f45a7adf5 [Version 1.3.4] Update version numbers - hopefully complete.
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10 01:41:55 +00:00
Albrecht Schlosser 78783e1fd8 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-07 13:12:54 +00:00
Albrecht Schlosser 33206498fd Improve label demo test/label.cxx : better layout + new tooltips.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-05 12:40:32 +00:00
Albrecht Schlosser c0a760d1c6 Rename variable 'inp' because of colliding definition in Cygwin.
Although this is probably not the application's fault and this
was found with gcc 4.5.3 using Windows 64-bit cross-compiling only.

windowfocus.cxx:25:18: error: 'Fl_Input* inp' redeclared as different kind of symbol
/usr/x86_64-w64-mingw32/sys-root/mingw/include/intrin.h:347:5: error: previous declaration of 'int inp(short unsigned int)'


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-27 14:10:29 +00:00
Albrecht Schlosser 24dd515f30 [CMake] Fix creation of example directory when copying support files.
This was a regression introduced in svn r 10573 that affects new builds,
when the target directory for test files (bin/examples) doesn't exist yet.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-13 12:16:38 +00:00
Albrecht Schlosser 5b801eae16 [CMake] Copy support files for demo programs to build directory (incomplete).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10573 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-11 15:15:46 +00:00
Albrecht Schlosser 998a6be711 Fix typos in demo file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-09 19:15:09 +00:00
Albrecht Schlosser 965be94165 Make demo programs display the correct Fl::scheme() in all cases.
Demo programs using Fl::args() and fl_get_system_colors() instead of
Fl_Window::show(argc,argv) didn't correctly initialize the Fl::scheme()
if the environment variable FLTK_SCHEME was set.

Calling Fl::scheme(Fl::scheme()) fixes this, because (currently) only
Fl::scheme(NULL) reads the environment variable FLTK_SCHEME.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-09 18:04:31 +00:00
Manolo Gouy ec1d3ce3d9 Allow compilation with -std=c++11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-08 19:46:36 +00:00
Albrecht Schlosser a02e892b01 Improve test/boxtype demo program to help boxtype debugging.
(1) Set window title to reflect current scheme.
(2) Add class BoxGroup to show a red frame around each box
    and/or a white box background.

Both features are disabled though. Edit the source file to enable.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31 15:43:53 +00:00
Manolo Gouy f3a84c0ee5 Changed OpenGL support for the Mac OS X platform: use cocoa instead of deprecated AGL.
All changes are mac-specific, except a very minor change in file src/gl_draw.cxx
where string drawing wrongly claimed to support @symbol, not possible
because symbols are drawn using non-GL primitives.

Unchanged application code can use the new FLTK code.
In addition, the new code allows mac applications to draw OpenGL scenes
at high resolution on so-called 'retina' displays, but this requires some
support from app code. They must call, before opening GL windows,
Fl::use_high_resolution(1);
and change their glViewport() calls as follows
glViewport(0, 0, pxel_w(), pixel_h());
This uses 2 new member functions of the Fl_Gl_Window class,
pixel_w() and pixel_h() returning the window dimensions in pixel
units, that is, twice the w() and h() when the window is mapped
on a retina display.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20 07:19:23 +00:00
Greg Ercolano bcc7dc8b6f Fixes STR #3169, comment #8.
Prevents warnings from OSX 10.9.x clang compiler.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19 03:50:09 +00:00
Greg Ercolano 889a8a6d42 Fixes STR #3169, comments #4, #5 and #7.
Prevents warnings from the OSX 10.9.x clang compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-19 03:47:32 +00:00
Manolo Gouy baf5ea7d56 Added Fl_Copy_Surface::w() and Fl_Copy_Surface::h() member functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-08 18:10:35 +00:00
Albrecht Schlosser df31569ac4 Add unittests to demo program menu.
This test program may not be in the optimal position in the menu,
but w/o restructuring more of the menu this was the best position
I could find. Maybe we can restructure the menu in the future.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-04 10:05:36 +00:00
Albrecht Schlosser f500ff46e2 Update dependencies for FLTK 1.3.3 release.
This should be the final commit for FLTK 1.3.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-03 10:34:54 +00:00
Manolo Gouy e5536f5bc3 Undoing commit r.10422 that was a wrong move.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 20:38:53 +00:00
Manolo Gouy 7df34e02c4 Fixed typo about the editor demo program
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 20:29:21 +00:00
Albrecht Schlosser 3e1da3012a Remove Fl::*sleep() method family, as discussed in fltk.coredev.
Hopefully this doesn't break Windows or Mac OX IDE builds, please help
testing.

Short story: these functions showed compatibility problems, lacked some
quality (regarding interruption by signals), and maybe more.

This is a combined commit that reverts three (3) svn commits. The following
lists are extracted from git, but show the svn revisions and files:

    Remove Fl::*sleep() family, part 1: revert svn r 10287.

:100644 100644 a988702... 794920f... M	ide/Xcode4/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 2: revert svn r 10151.

:100644 100644 cf839e6... bfde9c4... M	ide/Xcode3/FLTK.xcodeproj/project.pbxproj
:100644 100644 794920f... c0c772a... M	ide/Xcode4/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 2b: revert svn r 10151 (continued).

:100644 100644 bfde9c4... abf2922... M	ide/Xcode3/FLTK.xcodeproj/project.pbxproj

    Remove Fl::*sleep() family, part 3: revert svn r 10150.

:100644 100644 b469018... e76a3e5... M	FL/Fl.H
:100644 100644 7bb7899... 4d4755d... M	ide/VisualC2008/fltk.lib.vcproj
:100644 100644 9d9a2cf... 334aef8... M	ide/VisualC2008/fltkdll.vcproj
:100644 100644 5533a54... e30058b... M	ide/VisualC2010/fltk.lib.vcxproj
:100644 100644 e49f691... 1259c87... M	ide/VisualC2010/fltk.lib.vcxproj.filters
:100644 100644 946f31a... d53ab80... M	src/CMakeLists.txt
:100644 000000 fed36fd... 0000000... D	src/Fl_sleep.cxx
:100644 100644 3d9656c... 3b265f9... M	src/Makefile
:100644 100644 6eadbcb... 5dd5872... M	test/sudoku.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-30 16:05:22 +00:00
Albrecht Schlosser 25cf93b4cb Improve and reorganize Fl_Tile's documentation and test/tile demo.
Moved docs from header file and enhanced docs, particularly about the
resizable() widget and the resize behavior in general.

Changed the tile demo program to use a resizable() with 20 pixels
border distance, so that border dragging is limited as described in the
docs. Updated the image file to reflect the current test/tile.cxx demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-19 14:17:47 +00:00
Albrecht Schlosser 31512b7323 Fix a tiny memory leak in test/editor and remove useless style_init().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 19:49:19 +00:00
Albrecht Schlosser aef482198e Bump version numbers to 1.3.3.
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ
somehow, but there are no significant changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 00:03:27 +00:00
Albrecht Schlosser 318c3619dc CMake enhancements, as discussed in STR #3055.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:41:06 +00:00
Albrecht Schlosser 8ef6520fe3 Fix indentation in recently added test/twowin.cxx demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:07:27 +00:00
Albrecht Schlosser d6c9db1b92 Add missing svn $Id$ tags in new test files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:04:15 +00:00
Albrecht Schlosser eb1af07952 Add Fl_Window::wait_for_expose() and test program (STR #3124).
Also modified .gitignore, svn-properties, Makefile and CMake-Files.

Todo: test/twowin.cxx and test/windowfocus.cxx need to be added to ide files
(MS VC++ and Xcode).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 23:58:05 +00:00
Manolo Gouy 5899b2cc6d Added missing include x.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 17:11:21 +00:00
Albrecht Schlosser 023589e703 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 19:07:55 +00:00
Albrecht Schlosser dd37bc2c12 Update dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-08 23:54:11 +00:00
Lauri Kasanen 7ebbe0baf4 Add a two-window focus test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:45:49 +00:00
Lauri Kasanen d1d203ca57 Add support for dragging to reorder in Fl_Tree, STR #2828 (I)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 12:04:28 +00:00
Albrecht Schlosser d67f2e8e3e Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-05 09:31:37 +00:00
Albrecht Schlosser 105c2b466a Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 10:24:11 +00:00
Albrecht Schlosser 3dbc495127 Remove 'register storage class deprecated' compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-03 10:10:37 +00:00
Lauri Kasanen bbc8782b6a Move Xutf8.h to src/, update includes, refresh makedepends
This is an internal header.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-23 08:41:58 +00:00
Pierre Ossman f58b1a91b3 Add ability to set custom icons for windows. STR #2816.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:39:32 +00:00
Pierre Ossman 332dc1b7ac Add method to set any custom cursor, based on a Fl_RGB_Image object.
Also change our fallback cursors to use this method, so that fallback
cursors are handled in a platform independent manner. STR #2660.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-16 11:17:57 +00:00
Pierre Ossman 0cfc2554c6 Support for full screen over multiple monitors.
The API follows that of EWMH, which gives you a good control
over which monitors to use.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-11 09:10:53 +00:00
Ian MacArthur 460544455d Another stab at STR #3090.
Now, instead of just ignoring the scrollwheel
events, I try to make the scene zoom in/out
in response to the wheel instead.

Seems to be working; not sure I have the
zoom sensitivity set to a sensible avlue, though!



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-06 21:46:42 +00:00
Ian MacArthur 63b5ee9ef1 Tweak fracviewer.cxx to ignore mousewheel inputs,
which were confusing it and making it sometimes
unresponsive to mouse left or middle button drag
inputs...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-06 12:30:38 +00:00
Greg Ercolano 547570fca6 Fixes STR#3089; some UI fonts too large on linux.
See image attachment included with the STR.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-06-05 05:05:19 +00:00
Greg Ercolano e0c747ee0b 1) Add descriptive tooltips to widgets in 'scheme' test.
2) Changed Fl_Scrollbar to show a 50% tab, so that the
   "///" scrollbar tab decorations are visible when the
   gtk+ scheme is enabled.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 02:59:19 +00:00
Greg Ercolano b04ec356b3 Added as per RFC on fltk.coredev 05/23/2014.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 23:32:27 +00:00
Manolo Gouy 07dd8ba328 Added copy/paste from/to FLTK applications of graphical data.
Added Fl_Image_Surface class to draw into an Fl_Image object.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:47:21 +00:00
Greg Ercolano 46521bf437 Implements STR #2621: Add line numbers to Fl_Text_Display.
Applied LZA's patch and included some mods to address TODO items and ABI issues.

Also update CREDITS with LZA and a few other notably absent names.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 06:56:59 +00:00
Fabien Costantini 54b0123eab Added a new portable sleep API(ABI compatible). Now features a flexible multi-usage sleep() api accepting decimals, msleep() for millisecs only, usleep() for microsecs. Updated Makefiles, cmakefiles, vs2008, vs2010 with the new Fl_sleep add-on. Documented new API. still needs to be added in Xcode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-21 04:10:12 +00:00
Manolo Gouy 6c92cc9a8d Fix STR#3063: compilation using Mac OS 10.4
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-04-27 13:57:09 +00:00
Ian MacArthur 770c280708 Adjust test/demo.cxx to support the newly added
"gleam" scheme.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-26 21:21:14 +00:00
Greg Ercolano c5d5ba1cf5 Applying the etorres gleam patch. STR #2672.
TODO: Xcode 4 ide needs fl_gleam.cxx added
      Test of Visual Studio IDE mods (which were hand-modified)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-25 04:24:41 +00:00
Greg Ercolano 98695591f4 Added 'help-test.html' to test the Fl_Help_View
HTML parser. (Feel free to expand these tests)

Modified the 'help' program to use this help file
as a default, since the old reference was to our
old documentation link that (1) no longer is released
with the code, and (2) is doxygen content our HTML
parser can't possibly handle.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-02-08 20:44:09 +00:00
Greg Ercolano 9b5f1d78e1 Fixes Micha's two NetBSD warning msgs (posted on fltk.general 12/16/13):
tree.cxx: 1443: warning: passing 'double' for argument 1 to 'void Fl_Tree::scrollbar_size(int)'
    tree.cxx: 1440: warning: passing 'double' for argument 1 to 'static void Fl::scrollbar_size(int)'



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-18 02:14:02 +00:00
Greg Ercolano d36882e67e Adds horizontal scrollbar to Fl_Tree as an ABI 1.3.3 feature.
***************************************************************
NOTE: You MUST uncomment the FLTK_ABI_VERSION in Enumerations.H
      to use these changes.
***************************************************************

Also: separated tree size calculation from draw() code,
so that one can cause the tree to recalculate immediately
after making modifications to the tree by calling Fl_Tree::calc_tree().

Numerous improvements to docs for the tree as well, enough
to create a rather large diff.

Large internal changes were needed to do this properly.
The following was added to the CHANGES file:

	- Fl_Tree: various related changes:
	    o Added horizontal scrollbar
	    o Separated draw() and tree size calculation
	    o Added new public methods:
	        > resize()           -- uses optimized dim calc, avoids tree recalc
		> next_item()        -- added parameters: direction, visibility
		> extend_selection() -- added parameters, improved algorithm
		> calc_dimensions()  -- calc tix/y/w/h, tox/y/w/h and scrollbars
		> calc_tree()        -- calc tree_w/tree_h
		> recalc_tree()      -- schedules calc_tree()
		> first_visible_item(), last_visible_item(), next_visible_item()
		> first_selected_item(), last_selected_item(), next_selected_item()
	    o Added protected variables:
	        > _tix/y/w/h      -- tree widget 'inner' dimension
		> _tox/y/w/h      -- tree widget 'outer' dimension
		> _tree_w,_tree_h -- entire tree hierarchy width/height
	    o Deprecated:
	        > item_clicked() -- use callback_item() instead
		> first_visible() -- use first_visible_item() instead
		> last_visible() -- use last_visible_item() instead

	- Fl_Tree_Item: various related changes:
	    o Added Fl_Tree ptr: needed for auto-recalc when item modified directly
	    o Added new methods tree(), recalc_tree()
	    o Added new ctor that accepts Fl_Tree*
	    o draw() parameters changed to include tree size calculations
	    o Deprecated:
	       > ctor using Fl_Tree_Prefs parameter (Fl_Tree* version better,
	         and must be used for 1.3.3 ABI features to work correctly)
	       > next_displayed() -- use next_visible() instead
	       > prev_displayed() -- use prev_visible() instead

	- test/tree: added tests for newly added features




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-15 18:59:02 +00:00
Greg Ercolano bedb7fd6f0 Fixes STR# 2973: collection of Sun compiler fixes to Makefiles.
o Adds $(CXXFLAGS) to $(CXX) commands
    o Implements older, more backwards compatible Bourne shell test(1) syntax for equality tests (= vs ==)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 17:23:09 +00:00
Greg Ercolano 2082d7e197 Fixes STR# 2973: collection of Sun compiler fixes.
Applied str_2973_r9979_sun-fix-warnings-7.patch (with small mods)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-21 16:41:23 +00:00
Greg Ercolano 2fc6c3a39b Fixes STR #2985: prevent memory leaks with XGetWindowProperty()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-20 03:36:02 +00:00
Greg Ercolano 67ed1a8da9 STR# #2973: applied patch str_2973_r9958_sun-fix-errors-5.patch verbatim.
src/Fl_Tree_Item.cxx -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    FL/Fl_Preferences.H  -- solve: "FL/Fl_Preferences.H", line 196: Error: Fl_Preferences::RootNode is not accessible from 0
    FL/Fl_Tree_Item.H    -- solve: "Fl_Tree_Item.cxx",    line 614: Error: Initializing int& requires an lvalue.
    test/unittests.cxx   -- solve: "unittests.cxx",        line 95: Error: The type "UnitTest*[]" is incomplete.
            


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-16 20:25:14 +00:00
Greg Ercolano 33933f8c13 Added "Pick Dir" button to allow checking of directory browsing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9957 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-08-15 23:01:15 +00:00
Manolo Gouy b94c8b0d73 mac os: added mark of support for high resolution in 3 test applications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-06-24 16:05:12 +00:00
Albrecht Schlosser 62ae23272b Add different selection_color()'s and tooltips to scheme test buttons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-12 23:30:55 +00:00
Greg Ercolano 85c1464715 Added some extra @@ tests for boundary conditions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 19:21:22 +00:00
Greg Ercolano fa75731c94 Fix for fl_measure() missing drawsymbol flag
Added comments
Added 3 line test.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 19:16:48 +00:00
Greg Ercolano ceb12d51ab Added unittest for checking symbol rendering and fl_measure() with symbols.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-27 18:32:41 +00:00
Greg Ercolano 449f36b6f8 Added Fl_Choice to browser test program to let one
change the browser type(), allowing testing of the
different browser modes..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23 21:32:34 +00:00
Albrecht Schlosser f2dc7f90ff make schemes test window resizable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-10 15:14:03 +00:00
Greg Ercolano 4a2e8fa883 Added schemes test to unittests app, to check fltk schemes for artifacts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-08 20:37:00 +00:00
Manolo Gouy d9666eb8c9 Demo now runs Mac OS test applications both if they are bundled or unbundled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-10 12:49:59 +00:00
Manolo Gouy 598e2cb63b MacOS: create a bundled version of all example programs with fltk-config --post
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-05 14:53:03 +00:00
Manolo Gouy 155e099f4a Documented how to make a Mac OS FLTK application launchable by dropping files on its icon.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 13:03:20 +00:00
Matthias Melcher 78039ecb55 Replaced 10302 with 10301 for FLTK_ABI_VERSION
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 20:46:14 +00:00
Manolo Gouy a413dd4340 Fix STR#2856: extend the fullscreen demo to show screen and work area sizes (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 15:09:46 +00:00
Manolo Gouy 483d064559 Fix STR#2856: extend the fullscreen demo to show screen and work area sizes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 14:36:11 +00:00
Manolo Gouy 0cfd9a1a23 button demo program: use fl_beep() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-02 08:59:45 +00:00
Greg Ercolano df5c8cc76f Fixed some keynav problems:
No focus, hitting down would skip first item
    Enter key to toggle was falling through to other widgets
    Removing an item that has focus clears item focus (to prevent wild ptr)

Added new methods:
	Fl_Tree::get_item_focus()
	Fl_Tree::first_visible()
	Fl_Tree::last_visible()
	Fl_Tree::is_vscroll_visible()

Simplified + fixed Fl_Tree_Item::next_displayed()

Fixed Fl_Tree_Item::visible_r(), was skipping item if it was a closed branch.

tree demo: fixed button ordering for "Test Suggestions" button



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-29 13:34:39 +00:00
Greg Ercolano 31f320e2c6 o Added new 0xffffffff 'transparent' color behavior for the item's bg color;
with this as the default color, Fl_Tree::color() can control the tree's background.
  Tests added to the test/tree application.

o test/tree.fl modified:
    o Added a 'Test Suggestions' button to document various tests
    o Added tests for new 'transparent' color behavior
    o Added test for STR#2832 to check if items can be drawn to the /right/ of child widgets

o Added new methods to Fl_Tree_Prefs:
    item_labelfont()     -- obsoletes labelfont()
    item_labelsize()     -- obsoletes labelsize()
    item_labelfgcolor()  -- obsoletes labelfgcolor()
    item_labelbgcolor()  -- obsoletes labelbgcolor()

o Added 'Fonts and Colors' section to Fl_Tree docs

o Fl_Tree_Item ABI feature added: using bitflags instead of chars
  to keep the class small, as it gets instanced a lot. (fast + LIGHT)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-09 21:26:32 +00:00
Greg Ercolano 474feee1db o Added FL_TREE_ITEM_HEIGHT_FROM_WIDGET option to item_draw_mode()
to allow widgets to control the size of items in the tree
  (instead of vice versa).

o Added item_draw_mode(int) to allow for easier bitflag maintenance,
  since enums don't seem to be typesafe yet.

o Tree demo modified to demonstrate this feature.
  An important feature for adding large widgets to tree items.
  Will probably add an example, 'tree-of-tables' to demo this usage.

o Small doc fixes.

o Had to rename FL_TREE_ITEM_DRAW_WIDGET_ONLY to FL_TREE_ITEM_DRAW_DEFAULT.
  Its meaning for the bit fields changed when new bit fields were added.
  (The prev name just didn't make sense in the new context. Since it was
  just a few svn commits old and an unreleased ABI feature, it shouldn't
  affect anyone not in R&D)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9404 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-27 02:03:48 +00:00
Greg Ercolano db73861e7c allow 'open all' button to include root.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9401 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 04:47:49 +00:00
Fabien Costantini 88cbdd46f7 removed more 64 bits warning in curve/arc demos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 02:06:52 +00:00
Fabien Costantini 636885f28c removed 64 bits warning in arc demo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-24 02:03:10 +00:00
Greg Ercolano d07ef80207 Various Fl_Tree enhancements:
o Added keyboard navigation table
    o Added Shift-Click to extend selection, Ctrl-Space to toggle selection, Enter key toggle
    o Added protected extend_selection(from_item,to_item)
    o Cleanup of Fl_Tree::handle()
    o Limit ^A to multi-select mode only
    o Disable focus box in SELECT_NONE mode
    o test/tree: changed default mode to 'multiselect' (most often needs testing)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-23 16:31:51 +00:00
Greg Ercolano 67ea785bfd Forgot tree.fl (should have been in r9377)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 13:55:17 +00:00
Greg Ercolano 055a7d47ed STR# 2827 cont'd:
> Prevent 'changed' flag from being set during reselect
> test/tree.fl: added chooser so user can test with item reselect enabled|disabled
  (Chooser deactivated if the ABI option is not enabled)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-19 08:50:04 +00:00
Fabien Costantini 1d3f79bc23 Made homogen the scope of the new fl_tree enum with previous Fl_Tree_Reason enum.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-16 03:29:56 +00:00
Fabien Costantini b31264e473 STR 2827 implementation. Implemented Reselect code and related API all within ABI controlled preprocessor blocks because of new attribute defintion would break ABI anyway. Because the code is already ABI controlled, I took the opportunity to keep keep the REASON enum sorted. Added test code in Tree.fl adequately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-15 20:11:36 +00:00
Greg Ercolano 3cf006f5c3 Solves STR #2681.
Added ABI-breaking Fl_Table::scrollbar_size() with new ABI #ifdefs.
tests/unittests program modified to test this feature if enabled.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14 20:35:56 +00:00
Fabien Costantini 8809c5d65d Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 05:12:30 +00:00
Manolo Gouy 0b6f546b0f Added support for the additional key of ISO keyboards (aka 102-key keyboards) named FL_Iso_Key.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-26 16:54:54 +00:00
Manolo Gouy 08ce2e07d3 Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-23 16:47:53 +00:00
Manolo Gouy 01861dd47b Fixed error with \ key under Mac OS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-09 21:24:57 +00:00
Manolo Gouy 34a045f2e3 The interface displays Fl_Menu_Bar / Fl_Sys_Menu_Bar class names.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-18 08:29:30 +00:00
Greg Ercolano 4e40f1b339 Mods to allow test/tree to add 20,000 items at a time to the tree to test for slowness.
Also added a test for the swap() method.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-19 12:52:53 +00:00
Albrecht Schlosser 82b6725d16 Added text constants for preference names (project and application) for
easier testing (removed duplicated strings).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-18 15:15:04 +00:00
Manolo Gouy 4be97ea19c Fixed the use of FL_SUBMENU_POINTER in Fl_Sys_Menu_Bar objects (Mac OS-specific).
Modified the menubar demo program to exercise the Fl_Sys_Menu_Bar class.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-11 16:16:31 +00:00
Albrecht Schlosser b9e2720061 Added missing svn properties to test/rotated_text.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-05 08:43:26 +00:00
Greg Ercolano 4f4a8fc3c7 Modifications to all LGPL headers for STR #2685.
(to clarify static exception LGPL by changing license references)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19 04:49:30 +00:00
Greg Ercolano 6fa9df7e90 Fixing STR #2679; Fl_Table makes use of FLTK's Fl::scrollbar_size() global.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-17 16:40:41 +00:00
Greg Ercolano 46d9c45536 Added Fl_Table to scrollbar resize unittests
as prep for resolving STR #2679.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-16 03:50:58 +00:00
Matthias Melcher 07cb1667ad Formatting
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:11:18 +00:00
Matthias Melcher 189a563ef0 Fixed Copyright (another try - sorry!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:05:00 +00:00
Matthias Melcher a998fa5114 Fixed Copyright (damn, why does it not updae the ID?)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:02:55 +00:00
Matthias Melcher fb1f981c39 Fixed Copyright (2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:02:14 +00:00
Matthias Melcher 5415e0ec09 Fixed Copyright
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-16 15:01:30 +00:00
Ian MacArthur 6c9d1f7840 Modify the utf8 test demo code to handle surrogate pairs.
It was hard coded to cover the range 0 to 0xFFFF, i.e. the
Basic multilingual plane, even though the demo code allowed
any start index, for any plane, to be entered on the CLI...
As a result, attempts to view supplemental planes were always
just folded back into the BMP.
This change makes the code display the 64K Unicode points
starting at the index given on the CLI, so that the 
supplemental planes *can* now be viewed and tested.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01 12:24:22 +00:00
Albrecht Schlosser 2999acc1bb Added some test parameters for fine tuning of image tests. These parameters
are implemented as compiler macros and can only be edited manually to test
different implementation details.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 13:38:28 +00:00
Manolo Gouy 1ad8cf320d Fixed a problem in the WIN32 version of Fl_Paged_Device::print_window_part() and
Fl_Paged_Device::print_window() where the window didn't redraw well in some
cases after printing.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-18 20:47:32 +00:00
Manolo Gouy f763b4b709 Use adequate shortcut for "New View" on the Mac platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-18 11:29:30 +00:00
Manolo Gouy 73a57f8ac8 Corrected typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-14 13:04:57 +00:00
Manolo Gouy 8b026342dd Following STR #2583, the behaviour of fl_draw_image() with d = 4 on Mac OS is here
made consistent with other platforms, that is, the 4th byte of each pixel is ignored
instead of treated as transparency data.
In the future, the fl_draw_image() signature may be extended with another argument
that would describe if and how transparency information is available.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-12 11:38:43 +00:00
Greg Ercolano 5ecca683a3 Tree demo: removed unused cruft, fixed custom icons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-19 22:39:00 +00:00
Albrecht Schlosser 2c129b4833 Added a default window title function for common dialogs (STR #2562).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-18 08:52:48 +00:00
Greg Ercolano 97847cfe26 Enlarged pulldown menu choosers slightly.
(They were too small vertically, cutting off font descenders under linux.)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-13 17:31:54 +00:00
Greg Ercolano 83fab9118e Fix problem with text running off edges of buttons. (linux/xft, osx..)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-13 16:13:04 +00:00
Albrecht Schlosser 3bb11b9993 Common dialogs like fl_message() and fl_ask() can now have a window
title (STR #2562).
Added a test case for disabling the hotspot and using a window title
to test/ask.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-12 12:08:52 +00:00
Albrecht Schlosser dce0fbe6ef More dependency updates (makedepend files).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8390 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:41:45 +00:00
Manolo Gouy 1e26d2db61 Removed uses of Fl_Native_File_Chooser_{MAC,WIN32}.H that no longer exist.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:08:08 +00:00
Manolo Gouy 17f80015dc Removed dependencies from Fl_File_Chooser_FLTK.H that no longer exists.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-06 14:00:36 +00:00
Greg Ercolano 5759f3151f Avoid non-ansi scoping issue with variables defined inside for() loops.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-01 00:08:45 +00:00
Manolo Gouy caef04e057 Fixed WIN32 crash when the file dialog window is cancelled.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-31 17:46:55 +00:00
Greg Ercolano 2c5006563f Fl_Tree API breaking changes (we haven't released 1.3.0 yet..):
Fl_Tree::labelsize() -> item_labelsize()            -- TO AVOID COLLISION WITH Fl_Widget::labelsize()!
    Fl_Tree::labelfont() -> item_labelfont()            -- TO AVOID COLLISION WITH Fl_Widget::labelfont()!

Fl_Tree_Prefs (internal) changes:
    Fl_Tree_Prefs::fgcolor() -> labelfgcolor()          -- for consistency with above
    Fl_Tree_Prefs::bgcolor() -> labelbgcolor()          -- for consistency with above
    Fl_Tree_Prefs::selectcolor() removed                -- uses Fl_Widget::selection_color() instead
    Fl_Tree_Prefs::inactivecolor() removed              -- was unused; inactive color procedurally calculated

Other Fl_Tree mods:
    o Fixed bug with select_all(item) and deselect_all(item)
      (they were not limiting themselves to children of specified item)
    o Fixed bug with item not drawing in its /own/ bgcolor when item selected
    o Fl_Tree uses the Fl_Widget::selection_color()
    o All methods that deal with 'font types' changed int -> Fl_Font
    o All methods that deal with 'font sizes' changed int -> Fl_Fontsize
    o Added needed methods to Fl_Tree for accessing colors:

        item_labelfgcolor()     -- access default fg color used for new items
        item_labelbgcolor()     -- access default bg color used for new items
        tree_connectorcolor()   -- access the connector line color

    o Small doxygen comment adjustments and general clarifications
    o test/tree demo modified to include testing of new label color methods, cleanup



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-30 20:22:06 +00:00
Albrecht Schlosser d655684c77 Added missing dependency on tree.fl, and extended target clean to delete
all fluid-generated .h files (as well as .cxx files).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22 16:56:12 +00:00
Albrecht Schlosser b4c15eb8ae Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,
extraneous ';' and ',' and an invalid cast.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 20:52:38 +00:00
Albrecht Schlosser 7ada14f3b7 Reverting unintentionally committed experimental code in r8256. Sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 13:40:26 +00:00
Albrecht Schlosser 313352b55f Updated documentation/README to reflect the new distribution of
pre-generated documentation as separate downloads.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 13:06:15 +00:00
Manolo Gouy 03af588ef9 Added missing #include's when compiled using Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8252 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11 10:36:44 +00:00
Matthias Melcher 5f940c4e4b Remove screen dimension test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 14:26:21 +00:00
Manolo Gouy 712554e3b0 Fixed STR #2512: crash in test/tree demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 08:34:13 +00:00
Albrecht Schlosser cdaff761f7 src/screen_xywh.cxx:
Fix X11 screen_init() if Xinerama is available, but not active.
Still investigating why there are nonsense dpi values under Cygwin/X11,
but maybe this is an X server problem.

test/hello.cxx:
Extended test statements - don't forget to remove before release.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 12:39:51 +00:00
Matthias Melcher 7dc05cb20e First attempt at finding the screen pixel sizes. Can't test Xinerame, MSWindows, or X11 yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:01:04 +00:00
Manolo Gouy 22111debb8 Fixed use of FLTK_HAVE_CAIRO under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 13:17:21 +00:00
Manolo Gouy bc509d32eb Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Albrecht Schlosser 21f1c67b60 Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 15:15:48 +00:00
Matthias Melcher 210114ca0f test/help now finds some documentation. This kind of works, but since we decided to load a sample page instead, I will have to improve this... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 00:53:13 +00:00
Manolo Gouy 874bca74f5 Mac OS X: removed all uses of Carbon (except for older OS versions) and re-organized
text input around the NSTextInput protocol.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 16:50:34 +00:00
Manolo Gouy 29b06ba51b set file properties.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 15:31:09 +00:00
Albrecht Schlosser 335eb340ca More typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 14:54:20 +00:00
Albrecht Schlosser 0cf4899e78 Fixed typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 14:50:39 +00:00
Matthias Melcher 37002c6155 Changed checkers field color because pieces were close to invisibel on OS X. I hope this has no negative effect on very dark desktops... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 03:55:23 +00:00
Matthias Melcher e203237eb3 Integrated menu into demo resource branch for OS X. Indicating items that open more choices with ...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-02 03:50:54 +00:00
Matthias Melcher 5f2aa6ca9c Change colbrowser to btter conform to FLTK coding standards. For OS X bundle format, move the RGB file into the bundel.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 21:06:56 +00:00
Matthias Melcher 4be4baed6b native filchooser test now uses system colors and resizes nicely.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 20:27:07 +00:00
Matthias Melcher 028533b451 OS X adds a -psn_... argument to command line calls. Ignore that.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8164 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 20:17:58 +00:00
Matthias Melcher 4562798f69 Text sample field in utf8 test resizable
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 19:34:14 +00:00
Matthias Melcher 2f1b321054 Modified ut8 test program formatting to get closer to FLTK coding standards (2)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 19:04:26 +00:00
Matthias Melcher e43587256e Modified ut8 test program formatting to get closer to FLTK coding standards
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 18:57:37 +00:00
Matthias Melcher 199315aa31 Added resizability of the font display in the font demo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 18:48:32 +00:00
Albrecht Schlosser a506811400 Adjusted test/hello.cxx for potentially wider XFT fonts and changed the
code to match the documentation in basics.dox.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 13:23:25 +00:00
Matthias Melcher e3fde20cf8 Using FL_COMMAND in test/editor shortcuts to make it Mac Keyboard compatible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 03:24:35 +00:00
Albrecht Schlosser 6e1ce92c62 Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 15:35:33 +00:00
Albrecht Schlosser 5a2e5395b0 Updated dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 17:46:38 +00:00
Manolo Gouy a8530c73fa Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compile
client applications without including Mac OS system headers, with a gain in speed of 
compilation and portability. The source files of all FLTK libraries must now be compiled with 
-DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files
have been modified accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 14:24:29 +00:00
Greg Ercolano 99fe2b88e7 Added "Tab Nav" and "Arrow Nav" toggle to the test/input program.
Also, added tooltip to describe new "Arrow Nav" button in test/navigation program.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 02:37:41 +00:00
Matthias Melcher a8e8831559 Moved global FLTK options into Fluid until we find a better setup. Restored the original Preferences demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 22:19:24 +00:00
Ian MacArthur 1e9e3970bd File was changed to use FL_PATH_MAX so needed to have <FL/filename.H> added to the include files so that it would compile on WIN32 hosts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8075 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 13:57:11 +00:00
Matthias Melcher 9092dccab8 Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 21:20:10 +00:00
Greg Ercolano 0cd57058de Added toggle button to 'navigation' test program to control
new arrow focus behavior.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 23:21:32 +00:00
Manolo Gouy f451946d42 Homogenize use of re-encoding and transcoding (in favor of the latter).
Also, makes clear that the code is ready to deal with any encoding, not just fixed-length ones.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 17:38:39 +00:00
Albrecht Schlosser 895f80a0c7 Make sure that tooltips are always on in test/preferences, even if they
are disabled by system or user options. Otherwise users wouldn't get the
necessary tooltips if someone switched tooltips off.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 13:36:06 +00:00
Albrecht Schlosser eafeac5f98 Redefined NORMAL_INPUT_MOVE in src/Fl_Input.cxx to reflect the new option
Fl::option(Fl::OPTION_ARROW_FOCUS). Maybe this could improved, but this is
the shortest way to make the option work always.

Improved tooltips in test/preferences.fl for users and system managers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 13:02:36 +00:00
Albrecht Schlosser 80677ac290 Changed all #include "config.h" to #include <config.h>.
This is necessary for out-of-source builds (e.g. CMake) to work correctly.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 12:11:16 +00:00
Matthias Melcher 318b3dea57 Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 19:52:26 +00:00
Manolo Gouy 85a03a76c9 Fix STR #2348. Files encoded with UTF-8 or CP1252 are accepted. Any non-UTF-8-encoded
data is interpreted according to CP1252 and transcoded to UTF-8. By default, a warning
message is displayed when the input file was transcoded. This default behavior can be 
modified by changing a function pointer. A flag has been added to the Fl_Text_Buffer object
that informs the caller if the input file was transcoded to UTF-8.
The Fl_Text_Buffer.cxx file contains some preliminary code that could be used in the future
to input other encodings provided they are fixed-length (e.g., all ISO-8859-* character sets,
UTF-16). This code is not compiled at this point.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 19:24:28 +00:00
Albrecht Schlosser f9388a37df Removed unnecessary casts (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 23:58:32 +00:00
Albrecht Schlosser 97b4b0c704 Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:00:35 +00:00
Albrecht Schlosser e1cff96f1f Added Windows Resource Compiler ("RC") to configure/makeinclude for
easier cross-compiling (not yet fully supported).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 09:48:07 +00:00
Matthias Melcher 06e5a163cd Forgot to removed an unused line
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 17:42:48 +00:00
Matthias Melcher 52fcab2607 Fixed 'Fractal' demo. Tree's were not random at all.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 15:39:31 +00:00
Albrecht Schlosser f6975396a8 Reverted unintenional change of test/editor.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-04 12:06:29 +00:00
Albrecht Schlosser 2db2db587c Fixed typos and reformatted some lines that were longer than 80 characters.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-04 12:03:08 +00:00
Albrecht Schlosser 8c56fc7e22 Updated CMake files with patches from Michael Surette (STR #2317).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 10:34:43 +00:00
Greg Ercolano 4327734e69 More copyright 2010 mods.
Used: vi `grep -r 'Copyright .*Spitzak' . | grep -v 2010 | grep -v '/\.svn' | cut -d: -f1`


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-29 18:18:27 +00:00
Matthias Melcher a803cec1b7 Fixed even more Copyright to 2010. Probably still forgot some.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:28:30 +00:00
Matthias Melcher 7fc05e3505 Fixed more Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:12:59 +00:00
Matthias Melcher e454f97acc Fixed Copyright to 2010.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28 21:06:39 +00:00
Matthias Melcher f560b71b0a Fixed Fl_Text_Display Tabulator calculations (STR #2450)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 21:15:52 +00:00
Matthias Melcher 1a793cdbc3 Tab is now alway 8 characters wide.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 20:49:27 +00:00
Matthias Melcher c6e46fed45 Preliminary implementation of Tab characters insisde Fl_Text-*. We still need to test wrapping, etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 20:13:10 +00:00
Greg Ercolano d3e0d030f0 Changes to solve STR#2426;
1) Hitting ENTER to select an item should make sure the item is
	   displayed if off-screen (Mayank Malik, pointing out similar behavior in Fl_Browser_)

        2) show_item() without a positional argument will invoke show_item_top()
	   if the item is off-screen.

	3) Added new method displayed() (to match Fl_Browser_'s)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-25 18:52:37 +00:00
Albrecht Schlosser e7c17c4010 Line style test is now movable to be able to test line clipping.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-23 15:00:06 +00:00
Matthias Melcher 1e77c19688 Fixed file access code to use UTF-8 strings (STR #2440)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:00:01 +00:00
Matthias Melcher 8224a775ac Made Mandelbrot window single buffered again
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 20:13:17 +00:00
Matthias Melcher 4cfee0c9c2 Removed preset theme from tree test, so that launching the test with the demo app can show the various available themes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 08:44:28 +00:00
Matthias Melcher 917e5991db Removed UTF-8 codes that would make the SGI compiler crash. STR 2439.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 15:57:49 +00:00
Matthias Melcher e7c93053b6 Added visual indication for buttons activated by a keyboard shortcut (STR 2372
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 11:02:18 +00:00
Matthias Melcher 2e3037f895 Applied Domingo's suggestion for formatted Fluid output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 15:55:09 +00:00
Matthias Melcher 32f48c3033 Fixed missing internationalisation of menus generate by Fluid (STR #2246)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 11:55:10 +00:00
Matthias Melcher 35c8c77e5e This should fix all remaining issues with Fl_Text_*. Wrapping is no pixel aligned. Pressing up and down will be pixle bound. A few crashes removed (we still crash with faulty UTF-8svn diff | grep Index:). Fixed blinking selection when outside the widget. Added dnd sending and receiving.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 19:08:52 +00:00
Matthias Melcher f099311481 Better alignment testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 23:58:57 +00:00
Matthias Melcher 0fb4feb11a Working on correct line wrapping in Fl_Text_Display: starting to replace all byte based charracter calculations with utf8 functions. Current version wraps, but scroll bars are wrong. Non-wrapping text display starts to work better.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 00:29:58 +00:00
Matthias Melcher 38dcb5a463 Starting to rework Fl_Text_Display from scratch to make wrapping work correctly. Fixed a few issues that made wrapping crash. Using ASCII range only with fixed character sizes should still wrap as expected?!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-04 21:53:56 +00:00
Matthias Melcher cac40a9b02 STR 2158: partially solved. This commit is huge, I admit. I recoded most of Fl_Text_Buffer and large chunks of Fl_Text_Display to make it UTF-8 safe. Rendering of all left-to-right scripts works well on OS X for all tested fonts. International input works AFAIK. Copy and paste of UTF-8 data works. ----> what's not working yet though is line wrapping. Also, text search for internationsl characters is not working yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-03 22:01:43 +00:00
Greg Ercolano 5a461b0ff4 Some widgets reordered for consistent keyboard navigation in tree test program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 16:54:00 +00:00
Matthias Melcher 8ad7e5ccc0 Added callback when double-clicking file in a file chooser (STR#2346)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 21:52:38 +00:00
Matthias Melcher b5a73c78e6 Fixed label alignment (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 21:32:15 +00:00
Matthias Melcher 9b6f68dd7c Added interface to set color chooser mode (STR #2407)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:16:43 +00:00
Matthias Melcher 8f79d200a0 Fixed the remaining warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-28 21:47:01 +00:00
Matthias Melcher 1b6dae10bf Removing compiler warnings in test apps
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-28 18:10:17 +00:00
Matthias Melcher bfeac78693 Trying to bring the Xcode 3 OS X builds to a better standard, including automatic builds and project templates. 1 of 3 done.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-24 20:53:36 +00:00
yuri 757752d164 add rotated_text example to demo menu
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-24 19:11:08 +00:00
Greg Ercolano e778cc3351 gets() -> fgets(), added ctype.h include for toupper() when VT100 mode enabled.
TODO: Other fixes needed to get VT100 mode to compile on latest linux releases..



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-11 01:49:20 +00:00
Greg Ercolano 9e82db43ae gets() -> fgets()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-11 01:41:50 +00:00
Greg Ercolano 2eb064fa45 Small mod to Silence compiler warnings on Tiger/OSX (STR#2428)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-09 01:31:38 +00:00
Greg Ercolano c7ef0f1d17 Fl_Tree related mods
* open() / close() now can invoke the callback().
      New method callback_reason() lets one determine the cause.
      (Used FLU's tree for reference on this)

    * new Fl_Tree methods:
      > item_pathname()
      > show_item(), show_top(), show_middle(), show_bottom().
      > next_selected_item() -- loop through the selected items.
      > callback_item() -- the item that caused the callback
      > callback_reason() -- reason the callback was invoked
             FL_TREE_REASON_SELECTED    -- item was selected
             FL_TREE_REASON_DESELECTED  -- item was de-selected
             FL_TREE_REASON_OPENED      -- item was opened
             FL_TREE_REASON_CLOSED      -- item was closed
      > position()
      > display()

    * new Fl_Tree_Item methods:
      > find_child_item() -- searches children for a path
      > find_item()       -- searches self and children for a path
      > next(item)        -- loop forward through tree
      > prev(item)        -- loop backward through tree
      > first_selected_item()
      > next_selected_item()
      > x(), y(), w(), h()

    * deprecated:
      > item_clicked().  Use callback_item() instead

    * the 'docallback' optional integer argument for all methods
      is now back to 0 or 1 only. (Other values became unnecessary
      when above new callback() behavior was defined)

    * test/tree has new "Test Callback Flags" button to test the
      'docallback' flags for eg. open/close/select/deselect
      to make sure no bugs creep in.

    * INTERNAL: added free_path() to free special path array created by parse_path().

    * Various docs strengthened:
	* How to use first()/next() and last()/prev() to walk tree
    	> made sure more method's options use \param[in]
	> Added more \see references

    * Moved several implementations from .H -> .cxx
    * Added autoscroll to keyboard nav and mouse drags
    * test/unittests: added Fl_Tree to scrollsize test

        TODO:
	    o Horiz scroll bar (see Johannes Schock's email re. additions he sent)
	    o Need to allow keyboard nav to move focus to child FLTK widgets
	    o Fix fast-selections so that no gaps are left behind.
	      (Select all items from the last selected item to the current)
	    o Investigate non-default values of when() causing odd behavior.
	      (See the tree demo's when() pulldown..)

    * tree demo modified to include top/mid/bot buttons that test the above.

    * Keyboard navigation added:
		Up/Down       -- move focus
		Left/Right    -- closes/opens tree item in focus
		Spacebar      -- toggle selection state of item in focus
		Enter         -- selects the item in focus, deselecting all others
		Tab/Shift-Tab -- change widget focus

    * All Fl_Tree select() and deselect() methods now return a value
      that indicates if the item's state was changed.

    * Fixed focus box drawing (focus box resides more precisely within item's box)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-08-26 13:32:30 +00:00
Albrecht Schlosser 9f1fdb0887 made test/editors textsize "configurable" (by macro TS)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-08-24 08:12:50 +00:00
Albrecht Schlosser 6bd9230bcf Updated CMake files and removed now obsolete test/tree.cxx and
test/tree.h files.
Note: CMake not yet tested with these modifications.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 14:25:46 +00:00
Albrecht Schlosser faf8908684 Fixed typos and rewrote tree.fl -> tree.cxx/.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 10:51:54 +00:00
Matthias Melcher 32716d6b1e Updated the Fluid IDE support for the current source file structure. Changed the Fl_Tree rendering code around a bit to make the tree more like MSWindows on Windows and more like Apple on Apple machines. I hope you guys like it. I also moved the function to load Fl_Preferences into an Fl_Tree into the Fl_Tree class where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 09:44:45 +00:00
Greg Ercolano 41f7ed5477 Reordered widgets for proper keyboard navigation.
(in progress: adding keyboard nav to Fl_Tree)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-14 02:02:33 +00:00
Greg Ercolano a42b56fbe8 Added tree.fl -- the source file for tree.cxx / tree.h
In the future, tree.cxx and tree.h should be removed from svn
once tree.fl is merged into to the build system, so that it
generates the .cxx/.h files as part of an fltk build.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-14 01:58:56 +00:00
Albrecht Schlosser 63e6eb4ecb Removed yellow color from image background.
This was useful for printer testing only.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-09 09:37:49 +00:00
Greg Ercolano 35dc0ce4b6 README file modified to include an as-is disclaimer and BUGS section.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-07 01:56:44 +00:00
Albrecht Schlosser 27d9926856 Fixed dependencies for next snapshot.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-28 07:39:27 +00:00
Manolo Gouy b6d9a8c15f Changed following new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:45:22 +00:00
Manolo Gouy b7a566bdfc Changes following new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:44:01 +00:00
Ian MacArthur 97c314c46d Typo in tree.h - needs to call fl_ask.H (not fl_ask.h)
Greg - if this is from fluid, the fluid input file may be wrong?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-14 17:31:18 +00:00
Greg Ercolano 22f5929a2c Header file for tree test app mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:59:09 +00:00
Greg Ercolano 9d7b177e25 Various callback related tests added to 'tree' test program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:58:22 +00:00
Greg Ercolano 1f6d222cb8 1) Modified tree test program to include when() options,
2) Improved when() handling for left mouse behavior
3) Added docs for when() handling



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 22:51:01 +00:00
Greg Ercolano c4fd0d2900 Added 'When:' chooser to tree test program detect callback() behavior.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 21:07:05 +00:00
Matthias Melcher f62fa46736 Fixes to VisualC6 project setup
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-02 21:12:55 +00:00
Greg Ercolano 4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
Albrecht Schlosser 1ad2e5bf81 Added missing examples in CMake files: applied missing_examples_7473.patch
(STR #2317).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 15:09:04 +00:00
Manolo Gouy e0c8890874 Back to use of fl_file_chooser()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 12:58:42 +00:00
Manolo Gouy 590020a945 Replaced fl_file_chooser() by Fl_Native_File_Chooser uses in test programs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7509 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 11:27:15 +00:00
Albrecht Schlosser 9604b556b8 Updating dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 10:24:32 +00:00
Matthias Melcher f899c3897d Added new flags for label alignment: FL_LEFT_TOP, FL_RIGHT_TOP, FL_LEFT_BOTTOM, and FL_RIGHT_BOTTOM align outside labels first to the side, then to the top or botton, filling a gap in possible alignment. Also FL_ALIGN_TEXT_NEXT_TO_IMAGE and FL_ALIGN_IMAGE_NEXT_TO_TEXT which do just that, and finally FL_ALIGN_IMAGE_BACKDROP which renders the image in the background and draws the label on top.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 23:17:33 +00:00
Albrecht Schlosser a0d26b634a Mostly rewritten CMake files by Michael Surette. They are more complete
than what we had previously, but may need some more testing. The latest
changes (removing old APPLE_QD definitions and code) might need another
update.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:33:58 +00:00
Matthias Melcher 769ebeeba7 Tearing my hairs out about terminology in utf-8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 12:55:14 +00:00
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
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
Matthias Melcher a6e76c29fd Cahngad copyrights in 'test'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:35:13 +00:00
Matthias Melcher 167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Matthias Melcher 6b3f61e3ff In the configuration setp, LIBNAME (which contains the local path of the library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 19:45:46 +00:00
Albrecht Schlosser 1cfa95ae79 This is a complete rewrite of the "X Color Browser" demo program
(colbrowser.cxx) without dependencies on (X)Forms compatibility methods.

The previous version can still be retrieved from svn (up to -r 6605) and
from the FLTK 1.1 branch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-27 20:27:03 +00:00
Matthias Melcher fad309329b STR #2113: added sorting and a few other functions to Fl_Browser_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 21:20:38 +00:00
Albrecht Schlosser 1b788c8c14 Coordinate transformations in test programs to avoid using the old
Fl_Group::forms_end() method, because this _may_ be removed later.
Replaced forms_end() with end().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 15:38:52 +00:00
Albrecht Schlosser 4495388e8d test/line_style: Added shortcut (&Line) for better "line on/off" testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 15:01:57 +00:00
Albrecht Schlosser 60b723c00c simplified and removed an extraneous statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 14:05:36 +00:00
Albrecht Schlosser 0aacaeb2c2 Improved line_style test program to draw an optional 1-pixel line drawing
over the existing one to be able to see the real coordinates of the lines.
With line width > 1 and different colors it is now possible to see and
compare line offsets to the left/right/top/bottom of lines.

This has been inspired by the discussion in fltk.general, see link:
http://www.fltk.org/newsgroups.php?gfltk.general+v:27131


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 13:48:14 +00:00
Fabien Costantini 4047f3dba7 Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:11:04 +00:00
Albrecht Schlosser fbea5019fb Replaced all occurrences of the deprecated fl_clip() function by
fl_push_clip().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 14:59:52 +00:00
Albrecht Schlosser e907ce4a11 STR 2079, part 1: Improved test/subwindow.cxx
- removed confusing character output (define DEBUG_POS for testing)
- included FL/names.h instead of hand-made eventnames array
- added more input widgets for better dnd and focus testing


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06 13:02:49 +00:00
Fabien Costantini 655f7c41a2 Added functionalities to the radio (Button) test program so that we can use it as a more complete test case:
+ Added shortcuts
  + Added Tooltips to help user understand what differs in each example
  + Added a button callback and a text output to visualize it in the demo
  + Added a Normal button with a changed state as we did not test that before
This is going to be immediately useful for STR#2026 review and fix.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-05 14:59:10 +00:00
Fabien Costantini 9225a43f9f Corrected new documentation local (build) path so that index.html can be found in test programs when no env variable is set. Added svn:ignore filters to test and lib subdirs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-02 13:19:13 +00:00
Fabien Costantini 29ff9d8936 Reverted my own modified test/Makefile for more utf9 test because it is not finished yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:08:30 +00:00
Fabien Costantini 250090b3f0 More optimisation and cleanup for the PNG lib handling in configure.in. Also reordered the variables the same way in the main if test code so that differences now are obvious between the two modes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-10 22:03:55 +00:00
Matthias Melcher 0490b30383 Fixed adding an idle handler during a draw() call (STR #1950)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:15:32 +00:00
Fabien Costantini 268ffc6ef2 Cairo increment 2: Finer cairo granularity, less deps, new fltk_cairo lib
+ added new USE_CAIRO config preprocessor def. 
   to differentiate from HAVE_CAIRO so that we can use the cairo lib 
   without forcing the full fltk lib to be linked against it.
   In that case, cairo autolink context functionality which needs fltk lib 
   instrumentation is disabled.
 + added new --enable-cairoext, which correspond to previous --enable-cairo.
   now, --enable-cairo only adds HAVE_CAIRO def. and keeps fltk lib
   from referencing cairo.
   In both cases (--enable-cairo & --enable-cairoext), a new fltk_cairo lib is 
   created. This lib, similarly to local versions of png,jpeg and zlib, 
   is not generated if cairo is not enabled.
 + added cairo to fltk-config : now new --use-cairo flag is available
 + modified all unix like makefiles to now generate minimum cairo deps and also
   new libfltk_cairo lib.
 + added new cairo subdir to permit conditional fltk_cairo lib generation. 
 + vc2005 project minimum update to compile without be broken, but still needs
   to create a similar fltk_cairo independent lib. For now, it works as before
   with a dedicated cairo env. similar to --enable-cairoext context in unix.
 + regression tested ok with cairo disabled on win32, mac osx, mingw.
  


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 01:42:35 +00:00
Fabien Costantini cf001ac338 STR#2051 fix: Tile would still change the mouse cursor when inactive.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-05 17:21:08 +00:00
Fabien Costantini 5fcfaa2fa1 Doxygen documentation: more paranoid fixes and complements in common dialogs. Added new test cases in the ask demo now featuring fl_message() and fl_password() API, made fl_choice() more specific about its return value tests in caller (also added a third button).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 12:00:16 +00:00
Fabien Costantini ffad932289 + Cairo branch merged after successful testing on Mac OS X 10.5.4, Linux Ubuntu 8.04,Windows XPSP2.
This integration is minimum as discussed, in particular it does not feature any fltk cairo drawing substitution
  as in fltk2.
  Still it provides all the fundations to go further even in next 1.4 ... 
  By default *no* cairo features are implemented nor linked, it can only be activated by --enable-cairo
  whose default is false.
  Please visit the README.cairo for complete description.

+ fixed UTF8 compilation pb on linux ubuntu

+ minor comments fixes on the fly



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-25 18:26:33 +00:00
Matthias Melcher e8f467b9e3 Updating fl_utf8.h references. Fixing copyright date in .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 17:40:20 +00:00
Fabien Costantini ae697b80b2 Doxygen documentation : took the opportunity to update copyright info as we modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16 07:26:22 +00:00
Matthias Melcher 483dab9e92 Remove compile-time dependency on Imm32.dll on Win32. I have no MSWindows machine here, so this code is likely to contain one or more typos... . When working, this will take the burdon of linking to imm32 away, so that existing makefiles will need no changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 11:14:06 +00:00
Matthias Melcher cf61ea83a4 Remove mcast and dnd test programs. I do like them and they should be back eventually, however right now they ae not in the scope of the UTF8 port.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-11 10:38:40 +00:00
Matthias Melcher b6bde2e456 Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10 23:56:49 +00:00
Albrecht Schlosser eee7fe5775 made the window its own resizable() for better resize testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-02 21:42:36 +00:00
Fabien Costantini 0174324bdf STR2025 fix:now both debug and release mode compiles beautifully, demo compile and works with its bundled file. Hardcoded debug paths in fluid sh invocation have been set to TARGET_BUILD_DIR variable so that it now works in debug and in release mode properly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-25 17:01:31 +00:00
Michael R Sweet ba2e9f3375 Make --post create a basic Mac OS X application bundle with a shell script
that executes the bundled program.

Change the defaults for Quartz, threading, large file support, XDBE, Xft,
and Xinerama to "yes".

Remove the old Mac OS X resource fork file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-07-13 21:39:07 +00:00
Matthias Melcher 466ba461f1 Added first half of XCode 3.0 IDE support for FLTK 1.3. FLTK is built as a set of frameworks. Fluid will be used to compile .fl files just in time.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-13 14:48:28 +00:00
yuri 1488c10f7e STR # 1908 - usage example
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-05-01 18:04:41 +00:00
Matthias Melcher a19a1da794 Text_Display was using a wrong border margin STR 1909
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:10:22 +00:00
Matthias Melcher 8198e51799 Added support for keyboard shortcuts to Fl_Input_ derived widgets (STR #1770). Code added for Fluid. Documentation updated.
This commit must be considered partial because there is no shortcut handling for Fl_Text_Display derived widgets or Fl_Value_Input which is derived form Fl_Valuator.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 23:33:17 +00:00
Matthias Melcher 6a143b1f61 Applying 1.1.9 changes to the 1.3 branch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-22 18:11:51 +00:00
Matthias Melcher 232ef4e159 Updated 1.3 with changes from 1.1.9
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-12 19:16:19 +00:00
Matthias Melcher 8902c1ca6a Added missing semicolons in desktop file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6071 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-16 12:20:30 +00:00
Matthias Melcher 6b53adbf41 STR 1896: updated categories in the KDE desktop files
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-16 12:07:41 +00:00
Matthias Melcher a87355980e STR 1885: fixed silly bugs in Sudoku
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 20:37:01 +00:00
Matthias Melcher 9c538a4b2e STR 1883: Attempt to fix installation of binaries in .app bundle on platforms other than OS X. Must be tested with Cygwin and on Linux!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:26:08 +00:00
Matthias Melcher 5382d3c8d5 STR 1795: applied patch to fix Icon path settings. Will try on my Linux machine next.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 14:43:34 +00:00
Matthias Melcher 491ab820f6 Fixing previousy destroyed hello.cxx - dummy me
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:36:38 +00:00
Matthias Melcher 272b19ff34 STR #1868: fixed horizontal scrolbar in help view thanks to wavexx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:23:56 +00:00
Matthias Melcher 61e1a616b3 Fixed wrong version of hello.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-10 21:56:46 +00:00
Matthias Melcher 923f9fe353 STR #1854: fixed win32 issue with possible NULL pointer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-10 21:53:34 +00:00
Matthias Melcher b92ee9f21c Fixed some typos and some funny language (my own) in the documentation of the test applications. ADded a hidden [+] key support for 'Blocks' so that I can increase the level to my prefered one (6) and not have to play through 1-5 ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 14:14:13 +00:00
Matthias Melcher c1d5dc3b19 Fixed previously damaged 'hello.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:04:01 +00:00
Matthias Melcher 05cf7832af STR #1792: fixed documentation of FL_HORIZONTAL vs. the correct Fl_Pack::HORIZONTAL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:58:45 +00:00
Matthias Melcher 3c62765e3a #1706: changed test/tile to expose issues with reversed order of 'show'. Changed Fluid to disallow a widget class inside a widget class, because Fluid has no subwindow support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 09:35:42 +00:00
Matthias Melcher 5d7d16cc8c Making sure that the 'changed' flag is set on every menu pulldown. (STR #1693)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5890 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:38:49 +00:00
Matthias Melcher abde88e220 On OS X: disable all 'deprecated' warnings to be able to see the really important warnings. Nevertheless, we will have to replace all Carbon calls as soon as possible. Also re-fixed (i hope) the 'return' from an endless loop in 'threads.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:32:37 +00:00
Michael R Sweet d8c288df3e Fix compiler warnings/errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:18:31 +00:00
Michael R Sweet 56a50b9f0e Rats, Sun's compilers error out if there is no return statement in the
thread function, so we'll have to just live with the "statement unreachable"
warning...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:03:55 +00:00
Matthias Melcher 7697347fd4 Missing underscore in previous commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 15:26:09 +00:00
Michael R Sweet 73d01dd659 Fix all compiler warnings from various build systems.
Fix vsnprintf() implementation to properly handle long and long long ints.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 00:01:06 +00:00
Matthias Melcher 8f8882a084 Reverted my changes in the message dialog boxes. Reapplied the static size icon, fixing it to 50x50 pixels and avoiding the superlarge bang on long texts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 12:42:39 +00:00
Matthias Melcher b4b6776d8f Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626)
Fixed selection of first word in Fl_Help_View


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 23:20:39 +00:00
Matthias Melcher 82195b6d68 STR #1641: fixing 'make clean'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:22:59 +00:00
Matthias Melcher 488f27d1eb STR #1652: allowing shortcuts in tabs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:20:21 +00:00
Matthias Melcher 18f2016b1f Removed the Fl::set_awake_cb API and documented the Fl::awake(function, data) API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 10:41:14 +00:00
Michael R Sweet 24c9f071b3 Fix include name...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5735 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-09 16:33:13 +00:00
Matthias Melcher 11a15d83a2 This is a suggested change. It is complete except for documentation.
I did not like the awake_cb system at all. These changes implement Fl::awake(Fl_Awake_Handler, void*) which is called from a thread and tells the main loop to call the specified handler (rather a callback I guess) as soon as possible from within the main thread. It is implemented as Fifo (currently 1024 entry ring buffer), so handlers are called in the order that they are generated in.

"test/threads" was modified to change the label color as soon as a thread reaches 10000 - pretty boring, but it show the wonderful simplicity of this approach: you can write libraries that don't need to add to the main loop or register a handler at all... .

I will do some more stress testing tonight.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:15:03 +00:00
Matthias Melcher 6df72e8979 STR #1623: restored the unloved POSTBUILD command because the reulting executable is still better than the automatically foregrounding one. The 'right thing' is to create a bundle anyways.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:03:25 +00:00
Matthias Melcher c47b4c91ae Avoiding to wait forever under Cygwin. (STR #1608)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 19:27:43 +00:00
Matthias Melcher f178a4c577 Stopped test/keyboard consuming 100% cpu.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 15:49:38 +00:00
Michael R Sweet 00c66abc0e Update copyright years and use "#ifndef" instead of "#if !defined".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 18:43:10 +00:00
Matthias Melcher 8ea59b412e Fixed Watcom compiler setup without verification using a patch by mnieuw
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 17:02:41 +00:00
Matthias Melcher 8adb964b48 Updated log message when generating source files from an .fl file. (STR #1600).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 13:55:58 +00:00
Matthias Melcher b3dd53585e Updated log message when generating source files from an .fl file. (STR #1600).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-13 13:54:56 +00:00
Michael R Sweet b5d637a4cd Clean up threads example, use new set_awake_cb().
Update chapter 10 of the documentation to provide cleaner examples.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-12 16:00:28 +00:00
Michael R Sweet 1dd28f6e4b Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 14:31:12 +00:00
Michael R Sweet 3d54048d52 Add "mute sound" option to sudoku game, on request from a user.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 16:37:03 +00:00
Matthias Melcher 624e885b24 STR #1584: even smarter mouse pointer hiding. I also fixed two little historic bugs in "ask" (double adding a widget, and not using "label.obj()" instead of "copy_label()" for non-static buffer. Lastly, I changed "boxtype" to use a Double_Window because it has become so big now that it started flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 07:58:47 +00:00
Michael R Sweet 58cfbc6c82 Use INSTALL_BIN instead of CP for Mac OS bundles...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 21:46:02 +00:00
Michael R Sweet 44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Matthias Melcher ecdd893933 - Added automated little helpers to Sudoku
(Menu Difficulty->add helpers)
- Added example code for Wizard with the
  Tabs demo (STR #1564)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 12:03:36 +00:00
Matthias Melcher bb6f36cffe GLPuzzle kept on solving, keeping the CPU busy and my legs warm (Laptop) (STR #1527)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 20:26:53 +00:00
Matthias Melcher 49e0997c9d mandelbrot demo uses single buffering. Doublebuffering needs to be done differently in this particular case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:37:25 +00:00
Matthias Melcher fbd01308b9 Fixed Quartz image drawing and screen reading
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:25:09 +00:00
Matthias Melcher 01af5901b0 Fixed modified .fl file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:41:27 +00:00
Matthias Melcher 5411396ea6 Fixed mousewheel event propagation (STR #1521)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:40:37 +00:00
Matthias Melcher 2c16ddb964 Fixed silly bug in OS X that would free a pixmap multiple times within Fl_RGB_Image::unchache.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-21 22:39:11 +00:00
Matthias Melcher 549ef06358 STR #1467: explained tooltip inheritance - and how to avoid it).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-29 09:46:43 +00:00
Michael R Sweet 5ae7999e41 Move icons for blocks game to the right directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-13 20:19:17 +00:00
Michael R Sweet b5b97b305f Make sure all of the demos use the scheme, and add a scheme chooser to the
demo program.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 03:12:15 +00:00
Michael R Sweet 7b15f5b159 Fix install-linux target in test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07 11:32:22 +00:00
Michael R Sweet 7febae3f9e Add GTK thin up/down box/frame types.
Update the GTK round up/down box types.

Update radio/check box drawing for gtk+ scheme.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 02:35:12 +00:00
Michael R Sweet 5e39761d40 Fix void * to integer casts for 64-bit Intel systems (STR #1446)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-30 03:34:32 +00:00
Matthias Melcher 7a60537122 STR 1424: attempt to make test/Makefile more roboust for time shifts in fluid generated code
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-19 08:38:53 +00:00
Matthias Melcher 36d32a9ec9 Decluttered Fluid Widget Bin to look good w/Mike new GTK+ scheme. Thanks Mike!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 18:31:35 +00:00
Matthias Melcher 4b50eb2244 Restoring the accidentaly destroyed hello.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 10:29:31 +00:00
Matthias Melcher bfe61f036a STR #1410: fl_file_chooser could crash after a previously canceled dialog
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 09:57:41 +00:00
Matthias Melcher 7ae0ff0240 Updated OSX subwindow simulation code to better add and remove from the clipping list
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 11:03:05 +00:00
Matthias Melcher 00ec9da8f5 - removed more inconsistencies between fl_draw and fl_measure (STR #1408)
- made the Tooltip hide code a little bit smarter
- Added subwindow test case to Fl_Tabs

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 10:04:02 +00:00
Michael R Sweet cb0d6f8f03 Fix blocks crashes on WIN32 - audio buffer too small
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-28 14:45:20 +00:00
Michael R Sweet ed0ce675d1 Add missing Gimp source image for block images.
Add blocks.* to the ignore list...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-28 11:55:49 +00:00
Michael R Sweet 8bec5ff1e0 Don't accept clicks when paused.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 20:25:37 +00:00
Michael R Sweet e01c0e8079 Tweak the blocks game some more, and fix the coding style to conform to the
FLTK coding standards.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 20:01:24 +00:00
Michael R Sweet f3088c4f8d Workaround HP-UX compiler bug by making Blocks and Columns structures public.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 13:14:24 +00:00
Michael R Sweet 73232e0b20 Make all XPM files use const char * arrays...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 13:06:15 +00:00
Michael R Sweet 9c045681c5 Fix <FL/glu.h> includes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 16:12:13 +00:00
Matthias Melcher 78547a5267 Added Blocks to the VC6 project file and set dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 10:12:33 +00:00
Matthias Melcher 8cd9871d19 Added unversal header for OpenGL's GLu library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 10:05:20 +00:00