Commit Graph

4425 Commits

Author SHA1 Message Date
Manolo Gouy
d3d16a354e Win32 right-to-left text: output whole string to obtain correct ligatures between Arabic letters.
This new algorithm is not coherent with fl_width() but allows minimal usage of fl_rtl_draw().
The utf8 demo shows the effect of this change.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 21:24:15 +00:00
Greg Ercolano
5579dd81cc Added some descriptive text for the example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8133 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 20:28:44 +00:00
yuri
ba29f18951 remove FL_EXPORT - fix link error of users programs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 18:33:46 +00:00
yuri
70be49de58 fix MSVC includes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 18:30:48 +00:00
Manolo Gouy
98e9042a53 Made sure FL/x.H is included only when necessary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 18:14:59 +00:00
Manolo Gouy
2a5a3d4e8b Use device abstraction for colors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 15:33:36 +00:00
Manolo Gouy
431fc4cd5d Use device abstraction for image drawing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 15:17:23 +00:00
Manolo Gouy
64dd2cfa68 Added right-to-left text drawing to PostScript graphics driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 12:45:28 +00:00
Manolo Gouy
b431c1e0e7 Use device abstraction for font and text drawing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-28 12:02:23 +00:00
Albrecht Schlosser
f3e04b8b87 Updated documentation/fltk.pdf for 1.3.0-rc2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8125 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 17:53:56 +00:00
Albrecht Schlosser
5a2e5395b0 Updated dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8124 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 17:46:38 +00:00
Matthias Melcher
3ef9014a5d 'make distclean' cleans Xcode leftovers
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 15:03:59 +00:00
Matthias Melcher
8a66c06e10 Attmpt to throw away meaningless CHANGES entries, and resort by priority in better categories. The CHANGES file is a clear indicator of packing much too much into a single *minor* release. OTOH: boy, have we been active!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 14:55:53 +00:00
Manolo Gouy
9f42fc19f5 Removed useless statements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 11:25:57 +00:00
Manolo Gouy
e2e953d13b Necessary after changes brought in r.8113
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8118 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 11:07:57 +00:00
Manolo Gouy
1104789c13 Removed Doxygen warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 10:33:50 +00:00
Greg Ercolano
3a9d8a11f9 Removing unused doc dependencies on images.
Mods as per conversation on fltk.development today, 
    subject: "Re: Remove image dependencies ?  [was: Re: [Library] r8091 - in branches/branch-1.3:FLdocumentation/src]"




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 00:20:28 +00:00
Greg Ercolano
7bfe700ea9 Finishing up STR#2479 as per Manolo/Greg/Albrecht conversation.
We return 0 for all unused keystrokes in Fl_Input.
    So instead of 'return 1: absorb keystroke and ignore',
    we're going with 'return 0: ignore keystroke and let parent have a shot at it'.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 00:16:57 +00:00
Manolo Gouy
51ff20b053 Added doc of fl_open_display() and fl_gc under OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 16:11:29 +00:00
Manolo Gouy
a8530c73fa Adopted use of FL_LIBRARY #define symbol under Mac OS X. This allows to compile
client applications without including Mac OS system headers, with a gain in speed of 
compilation and portability. The source files of all FLTK libraries must now be compiled with 
-DFL_LIBRARY under Mac OS X. Make, CMake and Xcode project support files
have been modified accordingly.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 14:24:29 +00:00
Manolo Gouy
122c0e6859 Corrected typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 09:49:57 +00:00
Manolo Gouy
25c975aa1b Doc change: fix error in Mac shortcut for delete word left.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8111 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 08:13:18 +00:00
Manolo Gouy
3590348773 Doc changes: mention that FL_COMMAND modifier exists in doc of the Fl_Menu_::add() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 08:02:52 +00:00
Manolo Gouy
202433d593 Replaced "^o" shortcut by FL_COMMAND+'o'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8109 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-23 07:22:15 +00:00
Manolo Gouy
21af5cb884 Doc changes: use consistently "selection buffer" and "clipboard" as names of the two buffers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 20:47:54 +00:00
Manolo Gouy
b5aac7591c Fix STR #2495: free memory during destructor of Fl_Type object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 20:20:34 +00:00
Greg Ercolano
e86b65c80a Fixes to ensure readonly() widget is not modified by destructive keyboard functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 20:20:28 +00:00
Manolo Gouy
843e1d8987 Doc changes for Fl::copy(), Fl::paste() and Fl::dnd(). The terms used are now the "selection buffer"
for middle-mouse paste and DnD, and "clipboard" for copy/paste.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8105 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 17:06:09 +00:00
Albrecht Schlosser
430984f574 Removed obsolete link from README.MSWindows.txt
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 14:32:11 +00:00
Albrecht Schlosser
64468d4639 CHANGES: Fixed typos and removed trailing spaces.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:23:53 +00:00
Albrecht Schlosser
ada206d8f7 Added Fl_Tabs::client_area() (STR #2480).
Fixed some typos in CHANGES.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:06:03 +00:00
Manolo Gouy
1f39dbe5fc This include of Carbon.h is just unnecessary.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:05:06 +00:00
Albrecht Schlosser
f1c4092b98 added newer Cygwin (cross/mingw-w64) options.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8099 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 12:28:10 +00:00
Manolo Gouy
75533d2482 Make sure not to call XFree with NULL pter.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 09:22:38 +00:00
Manolo Gouy
7a75f5b923 Fix STR #2474. This allows an FLTK application to be started at X startup and to respond to
X input methods even if the XIM server starts after the application.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8097 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 07:09:25 +00:00
Greg Ercolano
acfc66b01b Add an simple example application to open/save files using the FNFC.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 23:04:16 +00:00
Greg Ercolano
5a2b5dcf1b New image added to documentation dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 17:07:14 +00:00
Greg Ercolano
180b4b289b Image fixes; font, higher color index.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 09:49:55 +00:00
Greg Ercolano
23b3c85ba9 Small doc clarification for how to #include this widget.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 09:48:57 +00:00
Greg Ercolano
51644b78e5 Larger image in latex/pdf docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 09:19:31 +00:00
Greg Ercolano
f0f5dd5c13 Added doc screenshot for Fl_Native_File_Chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 09:09:15 +00:00
Greg Ercolano
99fe2b88e7 Added "Tab Nav" and "Arrow Nav" toggle to the test/input program.
Also, added tooltip to describe new "Arrow Nav" button in test/navigation program.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21 02:37:41 +00:00
Matthias Melcher
a8e8831559 Moved global FLTK options into Fluid until we find a better setup. Restored the original Preferences demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 22:19:24 +00:00
Matthias Melcher
3b65b1b3bf Sorted CHANGES text a bit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 21:21:19 +00:00
Matthias Melcher
48737a8970 Removed deprecated IDE's
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:35:05 +00:00
Matthias Melcher
88093df6e8 Removed IDE support from Fluid because it never got finished and seemed more like a race against windmills. I may pick this up again later - maybe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:33:24 +00:00
Matthias Melcher
388b0e6675 Removing more outdated docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:25:08 +00:00
Matthias Melcher
720f48cc4b Removed legacy utf8 README
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:23:09 +00:00
Matthias Melcher
9c75059f37 Restructured the Cairo README a little bit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:20:40 +00:00
Matthias Melcher
7046e8ebcb Merged the CMake documenation and adapted the format to the one used in the other README fiels (mainly adding a TOC).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8082 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 20:00:44 +00:00