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_Bitmap.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_Bitmap.H')
| -rw-r--r-- | FL/Fl_Bitmap.H | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H index 187fdf8ad..2429d246a 100644 --- a/FL/Fl_Bitmap.H +++ b/FL/Fl_Bitmap.H @@ -32,6 +32,10 @@ class Fl_Widget; struct Fl_Menu_Item; +/** + The Fl_Bitmap class supports caching and drawing of mono-color + (bitmap) images. Images are drawn using the current color. +*/ class FL_EXPORT Fl_Bitmap : public Fl_Image { public: @@ -42,9 +46,10 @@ class FL_EXPORT Fl_Bitmap : public Fl_Image { #else unsigned id; // for internal use #endif // __APPLE__ || WIN32 - + /** The constructors create a new bitmap from the specified bitmap data */ Fl_Bitmap(const uchar *bits, int W, int H) : Fl_Image(W,H,0), array(bits), alloc_array(0), id(0) {data((const char **)&array, 1);} + /** The constructors create a new bitmap from the specified bitmap data */ Fl_Bitmap(const char *bits, int W, int H) : Fl_Image(W,H,0), array((const uchar *)bits), alloc_array(0), id(0) {data((const char **)&array, 1);} virtual ~Fl_Bitmap(); |
