Commit Graph

3978 Commits

Author SHA1 Message Date
Manolo Gouy
142cefd106 Mac OS X: fixed bug where fl_draw(const char*, int, float, float) would not work on non-Quartz device
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-24 21:55:20 +00:00
Manolo Gouy
a40166931e Fl_PostScript.cxx: now outputs correctly all of the latin1 (iso-8859-1) character set
giving support for many latin alphabet-using languages.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-24 08:55:04 +00:00
Manolo Gouy
449b99dd86 Fix STR 2339 by defining new member function rtl_draw of class Fl_Graphics_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-21 15:49:45 +00:00
Manolo Gouy
6c2274f011 fl_begin_offscreen/fl_end_offscreen: added fl_push_noclip/fl_pop_clip to render Mac consistent with other platforms
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-19 15:19:13 +00:00
Manolo Gouy
2425499352 Fixed STR 2257. fl_read_image now accepts also reading from an off-screen buffer, as documented.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-18 16:31:15 +00:00
Manolo Gouy
006e5ff9c0 Removed commented out code
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-18 13:39:27 +00:00
Albrecht Schlosser
6710c83508 Fixed configure script portability problem (STR #2379)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-18 10:11:09 +00:00
Manolo Gouy
4da4ef0b67 Replaced 'fl_surface->driver()' by the shorter 'fl_device'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-17 22:08:09 +00:00
Manolo Gouy
8c02ae87cb Correct way to test for device-specificity under Mac OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-17 21:08:16 +00:00
Manolo Gouy
9a026f9dcd Reintroduced the changes brought in r.7606 that had been lost in r.7617
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-16 17:19:02 +00:00
Manolo Gouy
55a6172ad7 Removed useless #include <Fl/fl_ask.H>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-15 21:16:27 +00:00
Manolo Gouy
e6935ce29c Removed commented-out debugging statements
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-15 17:44:51 +00:00
Albrecht Schlosser
da2954b1d6 Removed an "unused variable" warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-15 08:20:15 +00:00
Albrecht Schlosser
02ef055c6c Previous commit log should read:
Fixed regressions introduced with svn -r 7617.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-15 08:04:50 +00:00
Albrecht Schlosser
37ef57934f Fixed regressions introduced with svn -r 7627.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-15 07:49:26 +00:00
Greg Ercolano
41f7ed5477 Reordered widgets for proper keyboard navigation.
(in progress: adding keyboard nav to Fl_Tree)



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



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


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-09 09:37:49 +00:00
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
d7fdaf8262 Removed Fl_Tree::parent(Fl_Tree_Item*) to solve STR#2377.
The method was extraneous; item->parent() should be used instead.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-07 22:51:18 +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
9416e3480a README.examples file modified to include an as-is disclaimer and BUGS section.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-07 01:57:34 +00:00
Greg Ercolano
35dc0ce4b6 README file modified to include an as-is disclaimer and BUGS section.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-07 01:56:44 +00:00
Greg Ercolano
4523405228 wizard example mods, Makefile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06 21:43:59 +00:00
Greg Ercolano
668ac3f974 More svn trailers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06 21:25:44 +00:00
Greg Ercolano
5162d3bc8d Added howto-add_fd_and-popen.cxx, added missing version Id EOF markers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06 21:24:06 +00:00
Greg Ercolano
384929e7d2 Added examples directory
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06 20:28:37 +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
da69734f02 added device to demo's dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 22:10:03 +00:00
Manolo Gouy
170242b174 Reflected new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 22:04:05 +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
85eb95a550 Changed svn properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:50:51 +00:00
Manolo Gouy
b6d9a8c15f Changed following new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:45:22 +00:00
Manolo Gouy
b7a566bdfc Changes following new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:44:01 +00:00
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
Greg Ercolano
2bf58376e5 Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-19 07:22:37 +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
f0be902828 documentation/unicode.dox: added to the Unicode and UTF-8 Support chapter
added references to RFC 3629 as the source of the 21-bit U+10FFFF limit,
outlined the illegal character strategy of fl_utf8decode(), and
added warnings that fl_utf8len() is unsafe



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 20:16:51 +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
engelsman
c1fbbf03ac FL/mac.H: stop doxygen complaining by escaping # in comment
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 16:42:16 +00:00
Ian MacArthur
97c314c46d Typo in tree.h - needs to call fl_ask.H (not fl_ask.h)
Greg - if this is from fluid, the fluid input file may be wrong?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-14 17:31:18 +00:00
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