diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Cairo.H | 5 | ||||
| -rw-r--r-- | FL/Fl_Widget.H | 4 |
2 files changed, 3 insertions, 6 deletions
diff --git a/FL/Fl_Cairo.H b/FL/Fl_Cairo.H index 3793b669f..73ea07c34 100644 --- a/FL/Fl_Cairo.H +++ b/FL/Fl_Cairo.H @@ -68,8 +68,9 @@ public: // access attributes cairo_t* cc() const {return cc_;} ///< Gets the current cairo context - bool autolink() const {return autolink_;} ///< Sets the autolink option \see Fl::cairo_autolink_context(bool) - void cc(cairo_t* c, bool own=true) { ///< Sets the current cairo context, \a own indicates cc deletion is made by us + bool autolink() const {return autolink_;} ///< Sets the autolink option. See Fl::cairo_autolink_context(bool) + /** Sets the current cairo context, \a own indicates cc deletion is handle externally by user */ + void cc(cairo_t* c, bool own=true) { if (cc_ && own_cc_) cairo_destroy(cc_); cc_=c; if (!cc_) window_=0; diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index a0eba9e3a..9bd710c72 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -72,10 +72,6 @@ struct FL_EXPORT Fl_Label { unsigned color; /** draw the label aligned to the given box */ void draw(int,int,int,int, Fl_Align) const ; - /** measure the size of the label. - * \param w, h on input, this is the requested size for the label text plus image; - * on return, this will contain the size needed to fit the label - */ void measure(int &w, int &h) const ; }; |
