Commit Graph

904 Commits

Author SHA1 Message Date
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
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
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 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 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 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 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
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
Ian MacArthur 00272583b6 Had to move the variant definition of fl_filename_relative() with 4 params inside the ifdef __cplusplus block because on WIN32 (at least with MSYS/mingw) this header is read by a plain-C version of scandir.c, that errors out when it encounters the multiple incompatible definitions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 13:35:43 +00:00
Manolo Gouy d9a2ac2f0a Small doc correction.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 08:20:44 +00:00
Manolo Gouy 88ba28f792 Small doc correction.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 08:15:12 +00:00
Greg Ercolano 4a883a2e81 Added new tab_nav() control for Fl_Multiline_Input tab navigation behavior.
New default behavior is what most users expect; hitting Tab navigates over the widget.
Fl_Input modified to support the new flag.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 07:48:59 +00:00
Greg Ercolano df6de286e7 Removed emacs shortcuts from Fl_Input,
conformed Fl_Input keystrokes to native environment (much research went into this, citations included).
Tested editing functions on all three platforms. Doxygen docs updated.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 06:42:38 +00:00
Matthias Melcher 740d7e211f Added function to free the list that was created with fl_filename_list.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 23:24:06 +00:00
Matthias Melcher 22953ccb02 Added fl_filename_relative which uses an additional parameter instead of the current working directory. Now we can find a relative path without changing the cwd.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 21:39:01 +00:00
Matthias Melcher 9092dccab8 Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19 21:20:10 +00:00
Manolo Gouy d01c9cdf5b Mac OS: replaced several global functions by new member functions of Mac OS-specific Fl_X class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18 22:31:01 +00:00
Manolo Gouy f451946d42 Homogenize use of re-encoding and transcoding (in favor of the latter).
Also, makes clear that the code is ready to deal with any encoding, not just fixed-length ones.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 17:38:39 +00:00
Albrecht Schlosser 97e8dc94c9 Fixed typos in FL/Fl_Input_.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15 16:58:08 +00:00
Albrecht Schlosser 0c21b331b0 Added missing 'FL_EXPORT' to lots of classes.
This may not be complete yet...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 23:21:03 +00:00
Matthias Melcher 318b3dea57 Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 19:52:26 +00:00
Manolo Gouy 495b3b5af5 Moved enums Page_Format and Page_Layout to class Fl_Paged_Device
where they are better located. Small reorganization of device-related include files.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 16:13:55 +00:00
Manolo Gouy fc25ffc246 Corrected typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 11:19:12 +00:00
Manolo Gouy fbf1913c92 Added missing Doxygen doc about popup menus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 10:56:07 +00:00
Manolo Gouy 82ff3abd50 Moved doxygen info about Fl::paste(Fl_Widget&, int) to where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-11 22:34:05 +00:00
Manolo Gouy 85a03a76c9 Fix STR #2348. Files encoded with UTF-8 or CP1252 are accepted. Any non-UTF-8-encoded
data is interpreted according to CP1252 and transcoded to UTF-8. By default, a warning
message is displayed when the input file was transcoded. This default behavior can be 
modified by changing a function pointer. A flag has been added to the Fl_Text_Buffer object
that informs the caller if the input file was transcoded to UTF-8.
The Fl_Text_Buffer.cxx file contains some preliminary code that could be used in the future
to input other encodings provided they are fixed-length (e.g., all ISO-8859-* character sets,
UTF-16). This code is not compiled at this point.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 19:24:28 +00:00
Greg Ercolano 395f5a70aa Adjusted Fl_Table docs to reference new examples.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10 18:31:38 +00:00
Manolo Gouy 60764e05ca Doc: removed duplicate word.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 13:41:12 +00:00
Greg Ercolano de8ca00a65 More doc fixes:
o stray \code in the docs for Fl_Align
	o smaller latex/pdf widget screenshot sizes for Fl_Value_Input/Output



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 12:19:03 +00:00
Greg Ercolano a01d246ead Fix oversized color swatch in PDF docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 12:08:13 +00:00
Albrecht Schlosser 5da53f578e Improved Fl_Menu_Item's documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 00:04:06 +00:00
Greg Ercolano 9e2d044caa As per thread on fltk.development: "RFC: Docs - getting rid of .eps files"
Summary:
    Get rid of eps files, 
    change all doxygen '\image latex' references to eps files to png/jpeg instead,
    convert doxygen images from gif -> png (to support html+latex).

Actual operations:

		1) svn remove *.eps
		2) convert all gifs ->  png
		3) svn remove *.gif
		4) svn add *.png
		5) For jpeg/png images, change all \image latex foo.eps .. ->  \image latex foo.[jpg,png] ..
		6) For gif images, change all \image html foo.gif .. ->  \image html foo.png
		   and (harder to do): change \image latex foo.eps .. ->  \image latex foo.png ..
		7) Remove EPSFILES macro from documentation/Makefile 
		   and remove eps related dependencies that were added recently



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 23:53:04 +00:00
Albrecht Schlosser 97b4b0c704 Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:00:35 +00:00
Manolo Gouy 4b9b38484e Doc: specify in modules what .H file is to be included.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-07 21:47:57 +00:00
Matthias Melcher 1bac8a0cca Fixed crashes when Fl_Text_* detects illegal UTF 8 sequences. Widgets will not do any further processing but just jump over the character. Screen representation depends largely on whatever the underlying OS does with those sequences, but I feel that this is out of the scope of this library. (STR 2348)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 18:22:22 +00:00
Greg Ercolano 4abadf9df5 Fixed tree-elements image
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7955 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 16:07:55 +00:00
Greg Ercolano 65d02841c2 Added latex \image refs to tree+table docs,
and eps image filenames to documentation/Makefile.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 09:50:59 +00:00
Greg Ercolano 770c2c2eaf CMP mods: bracing, doxygen fixes for code examples and #if DOXYGEN -> #if FL_DOXYGEN.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 01:22:53 +00:00
Greg Ercolano 0abd2665f5 Reformatting for CMP: Indent fixes, bracing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-05 00:38:16 +00:00
Manolo Gouy c95c08e627 Fix STR 2281: documentation changes only to clarify names and functions of the 2 clipboards
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 22:59:30 +00:00
Greg Ercolano a343f7555b STR#2466: Added copy_tooltip().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 17:58:58 +00:00
Albrecht Schlosser b4299c2387 More Fl_Text_Display documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 09:46:01 +00:00
Albrecht Schlosser e5fc1560b0 Fixed Doxygen comments, typos, and a few indenting issues.
Part 1, more to come ...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-02 00:43:07 +00:00