From 59c96f54635aed579fcb40a1980ff3694af46bd8 Mon Sep 17 00:00:00 2001
From: Bill Spitzak
Date: Wed, 27 Jan 1999 08:45:11 +0000
Subject: Fixes to documentation. Restored the lines drawn around symbols, it
uses fl_color_average to pick a dark line color that is still deactivatable.
Requested by CE.
git-svn-id: file:///fltk/svn/fltk/trunk@249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/Fl_Widget.html | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
(limited to 'documentation/Fl_Widget.html')
diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html
index 63c534fe6..a64f46677 100644
--- a/documentation/Fl_Widget.html
+++ b/documentation/Fl_Widget.html
@@ -39,14 +39,13 @@ to call redraw() after these.
activate
active
active_r
-activevisible
align
argument
box
+callback
|
|
@@ -78,10 +78,11 @@ to call redraw() after these.
show
size
take_focus
-type
+takesevents
|
+- type
- user_data
- visible
- visible_r
@@ -113,9 +114,9 @@ destroy that group immediately after destroying the children.
Fl_Window (not its parent if that is not an Fl_Window), and its
width and height.
+Fl_Widget::resize(int x, int y, int w, int h)
+ void Fl_Widget::position(short x, short y)
+ void Fl_Widget::size(short w, short h)
Change the size or position of the widget. This is a virtual function
so the widget may implement its own handling of resizing. The default
version does not do redraw(), that is the parent widget's
@@ -269,9 +270,19 @@ true on it and all of its parents.
Changing this value will send FL_ACTIVATE or
FL_DEACTIVATE to the widget if active_r() is true.
Currently you cannot deactivate Fl_Window widgets.
-int Fl_Widget::activevisible() const
+
+
+output() means the same as !active() except it does
+not change how the widget is drawn. The widget will not recieve any
+events. This is useful for making scrollbars or buttons that work as
+displays rather than input devices.
+
+
- This is the same as active() && visible() but is faster.
+This is the same as (active() && visible() &&
+!output()) but is faster.
Mark the widget as needing its draw() routine called.
--
cgit v1.2.3
|