summaryrefslogtreecommitdiff
path: root/src/Fl_Pixmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Pixmap.cxx')
-rw-r--r--src/Fl_Pixmap.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Fl_Pixmap.cxx b/src/Fl_Pixmap.cxx
index a3fad728a..6d24420d0 100644
--- a/src/Fl_Pixmap.cxx
+++ b/src/Fl_Pixmap.cxx
@@ -25,6 +25,15 @@
// http://www.fltk.org/str.php
//
+/** \fn Fl_Pixmap::Fl_Pixmap(const char **data)
+ The constructors create a new pixmap from the specified XPM data.*/
+
+/** \fn Fl_Pixmap::Fl_Pixmap(const unsigned char * const *data)
+ The constructors create a new pixmap from the specified XPM data.*/
+
+/** \fn Fl_Pixmap::Fl_Pixmap(const unsigned char **data)
+ The constructors create a new pixmap from the specified XPM data.*/
+
// Draws X pixmap data, keeping it stashed in a server pixmap so it
// redraws fast.
@@ -169,6 +178,10 @@ void Fl_Pixmap::draw(int XP, int YP, int WP, int HP, int cx, int cy) {
#endif
}
+/**
+ The destructor free all memory and server resources that are used by
+ the pixmap.
+*/
Fl_Pixmap::~Fl_Pixmap() {
uncache();
delete_data();