From 1f487ece5dfab95af805cf9647d5f95432089f31 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 22 Jul 2015 11:26:27 +0000 Subject: It's possible to transmit an Fl_Shared_Image to Fl_Window::shape(const Fl_Image*) at no cost. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Window.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 6f7693ffb..c703d7154 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -138,9 +138,9 @@ protected: #endif shape_data_type *shape_data_; ///< non-null means the window has a non-rectangular shape private: - void shape_bitmap_(Fl_Bitmap* b); - void shape_alpha_(Fl_RGB_Image* img, int offset); - void shape_pixmap_(Fl_Pixmap* pixmap); + void shape_bitmap_(Fl_Image* b); + void shape_alpha_(Fl_Image* img, int offset); + void shape_pixmap_(Fl_Image* pixmap); public: void shape(const Fl_Image* img); /** Set the window's shape with an Fl_Image. -- cgit v1.2.3