From 2b7fa0f60e3f733afe3437b1b96cf020b0ce66f9 Mon Sep 17 00:00:00 2001 From: engelsman Date: Wed, 1 Oct 2008 22:02:55 +0000 Subject: added doxygen comments for undocumented features of Fl_FormsPixmap Q. Is there a potential memory leak if Pixmap(B) called after set(b) ? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_FormsPixmap.H | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_FormsPixmap.H b/FL/Fl_FormsPixmap.H index 4f054e6c9..6415bbc0a 100644 --- a/FL/Fl_FormsPixmap.H +++ b/FL/Fl_FormsPixmap.H @@ -33,14 +33,26 @@ #include "Fl_Pixmap.H" +/** + \class Fl_FormsPixmap + \brief Forms pixmap drawing routines +*/ class FL_EXPORT Fl_FormsPixmap : public Fl_Widget { Fl_Pixmap *b; protected: void draw(); public: - Fl_FormsPixmap(Fl_Boxtype, int, int, int, int, const char * = 0); + Fl_FormsPixmap(Fl_Boxtype t, int X, int Y, int W, int H, const char *L= 0); + void set(/*const*/char * const * bits); + + /** + Set the internal pixmap pointer to an existing pixmap. + \param[in] B existing pixmap + */ void Pixmap(Fl_Pixmap *B) {b = B;} + + /** Get the internal pixmap pointer. */ Fl_Pixmap *Pixmap() const {return b;} }; -- cgit v1.2.3