Commit Graph

1264 Commits

Author SHA1 Message Date
Matthias Melcher ffbe1b76b1 Fixed xclass support for Fl_Window (STR #2053)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 22:17:40 +00:00
Matthias Melcher e91fe6e6d5 Fixed Caps Lock handling in X11/XIM (STR #2366)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 21:15:27 +00:00
Matthias Melcher bc1928bbc0 Fixed handling of missing fonts in Xft (STR #2355)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 22:13:13 +00:00
Matthias Melcher e10019c64b Added alternative Xft font names (STR #2215)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:50:24 +00:00
Matthias Melcher 160973c876 Update lib png access (STR #2442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:17:31 +00:00
Matthias Melcher 6e863f844d Fixed OpenGL hide/show issue in OS X (STR #2260)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 17:28:48 +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 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
engelsman 473d8af1a4 Added mouse!=0 check in Fl_Glut_Window::handle (STR #2381)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 18:22:43 +00:00
Albrecht Schlosser 2105f203f1 Fixed menu and shortcut handling (STR #2243). This partly reverts the
fix for STR #2199 - for details see STR #2243.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 09:12:05 +00:00
Albrecht Schlosser 3cf2305b5c removed support for gcc 2.x (or older), as discussed in fltk.development
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 08:38:36 +00:00
engelsman db8d9893eb Fixed fltk-config to give --use on one line (STR #2408)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-10 21:18:17 +00:00
Matthias Melcher 1e26ada2c5 Fixed tab key navigation to inactive widgets (STR #2420), fixed a few pedantic warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 20:47:50 +00:00
Matthias Melcher 48f107775d Fixed outside label redraw damage areas (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 19:35:23 +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 f1f1d8ed42 STR 2382: Fixed compile errors when HAVE_LIBJPEG was not defined
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:01:16 +00:00
Matthias Melcher 8e30c66a92 Fixed special handling for ISO back-tab keycode (STR #2369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:56:20 +00:00
Matthias Melcher 6017a6fae6 STR 2348: fixed possibly wrong relative path
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:46:05 +00:00
Matthias Melcher e923015b01 STR 2370: fixed static allocation in Fl_Tabs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:28:17 +00:00
Albrecht Schlosser b010bce1af Fixed unbalanced Windows OleInitialize/OleUnitialize calls
when loading/unloading the FLTK dll (STR #2417)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-09-27 14:57:53 +00:00
Albrecht Schlosser 755f354ebe Fixed X11/XDBE double buffering (STR #2152, #2197). Both bugs could only be
seen if configure was run with --enable-xdbe (default in FLTK 1.3, optional
in FLTK 1.1).

src/Fl_Double_Window.cxx/Fl_Double_Window::resize():

	STR #2152: deallocate back buffer when window is enlarged in any
	dimension to force allocation of a new back buffer. This appears
	to be necessary for some window managers (e.g. Cygwin).

src/Fl_Overlay_Window.cxx/Fl_Overlay_Window::flush() and
src/Fl_Double_Window.cxx/Fl_Double_Window::flush():

	STR #2197: make sure that the entire overlay window will be drawn
	after a window redraw, because Fl_Double_Window::flush(1) erases
	the overlay as documented.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-09 08:36:25 +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
Greg Ercolano cba451be45 Doc sync.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 17:55:45 +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
Matthias Melcher efd09a5a70 Added some more information on event delivery (STR 1983)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 19:24:49 +00:00
Albrecht Schlosser 7f37821bae Fixed indentation of previous commit and added CHANGES info (STR #2082).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 20:20:18 +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
Albrecht Schlosser 4a086a3809 Fixed max. fd calculation, if USE_POLL is enabled (STR #2324).
This could maybe be removed completely, but anyway...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 19:11:49 +00:00
Matthias Melcher 4f1722eb55 STR #2330: offscreen bitmap cliping was flipped in OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 14:37:02 +00:00
Albrecht Schlosser 75b8da3813 Updated CHANGES file with Fl_Device and Fl_Printer support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 19:41:24 +00:00
Albrecht Schlosser 6a70031647 Removed saving the flags() in Fl_Window::iconlabel(const char *iname) because
this could result in wrong flags() contents after return. Fl_Widget::label()
(that is called internally) takes care of copied labels and sets the flags()
appropriately. See also STR #2161.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-28 14:57:10 +00:00
Matthias Melcher 2668a87af7 Fixed Scrollbar events when max is less than min (STR #2283)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 20:44:35 +00:00
Matthias Melcher 5fdf6300dd Added argument-less constructor in Fuid Widget Class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:40:10 +00:00
Matthias Melcher 4a802a3159 Fixed menu item counting issue in Fluid (STR #2322), Added Fl_Menu_::find_item by callback
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:03:21 +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
Matthias Melcher f59cd1f4aa Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:40:15 +00:00
Matthias Melcher 0ec12cc9c4 Fixed sorting in Fl_Browser - last item would not be sorted (STR #2300)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:25:54 +00:00
Matthias Melcher b416a027cf Fixed window levels in OS X Cocoa (STR #2316)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:21:20 +00:00
Matthias Melcher 795b2c6356 Added jpeg loading from memory. Added jpeg Fl_Widget->image() support for Fluid - but linking to fltk_images is required if this feature is used!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 11:38:42 +00:00
Matthias Melcher fb1b0fab0a Added new type 'Binary Data' to Fluid. Use this to include an arbitrary file as a byte array into your source code. Changes to load jpegs etc. from program memory will follow.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15 16:43:51 +00:00
Albrecht Schlosser ee36ebc394 Reverting previous change (optimization of Fl_Group::clear),
because fl_throw_focus and fl_fix_focus would send events
that could access deleted widgets. This must be fixed first.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07 21:14:35 +00:00
Albrecht Schlosser ce7da76d6a Optimized Fl_Group::clear() and Fl_Scroll::clear() as discussed in
fltk.development in "Fl_Group::clear SLOW!" on Feb. 06/07, 2010 (no STR)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07 18:52:26 +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 430eab49b7 Fixed a buffer overflow in fl_utf8from_mb() (STR #2279).
Todo: fix _WIN32 vs. WIN32 compiler macro issues.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-22 16:56:34 +00:00
Albrecht Schlosser 21235502c3 Fixed a Windows GDI leak when testing alpha blending capabilities,
simplified code by removing an obsolete if clause.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-15 14:29:48 +00:00
Albrecht Schlosser 9a505ef44c Fixed a name conflict with new (VC 2008 Express) winsock2.h versions
(POLLIN, POLLOUT, POLLERR) and another conflict (FORCE_POSITION flag) that
produced compile errors with VC 2008 (STR #2301).

Removed remaining code of the obsolete WSAAsyncSelect call from Fl_win32.cxx.

Removed some obsolete html tags from FL/Fl_Window.H and fixed some typos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-24 11:40:26 +00:00
Albrecht Schlosser 954fba25c8 Widgets now remove stale entries from the default callback queue
(see Fl::readqueue()) when they are deleted (STR #2302)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-23 12:53:45 +00:00
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 dbd1dcde3c Added a template for Xcode that can be installed and provides a very quick way of generating new FLTK applications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6937 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-16 22:52:42 +00:00
Matthias Melcher c26809e0ea Consolidated all possible flag values into a single enum in Fl_Widget (STR #2161)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27 12:06:35 +00:00
Matthias Melcher c8adc2fdde Fixed a few minor issues with Xcode builds. Fixed all color related call to Fl_Color type (STR #2208). Changed Fl_Color back to typedef unsigned.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27 11:06:56 +00:00
Matthias Melcher b12b5134a3 File Chooser now also recognizes utf8 encoded text files. STR 2218.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23 21:32:23 +00:00
Matthias Melcher e0831b530f Empty functions in Fluid no onger create an implementation (STR 2259)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23 20:08:30 +00:00
Matthias Melcher bcd43ecb7d Fixed Fluid dependency on X11 (STR #226)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23 19:24:34 +00:00
Albrecht Schlosser af556fc53b Updated the bundled libpng to v1.2.40 (released Sep. 10, 2009).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-18 11:11:32 +00:00
Albrecht Schlosser d631c334a2 Fixed Fl_Choice contrast with light-on-dark settings (STR #2219).
Patch provided by Aaron M. Ucko, thanks.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-16 07:06:41 +00:00
Albrecht Schlosser 3cf8672173 Fixed X server "lock", if a modal dialog window is opened while a menu
is active (STR #1986).

This is only an intermediate fix. The full fix should dismiss the menu
when the mouse is clicked outside the menu area.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13 21:57:46 +00:00
Matthias Melcher 517fb60eb5 Updated mirror sites in documentation (STR #2220)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13 10:57:38 +00:00
Matthias Melcher f229cd8b00 Setting a default font for Xft
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13 10:17:04 +00:00
Matthias Melcher dc5a320cc6 Setting a default font for Xft
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13 10:15:42 +00:00
Matthias Melcher 184c1092e9 Temporarily limited builds to 32-bit on OX S to stay compatible to Snow Leopard
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-06 18:09:24 +00:00
Albrecht Schlosser 2cf1337c44 Fixed Windows compile bug with "#define USE_COLORMAP 0" (STR #2241)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-24 19:55:29 +00:00
Albrecht Schlosser f42c541529 Fixed glibc 2.10 compiler problems (Fedora 11 and others) with scandir()
and strchr() (STR #2222).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-23 22:51:56 +00:00
Fabien Costantini 1b4b02f7a1 UTF8: Fl_Text_Display and related:
+ Constrained many Fl_Text_Display (get and measurement) methods to const.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 00:57:46 +00:00
Fabien Costantini 06b58d92bd Updated CHANGES with recent Fl_Text_Buffer and Fl_Text_Selection changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04 00:10:51 +00:00
Matthias Melcher f1473b972f Fixed OpenGL shared context handling (STR #2135)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-30 13:38:45 +00:00
Albrecht Schlosser 7e7a74203a Fixed gray-scale images with alpha channel (STR #2105).
Note: Windows needs RGBA Bitmaps (4 bytes) to do alpha blending.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-29 07:44:25 +00:00
Matthias Melcher 121138fa93 - Fixed unexpected shortcut behavior for Win32 (STR #2199)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-28 22:25:44 +00:00
Albrecht Schlosser 3cac153c5b Fixed documentation for Fl_Progress (STR #2209) and changed deprecated
color2() calls to selection_color().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-27 09:29:36 +00:00
Albrecht Schlosser 5a8e28d30b Fluid printing used wrong colors under Windows (STR #2195)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-27 15:51:21 +00:00
Matthias Melcher b1ba38da60 Updated doxygen docs for Fl_Input_ to get a greater insight into the code. I'll try to get full Unicode support in soon. The current code uses some interesting solutions ;-).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-18 18:52:59 +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 b214cef3a8 Implemented the full OS X navigation support for Fl_Input minus scrolling. Improved navigation on other systems (word fwd, backwd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-14 08:18:52 +00:00
Albrecht Schlosser 32714c502c Modified fix for STR #2150, as discussed, and added Fl::pushed(0) in
innards() to prevent multiple popup dialogs from callbacks when dragging
valuators (STR #2159).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13 22:47:21 +00:00
Albrecht Schlosser 47b348850a Fixed make install for Windows/Cygwin with --enable-x11 (no symlinks)
(STR #2183).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13 17:30:19 +00:00
Matthias Melcher c2e3704d6b Little rearrangement for readibility
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-13 07:32:01 +00:00
Matthias Melcher ead9c2ce24 Avoiding crashes for recrsive common dialogs (this does not fix the issue at hand yet) (STR #1986, 2150) / Added menu shortcut alignment for OS X / Fixed bad system menu hadling in OS X (STR #2153) / Fixed File Input mouse pointer dragging (STR #2181)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-12 20:00:45 +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
Albrecht Schlosser 7c32ec2b94 Updated the bundled libpng to v1.2.35 (released 18 Feb. 2009)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14 14:37:51 +00:00
Albrecht Schlosser 039a9be3f5 Fl_Preferences.H now doesn't include windows.h any more
(Windows only, STR #2173).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14 10:23:05 +00:00
Albrecht Schlosser 561c52455c Fl_Window::draw() now doesn't reset its x/y-coordinates to 0 anymore
before drawing itself and its children.
 
 The problem was that subwindows "lost" their x/y-coordinates during draw(),
 and child widgets couldn't get their parent window's coordinates.
 
 Currently this is needed (maybe only) in fl_set_spot() for Windows, but it
 had been solved there with a Windows-specific coordinate transformation
 (MapWindowPoints). Todo: rewrite Fl_win32.cxx/fl_set_spot().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-25 08:44:54 +00:00
Albrecht Schlosser 354701c6f6 Documentation updates for STR #2142 (protected draw methods).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-20 08:15:32 +00:00
Albrecht Schlosser e83060f04b Added CHANGES info for STR #2147.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-16 15:36:16 +00:00
Albrecht Schlosser e94b388899 renamed class Fl_Watch to Fl_Widget_Tracker, as discussed in fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-15 13:49:34 +00:00
Albrecht Schlosser 698da81690 Added Fl_Scroll::bbox() documentation (STR #1893)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08 18:47:37 +00:00
Albrecht Schlosser 76254697c7 Removed an XForms compatibility "feature" that prevented the down
array of Fl_Menu_Button from drawing (STR #2141).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08 17:50:22 +00:00
Albrecht Schlosser 9f1eeaee19 Added the helper class Fl_Watch to simplify safe handling of widget deletion
in callbacks. This is used e.g. in Fl_Widget::do_callback() to prevent 
accessing widgets after deletion in the callback.

Documentation adjusted, Fl_Menu_Button.cxx changed to use Fl_Watch instead
of Fl::watch_widget_pointer.

Fl::watch_widget_pointer() and Fl::release_widget_pointer() have been
modified to use an array without "holes" (NULL pointers) for storing the
widget pointers for faster access: Fl::release_widget_pointer() now shifts
pointers to close gaps of freed pointers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-02-08 14:44:15 +00:00
Fabien Costantini b511a4df08 Updated CHANGES with recent revisions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14 18:11:32 +00:00
Fabien Costantini 9c523405a8 Updated CHANGES with recent modifications.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 17:34:29 +00:00
Albrecht Schlosser eec7f80e94 Widgets now remove themselves from their parent group (if any), when destroyed
(STR #1894). Fl_Group::clear() removes widget by widget (one at a time) to
allow widgets to remove other related widgets from the same group, when they
are deleted.
Also fixed a bug in Fl_Value_Input (added a destructor), because it used
a non-Fl_Group widget as parent of another widget.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-08 17:12:34 +00:00
Matthias Melcher c15fc3e71a Added flexible gap size for text buffer (STR #2046)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 21:54:10 +00:00
Matthias Melcher 7180c24f3c STR #1962: I tried to fix the configuration scripts so that the image support libraries (fltk_jpeg fltk_png fltk_z) are linked in the same fashion as the fltk_image library. Please verify this fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 17:10:12 +00:00
Albrecht Schlosser d34cc411e0 STR 2101: fl_set_spot() could crash on Windows under certain conditions.
The Windows version needs a window to anchor the display window for complex
text editing (IME), e.g. Japanese text. This update adds an additional
Fl_Window argument to fl_set_spot(), but this is only used for Windows.
The implemented version is tested with Japanese text input, including input
in subwindows (test/subwindow.cxx).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-27 19:22:30 +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
Matthias Melcher ac4edf2aed Adding utf8 support for copy and paste under OS X 10.5 (and hopefully below)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 00:44:55 +00:00
Matthias Melcher 47fbe07afe STR #2098: updated the keyboard handling for 10.5 to better handle composed keys. This now works at least for German and American keyboard mapping (I can finally type German text on my US keyboard again), but is still far from perfect. Also applied Ian's patch which I can't test due to missing OS. Thanks, Ian!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-20 21:09:59 +00:00
Albrecht Schlosser 3db04d80a1 Updated the bundled libpng to v1.2.33.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 18:57:18 +00:00
Fabien Costantini 63b8523126 Updated CHANGES for STR 2106 fix for 1.3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 12:23:37 +00:00
Albrecht Schlosser fbe92ea113 Fixed a problem with TrackMouseEvent() (Windows only) that would
generate wrong FL_LEAVE events with subwindows. TrackMouseEvent
is now enabled by default (it was disabled for GNU compilers).
It can be disabled by defining NO_TRACK_MOUSE.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-07 10:53:07 +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
Albrecht Schlosser 9c7af9b2cf Added missing dependency (COMCTRL32.LIB) to documentation/src/basics.dox
(reported in fltk.general).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-16 19:44:58 +00:00
Fabien Costantini 4ec0d5c005 Updated CHANGES for reflecting non polymorph behavior with hide() show(), fixes STR#396
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-11-06 23:32:16 +00:00
Matthias Melcher d67cb76d5a Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:47:01 +00:00
Matthias Melcher 2ecabfa676 Moved Fl_Preferences documentation to the correct places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:30:07 +00:00
Fabien Costantini ab5d636106 Added visual6 moved to ide subdirectory to CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:53:53 +00:00
Matthias Melcher b989051bd6 Improved stability of fl_read_image (STR #2021)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 20:35:53 +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 488ee44257 vc2005 ide fixes: old fluid custom compile would not use variables making difficult to port them -> now uses devenv (InputName) var. Moved vc2005 to ide. Checked full builds in Release/Debug and Release Cairo/Debug Cairo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 13:11:06 +00:00
Albrecht Schlosser ac7c97572c Fl_Group::clip_children() is now public (STR #2017)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 10:23:37 +00:00
Matthias Melcher b91aec5b87 Added clarification to Fl_GL_Window mode function (STR #1945)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 20:01:04 +00:00
Matthias Melcher 8a20846803 STR 1992: Fixed Fluid textcolor output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 20:11:30 +00:00
Matthias Melcher 395129dfdb STR #1991: Fixed wrong default value of Fl_Spinner in Fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 19:52:12 +00:00
Matthias Melcher a26d5408a1 STR 1952: Fixed first modifier key event, some minor utf8 orrections.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-13 19:26:18 +00:00
Albrecht Schlosser 28c11fa4f7 added info for STR #2032
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-07 11:24:28 +00:00
Fabien Costantini bc6d15183c + Added a new optional compile time varaible named USE_WSOCK1 that would change the use of the WINSOCK2 libray by default, by the use of Winsock 1 (also implies the use of winsock.h instead of winsock2.h)
+ Removed one unused ret variable.

TODO: remove unnecessary wsock32.lib dependency from fltk-config, and other win32 build files.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-27 16:53:39 +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 5134c0988d Fixed issues with Fl_Scroll inside and Fl_Scroll (STR #265)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-24 09:01:37 +00:00
Matthias Melcher 7f7debce52 Upating CHANGES
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:09:54 +00:00
Matthias Melcher 433dec6b92 Changed Makefile in src to use 1.3 instead of 1.1 (STR #1922). Fixed minor issue with handling of shortcuts in text input fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 20:08:39 +00:00
Matthias Melcher 88c0d727aa All widget coordinates are now 32 bit. Beware though, on a 16 bit graphics system, line drawing and window positioning is still messed up for coordinates beyond 16 bit. See STR #1929.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 15:07:13 +00:00
Matthias Melcher 8683ea2c81 Adding keyboard shortcut to Fl_Value_Input and Fl_Text_Editor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-04-23 14:19:58 +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 7d013249f7 First checkin simply updating a few version numbers and copyright dates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-27 21:38:44 +00:00
Matthias Melcher efa4ad3ad7 Syb=nching the list of mirrors in doc/intro.html and README
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-03-01 11:08:32 +00:00
Matthias Melcher 8038713b19 Fixed library path in Makefile (STR #1885)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-27 15:00:31 +00:00
Matthias Melcher 68a20dbc32 Fixed typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-26 15:04:03 +00:00
Matthias Melcher a4c3c685dd STR #1716: Fixed image read for partial regions on X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 15:03:48 +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 ac55d8490c Fixed Tab key to wrap around menu bars (STR #1877)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 13:09:30 +00:00
Matthias Melcher fc60a90a67 STR 1880: Fixed timer leak in Fl_Scrollbar
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-25 13:00:53 +00:00
Matthias Melcher c7d5670c3a STR #1747: Fl::grab may not work as expected, added warning in documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:55:36 +00:00
Matthias Melcher f33d7c846e STR 1869: fixed race condition when an alert window pops up during menu handling.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:33:25 +00:00
Matthias Melcher 3e9fc08353 Fixed recursion crash in event handling (STR #1873
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:17:34 +00:00
Matthias Melcher ab406a8e79 STR 1875: fixed missing return value from 'fltk-config' for compiles that require a post run
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 18:10:13 +00:00
Matthias Melcher dc0ab1d06c STR 1719: fixed inconsistencies with FL_WHEN_NOT_CHANGED
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:59:13 +00:00
Matthias Melcher 97c408f1d2 STR 1849: fixed messages sent to hidden windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:42:08 +00:00
Matthias Melcher 28c87ce84d STR #1868: fixed horizontal scrolbar in help view thanks to wavexx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:39:07 +00:00
Matthias Melcher fe9e4fe1e7 STR 1874: remove fl_create_offscreen_with_alpha which is merely a helper function for built-in image rendering on only a single platform and should not be public.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-20 17:31:39 +00:00
Matthias Melcher 4cdd301695 STR 1867: Documentation fix
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-14 18:36:42 +00:00
Matthias Melcher 5d07b1a800 Fixed OS X pixmap offset bug (Thanks to D'Elia Yuri) STR 1856
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-02-14 18:17:06 +00:00
Matthias Melcher 9d3e96acd7 STR 1862: added missing Fl_File_Input in docs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-30 09:43:49 +00:00
Matthias Melcher 1e7916d354 STR 1855: fixed include file reference in Fl_RGB_IMage docs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-10 22:05:17 +00:00
Matthias Melcher 5e3d4fc7db STR #1853: fixed potntial buffer overrun un Fl_Preferences
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-09 21:23:51 +00:00
Matthias Melcher cc1de33950 STR #1741: fixed and improved on missing 'public' attribute in consecutive classes in FLUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04 22:18:40 +00:00
Matthias Melcher a1f96ffea0 STR #1776: FLUID now tries to find a previously declared callback to avoid declaring one as 'extern'. I also replaced many 'public' Light_Buttons with pulldown menus which offer either 'local'/'global', or 'private'/'public'/'protected', depending if the item is outside or inside a class. I took great care to make this change transparent to previous .fl files. Downward compatibility is only problematic if the new 'protected' keyword is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-04 21:45:49 +00:00
Matthias Melcher 88b4e6fab6 STR #1726, STR #1753: documentation updates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-28 23:01:40 +00:00
Matthias Melcher 7a3a8c1892 STR 1815: Added begin() and end() information to the Basics chapter. Hope you'll like it
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-27 11:02:27 +00:00
Matthias Melcher f0ccbbabd8 Fixed 16 bit PNM image support (STR #1847)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6006 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-20 16:32:56 +00:00
Matthias Melcher 5097f4df5b Fixed exposure event on zero size windows (STR #1824)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-20 16:22:53 +00:00
Matthias Melcher 6e8ae36abd STR #1796: fixed documentation for size_range
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-18 10:02:54 +00:00
Matthias Melcher ffe3cb7bd5 STR #1729: fixed ovelay offset for Quartz rendering
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-18 09:41:12 +00:00
Michael R Sweet 83a8cba9a7 Merge gl_font() changes for Xft+X11 (STR #1809)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:35:57 +00:00
Michael R Sweet 56cafe56c3 Fl_Gl_Window::mode() needed to hide and show the window when toggling stereo
mode (STR #1846)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:32:39 +00:00
Michael R Sweet f525fc1160 Add set_visible() for GL windows on Mac OS X (STR #1707)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:29:32 +00:00
Michael R Sweet b3c0a67be8 Add delete/release comments for Fl_Image::copy() (STR #1827)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:19:36 +00:00
Michael R Sweet b71ca52b7e Add documentation for Fl::event_dx, event_dy, and event_text (STR #1843)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:10:13 +00:00
Michael R Sweet 3ff1a33ce4 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:42:08 +00:00
Michael R Sweet fe1e8a37ee Fl_Browser_ and friends now support FL_WHEN_ENTER_KEY for both Enter/Return
and double-clicks (STR #1818)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:20:16 +00:00
Michael R Sweet a9ee420fbf Fl_Help_View did not release the images it used (STR #1817)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:08:23 +00:00
Michael R Sweet 82eb2dde8c Note that Fl_Pack only works with frame box types (STR #1794)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-21 05:00:55 +00:00
Michael R Sweet 8dac15372c Add -L. to DSOFLAGS (STR #1791)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-21 04:43:28 +00:00
Michael R Sweet 034a26be41 Update scrollbars when showing or hiding items (STR #1724)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:57:17 +00:00
Michael R Sweet 6208077d2a Add configure summary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:52:54 +00:00
Michael R Sweet d76c1e8cd0 Remove unused variables.
Fix fltk-config --libs and fltk-config --ldstaticflags (STR #1799)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 21:15:08 +00:00
Michael R Sweet ac3ab91ca2 Fix window hide bug on WIN32 (STR #1748)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 17:00:56 +00:00
Matthias Melcher 7455482458 STR #1777: Updated documentation to explain deselecting a line in an Fl_Multi_Browser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 18:49:55 +00:00
Matthias Melcher a965dff175 STR #1742: Updated documentation to reflect the true nature of "selection()" and "value()" for Fl_Multi_Browser which can be quite surprisin for unsuspecting customers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 18:39:23 +00:00
Matthias Melcher eda8af507e Removed note in CHANGES files because this bug was introduced after 1.1.7
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:45:38 +00:00
Matthias Melcher 25bae9b383 STR #1715: Added empty "awake" function for non-threaded dll's
in Linux

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:44:28 +00:00
Matthias Melcher 8cbd953687 STR #1751: changing the window size in FLUID now sets the 'modified' flag
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:18:20 +00:00
Matthias Melcher c6e6092657 STR #1761: fixed fl_filename_isdir for '/'-path in Unix
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5948 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:12:32 +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 072398649c STR #1793: Updated docs to reflect the default for Fl_Pack::resizable() to be NULL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:43:10 +00:00
Matthias Melcher 705780a301 Fixed Fl_Chart drawing (STR #1756)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:33:17 +00:00
Matthias Melcher 18dbfc8a57 STR #1706: mapping a subwindow with an unmapped parent window would crash under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 08:43:37 +00:00
Matthias Melcher 38cc8c2f4d Fixed rendering of grayscale images with alpha channel on unaccelerated machines. Thanks, Sanel (STR #1703)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:23:41 +00:00
Matthias Melcher 04ced5396e STR #1681: On WIN32 WM_PAINT messages, FLTK would first render the damaged area and then set the area as valid again. While this is mostly fine on single CPU machines, multi-CPU machines may re-invalidate areas that are currently drawn, resulting in unrendered strips when another window was moved quickly across an FLTK window during its redraw phase.
The new implementation validates the damaged area as quickly as possible, allowing new damage requests to be handled correctly, even while we are still redrawing the same damaged area.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 12:47:49 +00:00
Matthias Melcher 2c7bea98fe STR #1678: improved fl_down, fl_frame, added fl_box, updated documentation. Fixed indent in Fl_Input_Choice.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 08:30:48 +00:00
Matthias Melcher d7a34f0061 Fixed possible selection of submenu items in FL_INput_Choice (STR 1676)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-15 07:42:53 +00:00
Matthias Melcher 08c5fb6ff4 - Fixed calculation of stride for image scaling and color manipulation (STR #1673)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 13:18:44 +00:00
Matthias Melcher 62d66c6422 Str #1656: changed default optimization on Cygwin/Mingw to -O3 because -O3 causes verifably and repeatably bad code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:21:42 +00:00
Matthias Melcher 2df9fcb3aa OSF/Tru64 now uses 'install-sh' instead of 'install' to accomodate for a missing '-d' option (STR #1632)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:00:06 +00:00
Matthias Melcher e42fac099f Annoyed by the limitation in Fluid to generate keyboard shortucts for either Mac or Win32/Linux, I added a Project option. If checked, all keyboard shortcuts containing the modifier FL_CTRL or FL_META will instead be writte as FL_COMMAND|shortcut. This will generate FL_META shortcuts on the Mac and FL_CTRL shortcuts on the PC.
This is compatible to old Fluid files. The .fl file will not change (except for the project wide setting itself) and no information is lost. As the only limitation, it is not possible to write any combination of FL_META and FL_CTRL while "use FL_COMMAND" is set.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-10 12:06:31 +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 47e802218d Fixed endless loop in Fl_Text_Display (STR #1655)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 21:09: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 08d55b7bf2 STR #1644: documenting return values for loading and saving text from the Fl_Text_Buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 15:59:39 +00:00
Matthias Melcher 0556d32f67 STR #1645: Updated documentation for Fl_Text_Buffer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:40:27 +00:00
Matthias Melcher d0952607ac STR #1643: make clean now also deleting fltk.spec
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:28:23 +00:00
Matthias Melcher e9a617f0c2 STR #1642: removeing cat 6 man pages on Make clean
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:25:07 +00:00
Matthias Melcher a240e88cdc STR #1639: improved documentation to explain the difference between evnt_button() and event_buttons()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:11:59 +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
Matthias Melcher 27568cfa1c Better contrast (#1625)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 09:52:51 +00:00