Commit Graph

3788 Commits

Author SHA1 Message Date
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
Albrecht Schlosser
369366f2ae Copyright updates in docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 21:47:18 +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
Manolo Gouy
e00a106337 Added device demo to target list and to cool demos section
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 18:09:38 +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
dd0a0c39c1 This temporary test file is no longer useful.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-23 17:32:09 +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
Manolo Gouy
8c67992b53 Updating the Mac OS Interface section
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 18:51:56 +00:00
Albrecht Schlosser
916724c345 Fixed include file case for Linux/MinGW cross-compiling (STR #2333)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 11:55:34 +00:00
Fabien Costantini
7b64bc866d Fixed vs2005 project dependencies, fixed bad file refs for recent projects added.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 06:31:05 +00:00
Fabien Costantini
e85ff24c22 Fixed another FL_EXPORT missing in fl_draw.H.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 06:17:47 +00:00
Fabien Costantini
4f7629a109 Fixed broken vs2005 ide project files and created table, tree, blocks vcproj projects for vs2005 solution.
Fixed missing FL_EXPORT statements would break dll gen in all visual studio projects.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-22 05:50:49 +00:00
Fabien Costantini
bf4635d00d Fixed executable in release mode would have the debug mode name (ex: help.d.exe instead of help.exe). fltk dll's should be checked as well, in particular : intermediate obj gen. is done at the same place that other static compilation...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-21 23:34:59 +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
bddd495ab4 Removed commented out statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-20 08:37:03 +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
Albrecht Schlosser
3aa47122fe Updating PDF documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-19 16:57:29 +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
253ea58136 Attempt to add id lines and copyright
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 15:15:41 +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
Albrecht Schlosser
891f02594e Changed a comment and added svn properties:
$ svn ps svn:keywords "author date id revision" FL/Fl_Printer.H
  $ svn ps svn:eol-style native FL/Fl_Printer.H


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-18 10:56:27 +00:00
Manolo Gouy
2c56e94e7c Attempt to add id lines and copyright
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 21:22:10 +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
b729e997bc Reflecting Fl_Gl_Printer.cxx was renamed to Fl_Gl_device_Plugin.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 14:08:43 +00:00
Manolo Gouy
c81fe82cb1 No longer useful because class Fl_Gl_Printer has been deleted.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 14:03:15 +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
e6a5d896e6 Fl_Printer is now enough to print this window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 13:29:14 +00:00
Albrecht Schlosser
8ed31abe65 Fix compile error on Windows: class Fl_Widget needed in Fl_Device.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 09:39:45 +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