Commit Graph

3769 Commits

Author SHA1 Message Date
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
Matthias Melcher
762d02fb62 Using Fl_Plugin feature to automatically draw OpenGL (sub)windows. No extra coding needs to be done. Just call Fl_Printer::print_widget(...). The Fl_Gl_Printer device can (and should) be removed or at least made inaccessible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 22:51:31 +00:00
Manolo Gouy
1b6e7bd812 The "Print front window" external button is available if compiling with -DUSE_PRINT_BUTTON
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 18:27:19 +00:00
Manolo Gouy
664c2f4b4e Fixed CGcontext stack error appearing under Mac OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 17:40:03 +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
Manolo Gouy
b5e2d38b2f Have class Fl_Sys_Menu_Bar and function fl_mac_set_about appear in Doxygen doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 14:47:40 +00:00
Manolo Gouy
b20ef0bdeb Fixed WIN32 printing of RGB images without transparency. Still print_window_part() problem.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 12:03:48 +00:00
Manolo Gouy
0df1d8b695 Conflict with variable id used in Fl_Images.H and others was removed, so #define id id_ hack now useless.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-16 09:08:27 +00:00
Albrecht Schlosser
186a8f0ff1 Renamed internal member variables id and mask to id_ and mask_ to avoid
conflict with Mac OS X/gcc 3.x name clash when compiling with obj-c.
Also made them private instead of public.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 23:47:47 +00:00
Albrecht Schlosser
99e9c68215 restoring transparency in test/unittest_images.cxx (Windows and X11).
Note: fl_draw_image() supports transparency (alpha channel) currently
only on Mac OS X.
This needs to be fixed for other platforms !


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 23:39:47 +00:00
Manolo Gouy
7c018b55c2 Changed menu name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 16:20:38 +00:00
Manolo Gouy
1c904d452b Now compiles with GCC3 and 4.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 15:57:48 +00:00
Ian MacArthur
41ee53fd34 Make the GL printer menu in the cube demo look a little but tidier in
winXP (and I hope on X11 etc.) and alos hopefully without breaking it
for OSX and the Fl_Sys_Menu_Bar...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-15 09:31:10 +00:00
Manolo Gouy
5e214c1e1d Now compiles from Mac OS 10.3 and above
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 22:21:43 +00:00
Matthias Melcher
be17e1ccb6 Updated Fl_Device and Fl_Printer for Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 21:29:12 +00:00
Albrecht Schlosser
75b8da3813 Updated CHANGES file with Fl_Device and Fl_Printer support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 19:41:24 +00:00
Albrecht Schlosser
0211d5c7e0 updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 18:35:14 +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
yuri
5bc66fafc3 fix mingw32 crosscompilation under linux - select correct WIN32 GUI
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-13 21:51:52 +00:00
Matthias Melcher
c80e789208 Updated Xcode project to add AudioToolbox
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-10 23:05:43 +00:00