Commit Graph

4513 Commits

Author SHA1 Message Date
Manolo Gouy
1277b4e9a2 Added missing static function qualifier
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8225 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 14:16:36 +00:00
Manolo Gouy
eec2fbea89 Corrected typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8224 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 14:08:58 +00:00
Matthias Melcher
d96789d931 STR 1760: using the alt modifier on OS X to access menubar accelerators.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 12:56:50 +00:00
Manolo Gouy
712554e3b0 Fixed STR #2512: crash in test/tree demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8222 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-09 08:34:13 +00:00
Greg Ercolano
3715d38360 Added a drag and drop example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 18:58:50 +00:00
Greg Ercolano
ba82efddcd Example was missing end() in ctor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 18:41:47 +00:00
Matthias Melcher
0b6b69caaa Accidentaly copied here
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 16:31:55 +00:00
Matthias Melcher
2dc664935d git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 2011-01-08 16:28:16 +00:00
Albrecht Schlosser
f62a6a927a Removed unused (but unnecessarily incremented and decremented)
timeout counter variables and improved comment.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-08 11:53:28 +00:00
Albrecht Schlosser
45745509f0 Fix to take care of Cygwin that uses UTF-16 as well as native Windows,
i.e. sizeof(wchar_t) = 2, and Unicode is UTF-16 with surrogate pairs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 17:23:02 +00:00
Manolo Gouy
63e77dfe56 Removed compilation warning in fl_font_win32.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8213 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 16:19:30 +00:00
Manolo Gouy
97fce6b748 Removed requirement of Mac OS 10.4 because of use of [NSScreen userSpaceScaleFactor]
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 14:47:02 +00:00
Albrecht Schlosser
8197ba8d9b STR #2505: Fixed double string conversion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 13:28:42 +00:00
Albrecht Schlosser
cdaff761f7 src/screen_xywh.cxx:
Fix X11 screen_init() if Xinerama is available, but not active.
Still investigating why there are nonsense dpi values under Cygwin/X11,
but maybe this is an X server problem.

test/hello.cxx:
Extended test statements - don't forget to remove before release.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 12:39:51 +00:00
yuri
3c25646121 fix build with xinerama
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 09:45:40 +00:00
Manolo Gouy
5c4cfa8863 Fix STR #2505. This allows bad UTF-8 strings to be displayed under X11+Xft without crash.
Any string is converted to Unicode (to UTF-16 under Cygwin) by fl_utf8decode() within
the fl_draw() and fl_width() functions, and the converted data is drawn/measured.
fl_utf8decode() accepts any byte input, even bad UTF-8.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 09:15:02 +00:00
Matthias Melcher
af1d2731d0 DPI fixed for X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8207 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:37:47 +00:00
Matthias Melcher
ecc423c2f1 DPI fixed for Xinerama?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:33:29 +00:00
Matthias Melcher
308c6bc307 DPI fixes for MSWindows GDI
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:12:04 +00:00
Matthias Melcher
7dc05cb20e First attempt at finding the screen pixel sizes. Can't test Xinerame, MSWindows, or X11 yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-07 01:01:04 +00:00
Matthias Melcher
d6bffb20a3 STR 2511: some minor doc changes. I did some extensive changes just after releasing RC2
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8203 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:48:37 +00:00
Matthias Melcher
3ed49c0793 STR 2510: send Fluid help string to an FLTK dialog box for Visual Studio builds.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 21:36:04 +00:00
Manolo Gouy
22111debb8 Fixed use of FLTK_HAVE_CAIRO under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 13:17:21 +00:00
Manolo Gouy
0e066f5511 Fix STR #2504 (last part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:27:18 +00:00
Manolo Gouy
0300ea28e7 Fix STR #2504 (2nd part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:26:25 +00:00
Manolo Gouy
bc509d32eb Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 10:24:58 +00:00
Manolo Gouy
ead3432f9b Classes Fl_Printer and Fl_Postscript_Printer: added missing class_name() calls.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 08:46:54 +00:00
Manolo Gouy
9f61a96b85 Declared protected the constructors of classes Fl_System_Printer and Fl_Postscript_Printer,
so end users only employ the system-independent Fl_Printer class.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-06 06:06:57 +00:00
Albrecht Schlosser
128636292a Added refman.pdf to clean target in documentation/Makefile.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 23:00:33 +00:00
Albrecht Schlosser
3eb5a172a3 Changed remaining _WIN32 to WIN32.
Added 'all' target to Makefile. Do we need the 'default' target?


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 22:28:39 +00:00
Greg Ercolano
974c369e3b Indenting mods for platform macro/includes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 17:58:16 +00:00
Manolo Gouy
18ae07b181 Fix STR #2507. Applied supplied patch modified for Mac OS X. Checked OK on Linux.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 16:50:10 +00:00
Albrecht Schlosser
3d470e8c0d Modified documentation/Makefile to correctly generate docs.
Generating HTML and PDF docs is now independent, order doesn't matter.

New and modified make targets:

 - html: generate HTML docs only
 - pdf:  generate PDF docs only
 - dist: generate HTML and PDF docs (use for distribution files)
 - html-online: HTML docs with "stripping" modification dates
 - alldocs: retained as synonym for 'dist'

To do: README file must be updated...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 12:55:10 +00:00
Manolo Gouy
4beb3b88e8 Renamed Fl_Device::type() to Fl_Device::class_name() to avoid conflict or confusion
with Fl_Widget::type(). Added a setter function Fl_Device::class_name(const char *).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05 10:21:45 +00:00
Manolo Gouy
6320a7c680 Fix in Doxygen comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 22:04:54 +00:00
Manolo Gouy
e11677bfaf Better position of the Fl_Printer class in the Fl_Device class hierarchy.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 21:42:02 +00:00
Matthias Melcher
7b302635e7 Removed PDF from the regular distrubution. This will be generated at dist time along with the html docs and distributed separately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 19:12:44 +00:00
Albrecht Schlosser
526131a89b Fixed a typo and an error. We must not use "make html-dist" for distribution.
This Makefile tag is misleading and should be corrected.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 19:06:02 +00:00
Greg Ercolano
bd539d4f90 Clarify platform ifdef's with indenting and grouping.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 18:44:25 +00:00
Matthias Melcher
cf95f8d261 Some minor doc changes to avoid doxygen warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 18:28:01 +00:00
Albrecht Schlosser
18791a10f6 Adjusted svn properties in examples directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8183 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 17:31:56 +00:00
Albrecht Schlosser
e5c3b267ff Use Fl_Double_Window in table-sort example because of flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 17:19:50 +00:00
Matthias Melcher
bcff5beb33 STR 2506: after reading Greg's comment, I modified my last commit to use 'dir' on all MSWindows builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 16:10:56 +00:00
Matthias Melcher
023fc6384c STR 2506: changed dependency on _WIN32 (deprecated) to _MSC_VER, assuming that Cygwin and MinGW apps on MSWindows will run in a Unix style shell.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 16:06:52 +00:00
Albrecht Schlosser
21f1c67b60 Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 15:15:48 +00:00
Manolo Gouy
ec2cfd3bf5 Doxygen typo fixed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 14:09:37 +00:00
Greg Ercolano
e4b4ecb53d Mods to allow building on Windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 02:05:56 +00:00
Matthias Melcher
210114ca0f test/help now finds some documentation. This kind of works, but since we decided to load a sample page instead, I will have to improve this... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-04 00:53:13 +00:00
Manolo Gouy
d4d4a24eff Fixed warning in Fl_Gl_Choice.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 20:51:17 +00:00
Matthias Melcher
523a2ed9b7 Recompiled pdf with newest versions of doxygen and epstopdf, generating a much smaller yet complete pdf
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-03 20:47:16 +00:00