summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-07-22 11:26:27 +0000
committerManolo Gouy <Manolo>2015-07-22 11:26:27 +0000
commit1f487ece5dfab95af805cf9647d5f95432089f31 (patch)
tree4b09fbcfacf4716f54e9d5a3c84baf61fa8acb30 /FL
parent53c72bb9058216e53d5c636ee4f81191d87fff2f (diff)
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
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window.H6
1 files changed, 3 insertions, 3 deletions
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.