From 2c61d60470b0583614437950066b2f63c4ac2782 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 30 Sep 2001 20:25:36 +0000 Subject: Documentation updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Widget.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'documentation/Fl_Widget.html') diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html index 3729f9872..9d3d5545d 100644 --- a/documentation/Fl_Widget.html +++ b/documentation/Fl_Widget.html @@ -21,7 +21,7 @@

Description

Fl_Widget is the base class for all widgets in FLTK. You can't create one of these because the constructor is not public. However you -can subclass it. +can subclass it.

All "property" accessing methods, such as color(), parent(), or argument() are implemented as trivial inline functions and thus are as fast and small as accessing fields in a @@ -95,16 +95,16 @@ to call redraw() after these.

-

Fl_Widget::Fl_Widget(int x, int y, int w, int h, const char* -label=0);

+

Fl_Widget::Fl_Widget(int x, int y, int w, int h, const char* +label=0);

This is the protected constructor for an Fl_Widget, but all derived widgets have a matching public constructor. It takes a value for x(), y(), w(), h(), and an optional value for label(). -

virtual Fl_Widget::~Fl_Widget();

+

virtual Fl_Widget::~Fl_Widget();

Destroying single widgets is not very common. It is your responsibility to either remove() them from any enclosing group, or to destroy that group immediately after destroying the children. -

uchar Fl_Widget::type() const;

+

uchar Fl_Widget::type() const;

This value is used for Forms compatability and to simulate RTTI.

short Fl_Widget::x() const
short Fl_Widget::y() const @@ -161,7 +161,7 @@ the widget. const char*)
uchar Fl_Widget::labeltype() const
void Fl_Widget::labeltype(Fl_Labeltype)

- A labeltype identifies a routine that + A labeltype identifies a routine that draws the label of the widget. This can be used for special effects such as emboss, or to use the label() pointer as another form of data such as a bitmap. The value FL_NORMAL_LABEL prints @@ -275,7 +275,7 @@ FL_DEACTIVATE to the widget if active_r() is true. void Fl_Widget::set_output()
void Fl_Widget::clear_output() output() means the same as !active() except it does -not change how the widget is drawn. The widget will not recieve any +not change how the widget is drawn. The widget will not receive any events. This is useful for making scrollbars or buttons that work as displays rather than input devices. @@ -284,9 +284,9 @@ displays rather than input devices. This is the same as (active() && visible() && !output()) but is faster.

void Fl_Widget::redraw()

- Mark the widget as needing its draw() routine called. + Mark the widget as needing its draw() routine called.

uchar Fl_Widget::damage() const

- Non-zero if draw() needs to be called. Actually this is a + Non-zero if draw() needs to be called. Actually this is a bit field that the widget subclass can use to figure out what parts to draw.

Fl_Widget *Fl_Widget::parent() const

-- cgit v1.2.3