From bd882119e79d08ef2477b1db76f8a0a5735a6f93 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Fri, 3 Oct 2008 07:48:38 +0000 Subject: Doxygen documentation : minor comment fixes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Cairo.H | 5 +++-- FL/Fl_Widget.H | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'FL') 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 ; }; -- cgit v1.2.3