diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-02-03 07:03:26 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-02-03 07:03:44 +0100 |
| commit | 2e6e0b9c36fbf92d0d551aca077580e7a57c266a (patch) | |
| tree | 206ba84e89b8624f4377c4f9b90862ea892f9cc7 /src/drivers/Darwin | |
| parent | d9451a86696a2aa58d46cb18180c9344a5e0c179 (diff) | |
Reorganize classes Fl_System_Driver and Fl_Screen_Driver
These virtual members are moved from Fl_Screen_Driver to Fl_System_Driver
- wait(double)
- ready()
These virtual members are moved from Fl_System_Driver to Fl_Screen_Driver
- copy(const char *stuff, int len, int clipboard, const char *type)
- void paste(Fl_Widget &widget, int clipboard, const char *type)
- clipboard_contains(const char *type)
- clipboard_notify_change()
These members are moved from Fl_X11_Screen_Driver to Fl_X11_System_Driver
- poll_or_select_with_delay(double time_to_wait)
- poll_or_select()
and are made virtual in preparation for the introduction of class
Fl_Unix_System_Driver.
Diffstat (limited to 'src/drivers/Darwin')
| -rw-r--r-- | src/drivers/Darwin/Fl_Darwin_System_Driver.H | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/Darwin/Fl_Darwin_System_Driver.H b/src/drivers/Darwin/Fl_Darwin_System_Driver.H index 8a2e3b7f6..19b4dab2d 100644 --- a/src/drivers/Darwin/Fl_Darwin_System_Driver.H +++ b/src/drivers/Darwin/Fl_Darwin_System_Driver.H @@ -73,9 +73,6 @@ public: static const char * const tree_close_xpm_darwin[]; // used by tree_closepixmap() virtual int tree_connector_style(); virtual const char *filename_name(const char *buf); - virtual void copy(const char *stuff, int len, int clipboard, const char *type); - virtual void paste(Fl_Widget &receiver, int clipboard, const char *type); - virtual int clipboard_contains(const char *type); virtual void add_fd(int fd, int when, Fl_FD_Handler cb, void* = 0); virtual void add_fd(int fd, Fl_FD_Handler cb, void* = 0); virtual void remove_fd(int, int when); @@ -86,6 +83,8 @@ public: virtual const char *alt_name(); virtual const char *control_name(); virtual Fl_Sys_Menu_Bar_Driver *sys_menu_bar_driver(); + virtual double wait(double time_to_wait); + virtual int ready(); }; #endif // FL_DARWIN_SYSTEM_DRIVER_H |
