Fix Doxygen doc of Fl_Window::border(int) and border()

This commit is contained in:
ManoloFLTK
2019-05-09 10:49:03 +02:00
parent 467e216681
commit 874ccfe645
+4 -7
View File
@@ -187,12 +187,9 @@ public:
parameters after the resize request. parameters after the resize request.
*/ */
virtual void resize(int X,int Y,int W,int H); virtual void resize(int X,int Y,int W,int H);
/** /** Sets whether or not the window manager border is around the window.
Sets whether or not the window manager border is around the The default value is true. <I>With some X window
window. The default value is true. void border(int) can be managers, this does not work after show() has been called.</I>
used to turn the border on and off. <I>Under most X window
managers this does not work after show() has been called,
although SGI's 4DWM does work.</I>
*/ */
void border(int b); void border(int b);
/** /**
@@ -200,7 +197,7 @@ public:
off. It only works before show() is called. off. It only works before show() is called.
*/ */
void clear_border() {set_flag(NOBORDER);} void clear_border() {set_flag(NOBORDER);}
/** See void Fl_Window::border(int) */ /** Returns whether the window possesses a border */
unsigned int border() const {return !(flags() & NOBORDER);} unsigned int border() const {return !(flags() & NOBORDER);}
/** Activates the flags NOBORDER|FL_OVERRIDE */ /** Activates the flags NOBORDER|FL_OVERRIDE */
void set_override() {set_flag(NOBORDER|OVERRIDE);} void set_override() {set_flag(NOBORDER|OVERRIDE);}