From 7ddd3b8c50d365d860235e4e50b0db06c6acb2d1 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sun, 14 Sep 2008 18:19:41 +0000 Subject: Doxygen Documentation WP5 Done, WP6 half finished so that all Fl_Image class hierarchy is up-to-date. Also completed the documentation of the useful Fl_Shared_Image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6241 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Pixmap.cxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/Fl_Pixmap.cxx') 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(); -- cgit v1.2.3