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
Manolo Gouy
da5042584a
Fix image bug reported by Csaba in r7626 + fix regression in ps_image.cxx
...
inadvertently brought in by r7617.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-07 13:39:03 +00:00
Greg Ercolano
cc7b798179
Document return values for some methods that had none.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-03 15:46:59 +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
4aa1da7f0e
Changed file properties
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:52:27 +00:00
Manolo Gouy
e0a798f115
Reflecting deleted files by new device hierarchy
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:30:03 +00:00
Manolo Gouy
6fb99e7ec7
Reflecting change in device hierarchy.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:24:21 +00:00
Manolo Gouy
26049351e0
Better device hierarchy with surfaces and graphics drivers.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:20:18 +00:00
Manolo Gouy
0a280ce591
Fl_cocoa.m: better delete_timer function
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 07:06:43 +00:00
Manolo Gouy
53d7a643f1
Fl_get_key_mac.cxx: removed GetKeys Carbon call
...
Tested OK with keyboard demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-26 21:25:11 +00:00
Manolo Gouy
e2165ba028
Fl_cocoa.mm: removed 4 more Carbon calls (related to timers)
...
Tested OK with clock, scroll and tabs demos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-26 20:04:00 +00:00
Manolo Gouy
ace4c55f35
Fl_Gl_Device_Plugin.cxx: fixed compilation error under some 10.4
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-21 07:15:13 +00:00
Manolo Gouy
347754de61
Fixed "Unlock focus on wrong view" error that occurred sometimes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-18 14:21:45 +00:00
engelsman
20a837c756
src/fl_utf.c: fixed UCS handling up to and including 0x10FFFF [STR 2349]
...
also enabled doxygen comments for ERRORS_TO_CP1252, STRICT_RFC3629 and
ERRORS_TO_ISO8859_1 preprocessor #defines, and updated other documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 20:03:47 +00:00
Manolo Gouy
30933933b0
Fixed WIN32 crash when pixmap has no background area
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-13 10:18:47 +00:00
Ian MacArthur
6efdd85197
Make sure that "transparent_c" is not NULL before it is used in win32 builds.
...
Prevents segfault when loading pixmpas that have no transparent cell set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-13 07:47:30 +00:00
Greg Ercolano
5be97a7868
Mods to tree widget for docs and callbacks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:59:52 +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
e874b086ac
1) Invoke callback if when(FL_WHEN_RELEASE)
...
2) Removed unintended fallthrough from FL_DRAG -> FL_RELEASE handler.
3) Removed redundant redraw() calls
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 20:23:42 +00:00
Albrecht Schlosser
e61436c596
Fixed typo in src/CMakeLists.txt and added missing objective-c++ files
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-06 07:13:33 +00:00
Greg Ercolano
7cf83d7e0f
Finished up changes for references to fltk-bugs@fltk.org -> STR form.
...
Should solve STR #2352 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 07:21:41 +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
engelsman
a10e58a690
added implementations of fl_wcwidth_() and fl_wcwidth() to src/fl_utf.c
...
these supercede the old fl_wcwidth() code in src/xutf8/fl_wcwidth.c.
also added corresponding declarations to FL/fl_utf.c, and updated
src/Fl_Text_Buffer.c to enable the call to fl_wcwidth()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-20 21:43:31 +00:00
engelsman
d50ca53788
tweaked fl_wcwidth.c and mk_wcwidth.c to remove system wchar_t
...
commented out, or replaced, wchar_t with unsigned int.
commented out unused functions from mk_wcwidth.c.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-19 21:15:30 +00:00
engelsman
a7a81061be
tweaked fl_wcwidth.c and mk_wcwidth.c to supercede system wchar_t
...
fl_wcwidth.c has a typedef unsigned int wchar_t; and
mk_wcwidth.c has an #if 0 to stop #include <wchar.h>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 18:38:13 +00:00
engelsman
4f928ef3d6
vanilla version of Markus Kuhn's wcwidth.c plus wrapper code
...
wcwidth() function required to give column widths for UTF-8
and is required from solving remaining parts of STR-2158
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 15:13:03 +00:00
engelsman
9545e033bb
Fl_Text_Buffer/Display fixes for UTF-8 / STR-2158 (part 1)
...
fixes to handle incorrect counting of UTF-8 characters by checking
for complete UTF-8 encodings in char* rather than char by char.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 14:33:33 +00:00
Manolo Gouy
1cd1045572
Fixed Quartz printing of custom dashed-lines.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 07:53:20 +00:00
Manolo Gouy
d0b1cc30f7
Removed multiple inheritance: back to r. 7519 exactly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 06:57:37 +00:00
Manolo Gouy
913530758a
Improved the hierarchy of Fl_Device subclasses to allow separation of platform-specific devices.
...
This introduces multiple inheritance.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 20:19:09 +00:00
Greg Ercolano
0f180e1306
Small doc clarification for new insert() item.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:50:40 +00:00
Manolo Gouy
5a8c6087b0
Added Fl_Sys_Menu_Bar::insert(), clear(), clear_submenu()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:27:28 +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
2a2e0821c9
Small fixes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:56:37 +00:00
Manolo Gouy
595b20f802
ps_image.cxx: better byte-swapping algorithm.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:24:25 +00:00
Manolo Gouy
fe76949b83
Made fl_register_images() seen by Doxygen.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:47:34 +00:00
Manolo Gouy
79b2c201a0
Fl_Pixmap: improved algorithm for WIN32 printing
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:12:06 +00:00
Manolo Gouy
f4a08a3672
Removed compilation warning
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:21:10 +00:00
Manolo Gouy
be9127c61a
More logical use of Fl_Device::draw(<image class> *,...) functions
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:07:34 +00:00
Manolo Gouy
97c893ab5e
gl_draw.cxx: simplified/clarified #define's
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 09:29:08 +00:00
Manolo Gouy
7551309325
gl_draw.cxx: removed the suspenders but kept the belt.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 07:58:37 +00:00
Manolo Gouy
009ff54aea
gl_draw.cxx (Mac-specific): fixed bad shading of text color.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 21:34:20 +00:00
Greg Ercolano
5888784fc2
Added some extra doc examples for this function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 21:08:06 +00:00
Manolo Gouy
9ae353c6be
gl_draw.cxx (Mac-specific): fixed another bad use of non null-terminated string.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 19:56:23 +00:00
Manolo Gouy
96c392763e
gl_draw.cxx (Mac-specific): fixed use of fl_measure with non null-terminated string.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 17:58:30 +00:00
Manolo Gouy
d36eb9b30f
gl_draw.cxx (Mac-specific): account for text color.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 17:44:52 +00:00
Manolo Gouy
c5352b84cc
gl_draw.cxx (Mac-specific): for __ppc__ only, back to old gl_draw algo without texture.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 16:10:08 +00:00
Manolo Gouy
241b2c746e
gl_draw.cxx (Mac-specific): implemented a fifo pile of pre-computed textures for faster GL text rendering.
...
Also added new function gl_texture_pile_height(int) that sets the height of this pile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 14:26:12 +00:00
Albrecht Schlosser
6359f8be73
Made the printer dialog customization strings platform independent, so that
...
they can be set on all platforms to avoid platform-specific end user code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 18:42:35 +00:00
Matthias Melcher
896c6c2766
Apple Cocoa: modal windows would not resize.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 09:52:05 +00:00
Matthias Melcher
927fd35165
Added new label alignments for image and text to Fluid.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 22:18:05 +00:00
Ian MacArthur
08e71113e9
Second part of STR #2214 rework.
...
This is the simplification of GL font selection under X11 made possible
by the earlier patches from ucko.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 17:01:58 +00:00
Ian MacArthur
52470488ce
After testing, I have applied ucko's latest patch for providing access
...
to "core" fonts when XFT is selected. This allows contexts that need
bitmapped fonts (e.g. GL) to access a bitmap core font, even though
XFT2 does not generally provide bitmap font access.
STR #2214 refers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 16:46:45 +00:00
Ian MacArthur
74dbd5e017
The non-XFT X11 builds fail because they are not updated to use the Fl_Device
...
patches.
This is an attempt to remedy that. Can someone familiar with the Fl_Device stuff
please verify these changes?
With these changes in place the code now builds and seems to work.
I have NOT tested print support however - should that matter?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 17:51:28 +00:00
Manolo Gouy
a9b13f973b
Added an Fl_Printer destructor that's useful under MSWin when printing is aborted
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 16:58:28 +00:00
Greg Ercolano
63b746fabc
Doc fixes/additions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 05:22:13 +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
Manolo Gouy
2d92942bfe
Removed useless #define's
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 07:45:12 +00:00
Matthias Melcher
29317e7b2d
Marked some more issues with Fl_Text_...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 23:00:56 +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
Ian MacArthur
20b508a3b5
Submit Albrecht's minimal fix for str2082 - this "fixes" the erroneous window animations
...
on menu and tooltip items that were seen on some systems using compiz.
Albrecht or Alvin may have more sophisticated fixes later, providing us with more control
over window types under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 18:07:34 +00:00
Manolo Gouy
24b8386bf1
Fl_Gl_Device_Plugin: more device-independant API
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 17:38:27 +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
2bf6fa6074
A few more comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:26:29 +00:00
Matthias Melcher
61cf49ddfc
Another update to Fl_Text_Buffer. This is by no means perfect, but at least it currently does not crash (I am so easily satisfied :-P).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:18:14 +00:00
Matthias Melcher
07a4509a63
Validated utf-8 safety of Fl_Text_Selection.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 21:10:40 +00:00
Matthias Melcher
814da7f392
Little fix that will keep Fl_Text_Display from crashing on German umlauts. This is by no means a fix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 21:02:48 +00:00
Matthias Melcher
fca1c022e7
Holy Gucamole! NEdit was designed with 'C' style strings in mind. Until that is that someone had the great idea to allow <nul> as a valid character in the text editor. The developers jumped through quite some hoops to allow that without rewriting the core. Well, actually they did: they added a parameter to pretty much every internal call that conatined the null-replacement-character. Anyway, since we only handle 'C' strings, I remove all related code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 20:22:43 +00:00
Matthias Melcher
d5175c0b88
Adde /todo tags to all function which I will remove as soon as I am sure that they are entirely Unicode safe.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 20:01:10 +00:00
Matthias Melcher
024c4b995b
I humbly apologize for this commit, but I just could not bear it anymore. I moved all Doxygen comments from Fl_Text_Buffer.cxx into the header (I kept searching back and forth for the comments) and then did the unthinkable: I reformatted Fl_Text_Buffer.cxx! OMG. It is actually somewhat *readable* now. I shouldn't have done it! It's a mess ;-). Fl_Text_Buffer was modified many times to do things it was never designed to do. And looking at 'svn b;ame', I remember that I tried to quick-fix UTF-8 on top of that. Anyway, I'll dig into this now. I want 1.3.0 out of the door (end of ramble).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 19:52:52 +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
f2fa59fd0f
Starting to clean up and document Fl_Text_... to acheive UTF-8 support.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 12:45:03 +00:00
Matthias Melcher
e37577eeb8
Removed UTF-8 code from header file because it confuses some command line tools (specifically 'sed').
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 06:46:41 +00:00
Manolo Gouy
0d32b63ea3
Fixed databse typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-03 13:03:43 +00:00
Manolo Gouy
d3b7c8b50b
Fl_GDI_Printer.cxx: change in Fl_printer::start_job() to allow printable_rect() call before start_page()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-31 16:21:56 +00:00
Manolo Gouy
fc95afb7f4
fl_copy_offscreen_with_alpha: always call alpha_blend if not on display
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-31 09:29:35 +00:00
Manolo Gouy
1d7e6edead
Fl_PSfile_Device constructor: initialize scale_x and scale_y
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-31 06:21:09 +00:00
Manolo Gouy
9f7ecc197e
Fl_Printer constructor: initialize scale_x and scale_y
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 21:43:48 +00:00
Greg Ercolano
4f148f79e9
Fixes STR#2335.
...
item_pathname() wasn't returning a pathname if the 3rd argument was a submenu item.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 21:37:56 +00:00
Albrecht Schlosser
4b3360a6a7
Fixed Return button problem in fl_ask and friends (too much optimization
...
in previous commit).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 19:44:50 +00:00
Manolo Gouy
b2a7c3df5e
Fl_cocoa.mm: fixed bug where events of drag&drop of files at launch time were ignored
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 18:14:57 +00:00
Manolo Gouy
065dfed2c3
Added platform-specific information to Fl_Printer doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 12:09:09 +00:00
Manolo Gouy
0eae439b66
fl_copy_offscreen_with_alpha: when non-display output, asks if alpha-blending is possible
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 11:18:45 +00:00
Manolo Gouy
d89581ebc6
Fl_Device.cxx: Fixed 2 typos in documentation
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 11:11:53 +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
Matthias Melcher
024368d722
Removed more Cocoa/Quartz references. Finally moved OS X font down a pixel.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 14:10:54 +00:00
Manolo Gouy
b3d4755286
Fl_Printer & Fl_PSfile_Device : added some implementation details in doc
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 12:52:28 +00:00
Manolo Gouy
24c6e23e25
print_panel.cxx: allow customization of "Print To File" string
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 12:15:22 +00:00
Matthias Melcher
82be53f64d
OS X: more references to non-Cocoa builds removed
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 11:07:29 +00:00
Matthias Melcher
38aa53038c
Started to remove USE_QUARTZ, as all Apple implementations use Quartz as their Graphics Rendering system now.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 10:54:18 +00:00
Matthias Melcher
699bf33e69
Removed Metrowerks support for Apple builds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7352 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 10:47:11 +00:00
Matthias Melcher
941901e273
OS X: removed all Carbon and Quickdraw references. Starting with 1.3, we only support Cocoa and Quartz.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 10:35:00 +00:00
Manolo Gouy
b77071a3de
Fl_Printer class on Xlib: allow dialog text customization at run-time
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-28 14:03:40 +00:00
Manolo Gouy
99f2e8b5be
Fl_PSfile_Device::start_job(): allow user to customize the file chooser title
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7349 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-28 10:13:26 +00:00
Manolo Gouy
2a75e82e3d
Fl_Gl_Device_Plugin: better code for GL window capture after coverage by print dialog windows
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7348 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-28 06:58:39 +00:00
Albrecht Schlosser
092b65139d
Replaced Fl::readqueue() in fl_color_chooser() by real callbacks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-27 16:35: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
Manolo Gouy
506fa9d034
Minor improvement of printing preferences storage
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-27 08:16:56 +00:00
Albrecht Schlosser
8863c6d21f
Replaced Fl::readqueue() in fl_ask.cxx by real callbacks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-26 19:18:02 +00:00
Manolo Gouy
f766b7930d
PostScrit print dialog: memorize page size and orientation user's preferences
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-26 18:10:39 +00:00
Manolo Gouy
44d22726b6
Removed 3 Carbon calls from file Fl_cocoa.mm
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-26 16:04:06 +00:00
Ian MacArthur
660667760e
Remove a spurious #warning I'd left in the win32 builds...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 16:29:13 +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
30cfb38ad4
Fixed typo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 15:11:22 +00:00
Albrecht Schlosser
ee2935de68
Fixed doxygen warnings and added a new documentation module "Callback
...
function typedefs" so that they appear in an own documentation group.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 14:37:46 +00:00
Manolo Gouy
5591315e17
Updating dependencies
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 14:35:45 +00:00
Manolo Gouy
9fde85c319
Minor change
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 14:04:43 +00:00
Manolo Gouy
d748d323b9
Reorganized code to allow compilation with Fl_Device, Fl_Display but without Fl_Abstract_Printer
...
(may be useful for embarked devices)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 13:59:00 +00:00
Manolo Gouy
309e478013
Fixed Fl_Abstract_Printer::print_window_parts for MSWin bug with large screen captures
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-24 21:44:45 +00:00
Manolo Gouy
64482fa311
Added /* fallthrough */ comment in case statement.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-24 16:18:36 +00:00
Manolo Gouy
80c7817dc2
Fixed bug where cmd-shift-key was not distinguished from cmd-key on US keyboards
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-24 13:54:50 +00:00
Manolo Gouy
5b7707b1b1
Fixed output of \ to PostScript strings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-24 12:07:45 +00:00
Manolo Gouy
d305d7078b
Fixed all Doxygen warnings triggered by new Fl_Device and Fl_Printer classes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-24 10:24:37 +00:00
Manolo Gouy
d19b0262ea
Better error return codes for Fl_PSfile_Device::start_job()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 18:41:30 +00:00
Albrecht Schlosser
27e7308654
Minor fix to do_callback() code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 17:37:51 +00:00
Manolo Gouy
7c8cdbd7eb
Going around Doxygen bug that made class Fl_PSfile_Device documented as a struct
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 17:03:40 +00:00
Fabien Costantini
31a54bcf1b
Fixed msvc6 compilation was broken. What is the use of visualc now? seems we should remove that one ...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21 22:55:18 +00:00
Manolo Gouy
b087f8b648
Minor documentation changes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21 22:15:04 +00:00
Manolo Gouy
c5d7f42a22
Completed Doxygen documentation of Fl_Device, Fl_Abstract_Printer, Fl_Printer classes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21 08:26:40 +00:00
Albrecht Schlosser
a8c583a49e
removed "#undef FL_PLUGIN_VERBOSE" since this would prevent
...
compiling with "-DFL_PLUGIN_VERBOSE"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-20 12:54:14 +00:00
Manolo Gouy
5021ed146f
Added dependencies to FL/Fl_PSfile_Device.H
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-20 08:52:18 +00:00
Manolo Gouy
e107a3682c
Created FL/Fl_PSfile_Device.H to reduce size of FL/Fl_Printer.H
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-20 08:31:19 +00:00
Ian MacArthur
aca570e1ce
Commit Domingo's patch for the idle declarations etc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-19 21:40:12 +00:00
Matthias Melcher
26bdd29be8
Fl_Plugin: using bas 'A' encoded BCD to write the pointer. This is pure and fast C. However, the pointer is not human readable (hexadecimal would just be a waste of time ;-). The size of the string adapts to the length of the pointer and ignores big/little endian. All calls have room for a maximum of 128bit per pointer. I also removed the verbose comments to keep them out of the snapshot tonight.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-19 12:15:52 +00:00
Matthias Melcher
f5cd7fa9fb
Changed reading and writing of pointers in Fl_Plugin. This will hopefully fix issues with MinGW.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-19 01:20:21 +00:00
Manolo Gouy
cf37057367
Renamed class Fl_Virtual_Printer into Fl_Abstract_Printer
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 18:02:50 +00:00
Manolo Gouy
c72a57a56b
Better WIN32 performance of Fl_Printer::print_window_rect()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 17:56:06 +00:00
Manolo Gouy
c0550793a1
Setting copyright dates to 2010
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 16:08:35 +00:00
Manolo Gouy
cb4f4a7ff2
Setting copyright dates to 2010
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 15:32:23 +00:00
Manolo Gouy
2680f8b3ee
Added id lines and copyright
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 15:29:18 +00:00
Manolo Gouy
96be59d1df
Added id lines and copyright
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 15:21:13 +00:00
Manolo Gouy
195590f21c
Attempt to set correct header and footer.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 15:07:14 +00:00
Matthias Melcher
bde92b83f3
Fixed the IDE's for Xcode3, Xcode3.1, and VisualC (last one untested).
...
Added some code for verbose plugin manager output. This is what you should get when loading "cube" and then calling the regular "print" function.
Fl_Plugin: creating a plugin, class "fltk:device", name "opengl.device.fltk.org"
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: deleting a plugin
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 21:11:06 +00:00
Manolo Gouy
cfe5cfdac3
Added trick to force loading of Fl_Gl_Device_Plugin whenever fltk_gl is loaded.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 20:47:47 +00:00
Manolo Gouy
26af092532
PostScript text output: text is now rendered altering the spacing between characters
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 17:23:41 +00:00
Manolo Gouy
7d7b276ae7
Reflecting rename of src/Fl_Gl_Printer.cxx to src/Fl_Gl_Device_Plugin.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 14:40:31 +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
53070ba725
Deleted class Fl_Gl_Printer that's no longer useful.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 13:58:35 +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
Manolo Gouy
1b6e7bd812
The "Print front window" external button is available if compiling with -DUSE_PRINT_BUTTON
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 18:27:19 +00:00
Manolo Gouy
664c2f4b4e
Fixed CGcontext stack error appearing under Mac OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 17:40:03 +00:00
Manolo Gouy
7f001d1fb9
Added Fl_PSfile_Device::start_job() with user-given filename.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 15:17:33 +00:00
Manolo Gouy
b5e2d38b2f
Have class Fl_Sys_Menu_Bar and function fl_mac_set_about appear in Doxygen doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 14:47:40 +00:00
Manolo Gouy
b20ef0bdeb
Fixed WIN32 printing of RGB images without transparency. Still print_window_part() problem.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 12:03:48 +00:00
Manolo Gouy
0df1d8b695
Conflict with variable id used in Fl_Images.H and others was removed, so #define id id_ hack now useless.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 09:08:27 +00:00
Albrecht Schlosser
186a8f0ff1
Renamed internal member variables id and mask to id_ and mask_ to avoid
...
conflict with Mac OS X/gcc 3.x name clash when compiling with obj-c.
Also made them private instead of public.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 23:47:47 +00:00
Manolo Gouy
1c904d452b
Now compiles with GCC3 and 4.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 15:57:48 +00:00
Manolo Gouy
5e214c1e1d
Now compiles from Mac OS 10.3 and above
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 22:21:43 +00:00
Matthias Melcher
be17e1ccb6
Updated Fl_Device and Fl_Printer for Xcode
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 21:29:12 +00:00
Albrecht Schlosser
0211d5c7e0
updated dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 18:35:14 +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
a3a9305428
Removed one more OS X warning about deprecates function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 22:36:23 +00:00
Matthias Melcher
7499728266
Remove one OS X warning about deprecates function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7238 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 22:12:20 +00:00
Albrecht Schlosser
2caa536a8e
removed some compiler warnings (gcc 4+)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-05 18:53:00 +00:00
Greg Ercolano
8b9b025f8f
Fixes for STR #2323 ; missing right/middle drag events and missing mousewheel clicks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-04 17:17:04 +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
Albrecht Schlosser
0f891bc48b
Adjusting indentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-28 13:56:26 +00:00
Matthias Melcher
c35463fdbe
Starting to add a GUI to manage the IDE database.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 22:38:25 +00:00
Matthias Melcher
86d292b6c1
Adding FALLTHROUGH label to a buch of case fallthroughs in order to make lint happy. STR #2285
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 21:10:46 +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
Greg Ercolano
e582f8bb1c
Fixes to Fl_Menu_::item_pathname() code example; small changes to Albrecht's mods.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 18:18:29 +00:00
Matthias Melcher
056cd02b10
Attempt at a better menubar shortct alignment.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:28:36 +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
Albrecht Schlosser
47bcd46d26
Quick fix for embedded comments problem in Fl_Menu_.cxx introduced
...
by documentation changes in r 7148.
Greg, please try a better fix, if you like.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 08:54:35 +00:00
Greg Ercolano
c3c72beb23
Fixed problem with Fl_Menu_::item_pathname() was misrepresented as a 'Set' method.
...
Both item_pathname() and find_item()'s docs were strengthened.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 03:29:05 +00:00
Matthias Melcher
60c1ccd33e
Working VisualC suport in IDE's (dll's are still missing). Fixed a few warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-25 23:29:42 +00:00
Manolo Gouy
cdfefaed88
Simpler Fl_X::q_begin_image() function without matrix inversion that accepts scaling and rotation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-21 18:40:15 +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
Albrecht Schlosser
7ae0c170ad
Added Fl_Widget_Tracker in handle() methods etc. to avoid accessing widgets
...
after deletion (STR #1306 ). This is all I could find, but maybe there are
more places in the code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 17:40:07 +00:00
Manolo Gouy
c7a1aead4c
Removed unnecessary statement when destroying a window.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 17:28:44 +00:00
Manolo Gouy
191abba69a
Fixed Alt+Shift+letter as shortcut
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 14:06:36 +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
6cef760c1b
Typo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 13:03:10 +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
Manolo Gouy
b434df6061
changed events dispatching so command+key generates both FL_KEYBOARD and FL_KEYUP events
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-16 07:27:55 +00:00
Manolo Gouy
5a76896908
removed unused variables
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15 20:35:58 +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
Manolo Gouy
1ff2af5fd3
update event_x_root and event_x earlier is more accurate
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-11 09:32:26 +00:00
Manolo Gouy
881c882629
allows compilation with gcc-3.3
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-10 23:11:19 +00:00
Manolo Gouy
96125e6e4a
closed memory leak
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-10 22:11:04 +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
Manolo Gouy
5ec87ac848
simplifying clipping algorithm: done once in make_current() instead of repeated at each fl_restore_clip() call
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-02 17:13:55 +00:00
Manolo Gouy
c7b67bc252
fixes STR 2309 by updating Fl::e_x, e_y, e_x_root and e_y_root after window moves, resizes and activations.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-01 17:41:32 +00:00
Manolo Gouy
4645ed9703
defined macro FL_CGRECTMAKE_COCOA that
...
contains the correct way to transform x,y,w,h into
a CGRect adequate for clipping
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-29 21:16:20 +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
Matthias Melcher
c83c170310
File chooser in preview mode would hand if user selected a special file in the /dev directory. It now shows a recycle symbol and also displays a folder and an empty file message. Untested on anything but OS X - sorry!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-26 10:22:49 +00:00
Matthias Melcher
8af182fe51
Without knowing Cygwin, this seems to make more sense to me?!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 11:45:36 +00:00
Manolo Gouy
1eb95cd823
Three Cocoa-related changes:
...
- correct window resize in mandelbrot demo
- clip to 1-pixel and 0-pixel width now work
- modifier key presses are now correctly reported
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 10:27:21 +00:00
Manolo Gouy
6f89a3baca
added explicit cast to remove 64-bit compilation error that sometimes occur
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 10:13:03 +00:00
Manolo Gouy
bb58589936
New texture-based gl_draw implementation now used also in 32-but compiles
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 10:05:19 +00:00
Manolo Gouy
001a756b15
Text color now follows changes in standard colormap,
...
and better OS X version backwards compatibilit of executables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 08:55:41 +00:00
Manolo Gouy
e8c9f9eaa1
Better OS X version backwards compatibility of executables.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 08:48:35 +00:00
Matthias Melcher
416f5b0dcd
Still not having added Fl_Tree and Fl_Table to Fluid, I remembered the plugin concept we had early on. It occured to me that writing plugins must not be difficult, and that FLTK already has everything needed. So here it is, a plugin implementation for FLTK. The MSWindows/Cygwin implementation is untested due to lack of a machine. The dynamic loading still needs a test implementation. Comments welcome.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 00:16:33 +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
yuri
ff29502d04
fix x86_64 linux build
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-21 19:59:24 +00:00