diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-10-03 07:48:38 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-10-03 07:48:38 +0000 |
| commit | bd882119e79d08ef2477b1db76f8a0a5735a6f93 (patch) | |
| tree | 55f5f158e184b706285cdc3898f13f0b453402b4 /FL | |
| parent | a95a1f01a9fccfe126f4a135596e151ea4e6cd1d (diff) | |
Doxygen documentation : minor comment fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 ; }; |
