Commit Graph

6993 Commits

Author SHA1 Message Date
Manolo Gouy
c0f14ca2f0 Move other_xid member variable from class Fl_X to class F_Window_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 17:02:44 +00:00
Manolo Gouy
e790ac9653 Move wait_for_expose member variable from class Fl_X to class Fl_Window_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 16:11:15 +00:00
Manolo Gouy
0629b40afd Move set_cursor() member functions from class Fl_X to classes Fl_Window_Driver and derived.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 14:31:07 +00:00
Manolo Gouy
516d0e5f9c Replace static void Fl_X::activate_window(Window) under X11 platform by void Fl_X11_Window_Driver::activate_window()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 13:40:34 +00:00
Manolo Gouy
9df9ffdc4c Replace Fl_X::sendxjunk() under USE_X11 by Fl_X11_Window_Driver::sendxjunk().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 13:17:09 +00:00
Manolo Gouy
cb95d40067 Remove Fl_X::setwindow(Fl_Window*) from WIN32 and USE_X11 Fl_X classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 12:48:40 +00:00
Manolo Gouy
3df26257d0 Move Fl_X::backbuffer_bad under USE_X11 to class Fl_X11_Wi,dow_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 12:28:57 +00:00
Manolo Gouy
1d279de044 Remove Fl_X::x(w,X) and Fl_X::y(w,Y) on the USE_X11 platform that are unused in FLTK.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 12:12:17 +00:00
Manolo Gouy
85b5f02a8b Replace member function void Fl_X::flush() by virtual void Fl_Window_Driver::flush()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-18 11:58:46 +00:00
Matthias Melcher
6818216c30 Fixes for Linux for recent commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 18:07:11 +00:00
Matthias Melcher
e2495a760a MSWindows fixes for previous commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 17:45:44 +00:00
Matthias Melcher
cdf85352c4 virtualized some Region calls.
There is a deeper issue here: regions should be handled by the graphics driver that is associated with the Fl_Window of this widget... .

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 15:36:23 +00:00
Matthias Melcher
c9d3eabf4e virtualized Fl::set_color and free_color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 15:01:20 +00:00
Matthias Melcher
9ae4a99081 virtualized Fl_Graphics_Driver::global_gc(), a function that should probably not exeist.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 14:45:25 +00:00
Matthias Melcher
cc57af841a virtualizes fl_set_spot and fl_reset_spot
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 14:22:02 +00:00
Manolo Gouy
a4e5dc0267 Move q_release_context() from class Fl_X to class Fl_Cocoa_Window_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 10:12:42 +00:00
Manolo Gouy
16beb869a5 Move Fl_X::gc for Mac platform to the Fl_Cocoa_Window_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 09:25:00 +00:00
Manolo Gouy
befd771dd6 Remove a few // TODO: check after having checked
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 06:00:49 +00:00
Manolo Gouy
c6c92e4037 Remove set_icons() from the virtual API of class Fl_Window_Driver because it is internal to some drivers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-17 05:41:05 +00:00
Albrecht Schlosser
67ccf3d216 Fix usage of preprocessor macro USE_X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 19:13:32 +00:00
Albrecht Schlosser
160ac59070 Remove unused and "illegal" include statements.
Header files from src/.. must not be included in public header files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 18:19:59 +00:00
Manolo Gouy
c4953935b0 Continue removing non window-related member-functions from class Fl_X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 13:15:49 +00:00
Manolo Gouy
b0ce80f56b Continue removing non window-related member-functions from class Fl_X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 12:28:50 +00:00
Manolo Gouy
d3e2a88c09 Continue removing non window-related member-functions from class Fl_X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 12:05:55 +00:00
Manolo Gouy
d3d7597484 Continue removing non window-related member-functions from class Fl_X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 11:02:35 +00:00
Manolo Gouy
083e9ed06a Begin moving non window-related member functions out of Fl_X class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 09:01:19 +00:00
Manolo Gouy
f8104524e8 Use more consistent naming for derived classes of Fl_Native_File_Chooser_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 08:37:15 +00:00
Manolo Gouy
62a0bfb88a Modify the FL_PORTING pragma message to make clear implementation is optional.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 08:07:32 +00:00
Manolo Gouy
9fea9f3417 Add to Doxygen comments how to proceed for a platform where no file chooser is useful.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 07:55:51 +00:00
Manolo Gouy
3caff18578 Remove the virtual destructor of class Fl_X that is no longer needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 07:25:58 +00:00
Albrecht Schlosser
95052a4662 Fix typos in comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 02:00:21 +00:00
Albrecht Schlosser
f3a0f4efc3 Fix C++ comments in C source files and headers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 01:49:15 +00:00
Albrecht Schlosser
fea2d9496c Revert accidentally reverted file by svn r 11607.
src/Fl_File_Chooser2.cxx contains now its contents of svn r 11606 plus
Manolo's change in svn r 11609.

Matt's intended modification (mkdir...) was dropped.
Matt, please take care of this if still needed (I guess it's obsolete).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-16 00:08:52 +00:00
Matthias Melcher
acba16a38f Pico can draw lines rectf and arcs, so the top level driver does not have to
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 21:26:13 +00:00
Matthias Melcher
95bf8ef443 Fixed Pico again.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 19:10:02 +00:00
Manolo Gouy
2fcb4f4192 Move platform-dependent implementations of fl_open/close_display() to the Fl_Screen_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 15:36:10 +00:00
Manolo Gouy
15715cd898 Move platform-dependent implementations of Fl::en/dis/able_im() to the Fl_Screen_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 15:12:22 +00:00
Manolo Gouy
397a3b83bf Move platform-dependent implementations of fl_clipboard_notify_changes() to the Fl_System_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 15:01:27 +00:00
Manolo Gouy
b1f8f3e2aa Move platform-dependent implementations of Fl::clipboard_contains() to the Fl_System_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 14:49:46 +00:00
Manolo Gouy
d683841f9f Move the platform-dependent implementations of Fl::paste() to the Fl_System_Driver class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 14:32:13 +00:00
Manolo Gouy
7508a033c5 Continue moving to Fl_System_Driver the platform_dependent implementations of member functions of the Fl class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 14:18:37 +00:00
Manolo Gouy
3f64e2b28d Continue removing from class Fl_X what is not window-related.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 11:30:10 +00:00
Manolo Gouy
156d2e4053 Continue removing from class Fl_X what is not window-related.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 11:09:10 +00:00
Manolo Gouy
a1de05784b Fix position in window of string "Line styles".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 08:06:47 +00:00
Manolo Gouy
d289d6bec7 Remove erroneous statement from Doxygen doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 07:53:06 +00:00
Manolo Gouy
53d7191928 Remove S_IFMT from the public FLTK API
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-15 07:33:26 +00:00
Matthias Melcher
b9564c64cc PicoSDL mostly running again
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 22:09:04 +00:00
Matthias Melcher
130a0ef8da PicoSDL fixes - not working!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 21:29:02 +00:00
Manolo Gouy
03e87bb270 Complete rewriting of Fl_Tree_Prefs.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 20:58:20 +00:00
Manolo Gouy
0e0ad95b22 Begin to rewrite Fl_Tree_Prefs.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-14 20:44:23 +00:00