From 217120c28190fb0c544a48b9dec984ca4e9bd327 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 5 May 2022 18:57:07 +0200 Subject: Move struct shape_data_type inside Fl_XXX_Window_Driver. --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H index 356eb8297..6c169f0b1 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H @@ -42,12 +42,6 @@ */ -struct Fl_Window_Driver::shape_data_type { - int lw_; ///< width of shape image - int lh_; ///< height of shape image - Fl_Image* shape_; ///< shape image - Fl_Bitmap *effective_bitmap_; ///< auxiliary bitmap image -}; class FL_EXPORT Fl_WinAPI_Window_Driver : public Fl_Window_Driver { @@ -58,6 +52,12 @@ class FL_EXPORT Fl_WinAPI_Window_Driver : public Fl_Window_Driver HICON big_icon; HICON small_icon; }; + struct shape_data_type { + int lw_; ///< width of shape image + int lh_; ///< height of shape image + Fl_Image* shape_; ///< shape image + Fl_Bitmap *effective_bitmap_; ///< auxiliary bitmap image + } *shape_data_; int screen_num_; private: void shape_bitmap_(Fl_Image* b); -- cgit v1.2.3