summaryrefslogtreecommitdiff
path: root/FL/Fl_Pixmap.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-04-14 13:07:34 +0000
committerManolo Gouy <Manolo>2010-04-14 13:07:34 +0000
commitbe9127c61aa32f95eb47bc7b1d586623914ee036 (patch)
tree6e845e7662fd77fae2fb114adb68bc030b78e980 /FL/Fl_Pixmap.H
parent97c893ab5eb1a1f4954b8dbe5a7e421bd9c54089 (diff)
More logical use of Fl_Device::draw(<image class> *,...) functions
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Pixmap.H')
-rw-r--r--FL/Fl_Pixmap.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H
index 616add0f4..8cab445a5 100644
--- a/FL/Fl_Pixmap.H
+++ b/FL/Fl_Pixmap.H
@@ -45,6 +45,7 @@ struct Fl_Menu_Item;
(pixmap) images, including transparency.
*/
class FL_EXPORT Fl_Pixmap : public Fl_Image {
+ friend class Fl_Device;
void copy_data();
void delete_data();
void set_data(const char * const *p);
@@ -66,6 +67,7 @@ class FL_EXPORT Fl_Pixmap : public Fl_Image {
unsigned id_; // for internal use
unsigned mask_; // for internal use (mask bitmap)
#endif // __APPLE__ || WIN32
+ void generic_device_draw(int XP, int YP, int WP, int HP, int cx, int cy);
public: