Commit Graph

37 Commits

Author SHA1 Message Date
Manolo Gouy
535f0c2d3b Introduction of the Fl_Printer class requires all member functions of class
Fl_Paged_Device to be virtual. That is done here.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-31 15:53:23 +00:00
Manolo Gouy
1993f08a33 Added Fl_Printer::add_image(const ichar*) needed for correct memory usage by
Fl_Paged_Device::print_window_part().

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-31 13:02:55 +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
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
39818616b9 Fixed case typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-01 19:05:30 +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
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
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
39169af7dd Removed Doxygen warning from file src/Fl_Printer.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-26 10:22:40 +00:00
Manolo Gouy
fdc59c9870 Improved Doxygen doc of classes Fl_Graphics_Driver, Fl_PostScript_Printer, Fl_System_Printer, Fl_PostScript_Graphics_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-12 09:25:37 +00:00
Manolo Gouy
dd823b703c Added missing Doxygen doc
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-01 15:35:28 +00:00
Manolo Gouy
9316ab2cb8 Slight documentation improvement for 'class' Fl_Printer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-01 14:41:00 +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
d0b1cc30f7 Removed multiple inheritance: back to r. 7519 exactly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 06:57:37 +00:00
Manolo Gouy
913530758a Improved the hierarchy of Fl_Device subclasses to allow separation of platform-specific devices.
This introduces multiple inheritance.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 20:19:09 +00:00
Albrecht Schlosser
6359f8be73 Made the printer dialog customization strings platform independent, so that
they can be set on all platforms to avoid platform-specific end user code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 18:42:35 +00:00
Manolo Gouy
a9b13f973b Added an Fl_Printer destructor that's useful under MSWin when printing is aborted
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 16:58:28 +00:00
Manolo Gouy
24b8386bf1 Fl_Gl_Device_Plugin: more device-independant API
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 17:38:27 +00:00
Manolo Gouy
62bf6910ac Fl_Printer.H: clarify transparency issues in doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-31 11:02:58 +00:00
Manolo Gouy
065dfed2c3 Added platform-specific information to Fl_Printer doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-30 12:09:09 +00:00
Manolo Gouy
b3d4755286 Fl_Printer & Fl_PSfile_Device : added some implementation details in doc
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 12:52:28 +00:00
Manolo Gouy
24c6e23e25 print_panel.cxx: allow customization of "Print To File" string
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 12:15:22 +00:00
Manolo Gouy
b77071a3de Fl_Printer class on Xlib: allow dialog text customization at run-time
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-28 14:03:40 +00:00
Manolo Gouy
4ee4463bac Divided Fl_Printer.H into Fl_Printer.H + Fl_Abstract_Printer.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 14:26:24 +00:00
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
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
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
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
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
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
Manolo Gouy
7f001d1fb9 Added Fl_PSfile_Device::start_job() with user-given filename.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 15:17:33 +00:00
Albrecht Schlosser
998cc6df52 Merge of branch-1.3-Fl_Printer, with the following main changes:
(1) adding Fl_Device class (and more) for device abstraction
 (2) adding Fl_Pinter class (and more) for printing support.

Todo: Code cleanup, update dependencies, remove/replace test print window.
I'm looking into converting the test window popup in a global shortcut
that would pop up the print dialog now...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 18:07:24 +00:00