Commit Graph

837 Commits

Author SHA1 Message Date
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
61eb9377c8 Renamed global variable from fl_device to fl_graphics_driver to better express its class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-01 13:21:32 +00:00
Manolo Gouy
142cefd106 Mac OS X: fixed bug where fl_draw(const char*, int, float, float) would not work on non-Quartz device
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-24 21:55:20 +00:00
Manolo Gouy
449b99dd86 Fix STR 2339 by defining new member function rtl_draw of class Fl_Graphics_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-21 15:49:45 +00:00
Greg Ercolano
d7fdaf8262 Removed Fl_Tree::parent(Fl_Tree_Item*) to solve STR#2377.
The method was extraneous; item->parent() should be used instead.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-07 22:51:18 +00:00
Manolo Gouy
85eb95a550 Changed svn properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:50:51 +00:00
Manolo Gouy
e0a798f115 Reflecting deleted files by new device hierarchy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-27 17:30:03 +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
Greg Ercolano
2bf58376e5 Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-19 07:22:37 +00:00
engelsman
c1fbbf03ac FL/mac.H: stop doxygen complaining by escaping # in comment
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-17 16:42:16 +00:00
Greg Ercolano
5be97a7868 Mods to tree widget for docs and callbacks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-12 04:59:52 +00:00
Greg Ercolano
1f6d222cb8 1) Modified tree test program to include when() options,
2) Improved when() handling for left mouse behavior
3) Added docs for when() handling



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-05-10 22:51:01 +00:00
engelsman
a10e58a690 added implementations of fl_wcwidth_() and fl_wcwidth() to src/fl_utf.c
these supercede the old fl_wcwidth() code in src/xutf8/fl_wcwidth.c.
also added corresponding declarations to FL/fl_utf.c, and updated
src/Fl_Text_Buffer.c to enable the call to fl_wcwidth()



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-20 21:43:31 +00:00
engelsman
9545e033bb Fl_Text_Buffer/Display fixes for UTF-8 / STR-2158 (part 1)
fixes to handle incorrect counting of UTF-8 characters by checking
for complete UTF-8 encodings in char* rather than char by char.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-18 14:33:33 +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
828568a336 Fixed compilation error at line 44.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-17 13:48:35 +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
Manolo Gouy
5a8c6087b0 Added Fl_Sys_Menu_Bar::insert(), clear(), clear_submenu()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 19:27:28 +00:00
Greg Ercolano
cba451be45 Doc sync.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 17:55:45 +00:00
Matthias Melcher
2a2e0821c9 Small fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-15 08:56:37 +00:00
Manolo Gouy
fe76949b83 Made fl_register_images() seen by Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:47:34 +00:00
Matthias Melcher
30d00ceb07 Fludi IDE: now supporting header files for OS X. If those are included for a library, the resulting framework will receive a copy of the headers, allowing Xcode to simply include the file into any new project. frameworks must be installed in /Library?Frameworks to be found automatically. A little more fixing is required.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 20:17:44 +00:00
Manolo Gouy
be9127c61a More logical use of Fl_Device::draw(<image class> *,...) functions
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 13:07:34 +00:00
Manolo Gouy
4b32140457 Making fl_old_shortcut() seen by Doxygen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-14 08:07:53 +00:00
Manolo Gouy
241b2c746e gl_draw.cxx (Mac-specific): implemented a fifo pile of pre-computed textures for faster GL text rendering.
Also added new function gl_texture_pile_height(int) that sets the height of this pile.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 14:26:12 +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
Matthias Melcher
927fd35165 Added new label alignments for image and text to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 22:18:05 +00:00
Ian MacArthur
52470488ce After testing, I have applied ucko's latest patch for providing access
to "core" fonts when XFT is selected. This allows contexts that need
bitmapped fonts (e.g. GL) to access a bitmap core font, even though
XFT2 does not generally provide bitmap font access.

STR #2214 refers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 16:46:45 +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
Greg Ercolano
63b746fabc Doc fixes/additions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 05:22:13 +00:00
Matthias Melcher
f899c3897d Added new flags for label alignment: FL_LEFT_TOP, FL_RIGHT_TOP, FL_LEFT_BOTTOM, and FL_RIGHT_BOTTOM align outside labels first to the side, then to the top or botton, filling a gap in possible alignment. Also FL_ALIGN_TEXT_NEXT_TO_IMAGE and FL_ALIGN_IMAGE_NEXT_TO_TEXT which do just that, and finally FL_ALIGN_IMAGE_BACKDROP which renders the image in the background and draws the label on top.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 23:17:33 +00:00
Matthias Melcher
29317e7b2d Marked some more issues with Fl_Text_...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 23:00:56 +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
Matthias Melcher
2bf6fa6074 A few more comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:26:29 +00:00
Matthias Melcher
61cf49ddfc Another update to Fl_Text_Buffer. This is by no means perfect, but at least it currently does not crash (I am so easily satisfied :-P).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:18:14 +00:00
Matthias Melcher
07a4509a63 Validated utf-8 safety of Fl_Text_Selection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 21:10:40 +00:00
Matthias Melcher
814da7f392 Little fix that will keep Fl_Text_Display from crashing on German umlauts. This is by no means a fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 21:02:48 +00:00
Matthias Melcher
fca1c022e7 Holy Gucamole! NEdit was designed with 'C' style strings in mind. Until that is that someone had the great idea to allow <nul> as a valid character in the text editor. The developers jumped through quite some hoops to allow that without rewriting the core. Well, actually they did: they added a parameter to pretty much every internal call that conatined the null-replacement-character. Anyway, since we only handle 'C' strings, I remove all related code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 20:22:43 +00:00
Matthias Melcher
d5175c0b88 Adde /todo tags to all function which I will remove as soon as I am sure that they are entirely Unicode safe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 20:01:10 +00:00
Matthias Melcher
024c4b995b I humbly apologize for this commit, but I just could not bear it anymore. I moved all Doxygen comments from Fl_Text_Buffer.cxx into the header (I kept searching back and forth for the comments) and then did the unthinkable: I reformatted Fl_Text_Buffer.cxx! OMG. It is actually somewhat *readable* now. I shouldn't have done it! It's a mess ;-). Fl_Text_Buffer was modified many times to do things it was never designed to do. And looking at 'svn b;ame', I remember that I tried to quick-fix UTF-8 on top of that. Anyway, I'll dig into this now. I want 1.3.0 out of the door (end of ramble).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 19:52:52 +00:00
Matthias Melcher
769ebeeba7 Tearing my hairs out about terminology in utf-8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 12:55:14 +00:00
Matthias Melcher
f2fa59fd0f Starting to clean up and document Fl_Text_... to acheive UTF-8 support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 12:45:03 +00:00
Matthias Melcher
dcdc4439cc STR 2108: added warning to fl_rect documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 09:10:50 +00:00
Manolo Gouy
0d32b63ea3 Fixed databse typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-03 13:03:43 +00:00
Manolo Gouy
3ea2e46ce6 Fl_Preferences.H: renamed dummy variable id to id_ to allow gcc-3.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7414 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-03 09:14:03 +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
Matthias Melcher
82be53f64d OS X: more references to non-Cocoa builds removed
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 11:07:29 +00:00
Matthias Melcher
941901e273 OS X: removed all Carbon and Quickdraw references. Starting with 1.3, we only support Cocoa and Quartz.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 10:35:00 +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
99f2e8b5be Fl_PSfile_Device::start_job(): allow user to customize the file chooser title
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7349 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-28 10:13:26 +00:00
Manolo Gouy
f766b7930d PostScrit print dialog: memorize page size and orientation user's preferences
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-26 18:10:39 +00:00
Manolo Gouy
784d829bdc (Trying to) set properties
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 16:05:00 +00:00
Albrecht Schlosser
ee2935de68 Fixed doxygen warnings and added a new documentation module "Callback
function typedefs" so that they appear in an own documentation group.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 14:37:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Matthias Melcher
c35463fdbe Starting to add a GUI to manage the IDE database.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 22:38:25 +00:00
Greg Ercolano
f71f365268 Removed HTML escapes on <> as per Albrecht's suggestion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 18:10:54 +00:00
Greg Ercolano
6168f6fd4b doc mods to support fl_eventnames[].
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 17:49:19 +00:00
Greg Ercolano
0f87d7719b added docs for fl_eventnames[] and fl_fontnames[]. (fixes STR#2275)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 17:25:32 +00:00
Matthias Melcher
4a802a3159 Fixed menu item counting issue in Fluid (STR #2322), Added Fl_Menu_::find_item by callback
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:03:21 +00:00
Greg Ercolano
6376e36aa0 Documented supported HTML tags. (STR#2321)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-23 15:55:22 +00:00
Matthias Melcher
2f82fd0663 Mixed bag. Please see CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:14:47 +00:00
Albrecht Schlosser
7ae0c170ad Added Fl_Widget_Tracker in handle() methods etc. to avoid accessing widgets
after deletion (STR #1306). This is all I could find, but maybe there are
more places in the code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 17:40:07 +00:00
Matthias Melcher
4763df1636 Removed the Forms definition of FL_CLOSE since it is never used anyways and conflicts with FLTK FL_CLOSE. (STR #2266)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 21:15:48 +00:00
Matthias Melcher
795b2c6356 Added jpeg loading from memory. Added jpeg Fl_Widget->image() support for Fluid - but linking to fltk_images is required if this feature is used!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 11:38:42 +00:00
Albrecht Schlosser
ea31edb241 Added new virtual methods, as discussed in fltk.development:
virtual Fl_Group*  Fl_Widget::as_group() const
  virtual Fl_Window* Fl_Widget::as_window() const
Todo: documentation is not yet complete.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-13 12:25:58 +00:00
Manolo Gouy
4645ed9703 defined macro FL_CGRECTMAKE_COCOA that
contains the correct way to transform x,y,w,h into
a CGRect adequate for clipping

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-29 21:16:20 +00:00
Manolo Gouy
1eb95cd823 Three Cocoa-related changes:
- correct window resize in mandelbrot demo
- clip to 1-pixel and 0-pixel width now work
- modifier key presses are now correctly reported

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 10:27:21 +00:00
Matthias Melcher
416f5b0dcd Still not having added Fl_Tree and Fl_Table to Fluid, I remembered the plugin concept we had early on. It occured to me that writing plugins must not be difficult, and that FLTK already has everything needed. So here it is, a plugin implementation for FLTK. The MSWindows/Cygwin implementation is untested due to lack of a machine. The dynamic loading still needs a test implementation. Comments welcome.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 00:16:33 +00:00
Albrecht Schlosser
51acfa41eb Replaced _WIN32 symbols that had crept in with UTF-8 and the
new Fl_Table widget with WIN32.

Todo: check, if the conditional in test/table.cxx is useful at all


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-23 13:48:50 +00:00
Greg Ercolano
d9f37fe65b Small mod to FlTree doxygen docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-17 21:54:48 +00:00