Manolo Gouy
cc35e003eb
Move GL-related member functions from class Fl_Cocoa_Screen_Driver to class Fl_Cocoa_Gl_Window_Driver
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 16:10:54 +00:00
Albrecht Schlosser
2dacc9a1db
Fix documentation of Fl_Tile (STR #3303 ).
...
Clarify that the resizable() box should be the first child to ensure
correct event delivery to children.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-09 11:29:59 +00:00
Manolo Gouy
9a5a5b8739
Doxygen: put all driver classes in EXCLUDE_SYMBOLS
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 17:17:31 +00:00
Manolo Gouy
7d9fdcec25
Remove Doxygen warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 17:08:15 +00:00
Manolo Gouy
f129964dc8
Make Fl_Cocoa_Gl_Window_Driver::draw_string() simpler
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 16:56:15 +00:00
Manolo Gouy
096cb38e1e
Fix typo in comment
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 16:45:11 +00:00
Manolo Gouy
188f80161a
Fix gl_draw() in normal window under WIN32.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 16:43:59 +00:00
Manolo Gouy
8813f93ac1
Fix gl_draw() used in simple window under Mac OS X.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 16:20:24 +00:00
Manolo Gouy
8fcccb05d4
Rewrite file src/gl_draw.cxx under the driver model.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 15:51:11 +00:00
Manolo Gouy
268a2507e8
Set file properties
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 06:57:13 +00:00
Manolo Gouy
300747225c
Rewrite OpenGL-related code under the driver model.
...
Class Fl_Gl_Window_Driver, with its platform-specific derived classes, is created
to hold platform-specific, OpenGL code.
File gl_draw.cxx still needs to be converted to the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-08 06:42:57 +00:00
Manolo Gouy
048bb2b0f6
Documentation: detail ownership of the image data when pasting from an image-containing clipboard.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-05 08:35:52 +00:00
Manolo Gouy
dcb26fc188
Remove unneeded extern declaration.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-05 07:42:48 +00:00
Manolo Gouy
aec24973be
static function get_image_from_clipboard(Fl_Widget *) really returns Fl_RGB_Image* type
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-05 06:53:59 +00:00
Manolo Gouy
e6b4af2c47
Fix how to access clipboard content at program start.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-04 05:59:18 +00:00
Manolo Gouy
d47b431750
Fix potential memory leak under X11 when pasted image is not accepted by the receiving app.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-03 14:28:45 +00:00
Manolo Gouy
86a7bbe93a
Member function Fl_Widget_Surface::draw(Fl_Widget*,int,int) does not need to be virtual.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-30 15:07:16 +00:00
Manolo Gouy
fde440f752
Restore CMake building with OPTION_PRINT_SUPPORT turned off.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-28 16:49:07 +00:00
Manolo Gouy
5a4d10faea
Use standard fopen() as default implementation of virtual Fl_System_Driver::fopen()
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 17:25:17 +00:00
Manolo Gouy
b870641f34
Begin to remove platform-specific code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 17:02:57 +00:00
Manolo Gouy
9b186420ff
Add test to avoid null pointer crashes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 16:56:36 +00:00
Manolo Gouy
f4ec7192a9
Add tests to avoid null pointer errors
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 16:42:20 +00:00
Manolo Gouy
425fe6ac8c
Add tests to avoid null pointer crashes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-27 16:27:30 +00:00
Manolo Gouy
d3402eaa85
Remove compilation warnings: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-26 11:04:00 +00:00
Manolo Gouy
f428d0077d
Set svn file properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-26 07:25:53 +00:00
Manolo Gouy
1e65c16b73
Set svn file properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-26 06:23:27 +00:00
Manolo Gouy
2d83a11742
Make one version of Fl_OpenGL_Display_Device::capture_gl_rectangle() the default one.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-26 06:07:53 +00:00
Manolo Gouy
25b4076b03
Set more accurately the protections of the members of class Fl_Display_Device.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-26 05:44:54 +00:00
Manolo Gouy
8f9f17456b
Remove unnecessary #include directive.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-25 06:29:36 +00:00
Manolo Gouy
ed56c01b6c
Set svn file properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 20:03:05 +00:00
Manolo Gouy
c0944b7cee
Set svn file properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 19:55:26 +00:00
Manolo Gouy
cf751f49de
Set svn file properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11693 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 19:49:06 +00:00
Manolo Gouy
93d1c43b7a
Remove FL_ABI_VERSION directives
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 19:39:27 +00:00
Manolo Gouy
a877a2d06b
Add 2 Doxygen member function descriptions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 19:30:17 +00:00
Manolo Gouy
6d8b062453
Complete DOxygen documentation of the Fl_Graphics_Driver class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 16:22:38 +00:00
Manolo Gouy
98f071fa16
Add Doxygen comments for members of the Fl_Graphics_Driver class.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-24 08:38:11 +00:00
Manolo Gouy
8dddcb2d1d
Move Doxygen comments of Fl_PostScript_File_Device members to Fl_PostScript_File_Device.H for Doxygen visibility.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 17:55:08 +00:00
Manolo Gouy
9941c3c1d7
Move Doxygen comments of Fl_PostScript_File_Device members to Fl_PostScript_File_Device.H for Doxygen visibility.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 17:52:34 +00:00
Albrecht Schlosser
1db8d51eae
Move typedef fl_(u)intptr_t to FL/platform_types.h.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 15:08:26 +00:00
Albrecht Schlosser
c89a609be2
Fix compilation warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 14:25:15 +00:00
Manolo Gouy
ba60624ae9
Remove the src/drivers/ subtree from Doxygen indexing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 07:03:52 +00:00
Manolo Gouy
4fd7ece329
Remove Doxygen warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 06:48:14 +00:00
Manolo Gouy
2cf555047d
Remove Doxygen warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 06:43:04 +00:00
Manolo Gouy
e2edfcbe4f
Add Doxygen definitions to the new Fl_XXX_Driver classes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 06:27:31 +00:00
Manolo Gouy
c393fb4faf
Remove Doxygen warning. Doxygen does not know that unsigned and unsigned int are the same type.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 04:39:14 +00:00
Manolo Gouy
a56124c20b
Remove #if FLTK_ABI_VERSION >= xxx directives.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-23 04:30:39 +00:00
Manolo Gouy
5ec684f236
Minor simplification.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-22 17:13:40 +00:00
Manolo Gouy
3d41fd7c67
Add necessary test of HAVE_X11_XREGION_H when the content of struct _XRegion is needed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-22 15:46:23 +00:00
Manolo Gouy
163c65dc6f
Avoid the expression "foreign language" in comments.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-20 07:19:19 +00:00
Manolo Gouy
d57f762715
Remove unneeded declarations.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-20 07:14:50 +00:00