diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-09-14 18:19:41 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-09-14 18:19:41 +0000 |
| commit | 7ddd3b8c50d365d860235e4e50b0db06c6acb2d1 (patch) | |
| tree | 9abdab230ab58531db07be04f1f4d795d1805077 /FL/Fl_Pixmap.H | |
| parent | 806dd6bbdcd6be25a7f391b6a65401d9c4ee362d (diff) | |
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
Diffstat (limited to 'FL/Fl_Pixmap.H')
| -rw-r--r-- | FL/Fl_Pixmap.H | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H index 2804ff7f9..be65a3288 100644 --- a/FL/Fl_Pixmap.H +++ b/FL/Fl_Pixmap.H @@ -37,6 +37,10 @@ struct Fl_Menu_Item; # define explicit # endif // __sgi && !_COMPILER_VERSION +/** + The Fl_Pixmap class supports caching and drawing of colormap + (pixmap) images, including transparency. +*/ class FL_EXPORT Fl_Pixmap : public Fl_Image { void copy_data(); void delete_data(); @@ -57,9 +61,13 @@ class FL_EXPORT Fl_Pixmap : public Fl_Image { unsigned mask; // for internal use (mask bitmap) #endif // __APPLE__ || WIN32 + /** The constructors create a new pixmap from the specified XPM data. */ explicit Fl_Pixmap(char * const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + /** The constructors create a new pixmap from the specified XPM data. */ explicit Fl_Pixmap(uchar* const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + /** The constructors create a new pixmap from the specified XPM data. */ explicit Fl_Pixmap(const char * const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} + /** The constructors create a new pixmap from the specified XPM data. */ explicit Fl_Pixmap(const uchar* const * D) : Fl_Image(-1,0,1), alloc_data(0), id(0), mask(0) {set_data((const char*const*)D); measure();} virtual ~Fl_Pixmap(); virtual Fl_Image *copy(int W, int H); |
