diff options
Diffstat (limited to 'src/drivers/Cocoa')
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx | 13 | ||||
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H | 11 | ||||
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx | 12 |
3 files changed, 35 insertions, 1 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx index b69e041e5..857057f70 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx +++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx @@ -36,7 +36,13 @@ extern void (*fl_unlock_function)(); int Fl_Cocoa_Screen_Driver::next_marked_length = 0; -/* +/** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + +/** Creates a driver that manages all screen and display related calls. This function must be implemented once for every platform. @@ -46,6 +52,11 @@ Fl_Screen_Driver *Fl_Screen_Driver::newScreenDriver() return new Fl_Cocoa_Screen_Driver(); } +/** + * @} + * @endcond + */ + static Fl_Text_Editor::Key_Binding extra_bindings[] = { // Define CMD+key accelerators... { 'z', FL_COMMAND, Fl_Text_Editor::kf_undo ,0}, diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H index d7162eff9..2f851c500 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.H @@ -40,6 +40,12 @@ class NSCursor; class FLWindow; #endif // __OBJC__ +/** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + /* Move everything here that manages the native window interface. @@ -60,6 +66,11 @@ struct Fl_Window_Driver::shape_data_type { CGImageRef mask; }; +/** + * @} + * @endcond + */ + class FL_EXPORT Fl_Cocoa_Window_Driver : public Fl_Window_Driver { diff --git a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx index d565ae20c..b9dcfcd99 100644 --- a/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx +++ b/src/drivers/Cocoa/Fl_Cocoa_Window_Driver.cxx @@ -27,11 +27,23 @@ #include <FL/Fl.H> #include <FL/platform.H> +/** + * @cond DriverDev + * @addtogroup DriverDeveloper + * @{ + */ + Fl_Window_Driver *Fl_Window_Driver::newWindowDriver(Fl_Window *w) { return new Fl_Cocoa_Window_Driver(w); } +/** + * @} + * @endcond + */ + + Fl_Cocoa_Window_Driver::Fl_Cocoa_Window_Driver(Fl_Window *win) : Fl_Window_Driver(win) |
