mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
fix documentation of draw().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ public:
|
|||||||
Override this function to draw your own widgets.
|
Override this function to draw your own widgets.
|
||||||
|
|
||||||
If you ever need to call another widget's draw method <I>from within your
|
If you ever need to call another widget's draw method <I>from within your
|
||||||
own draw method</I>, e.g. for an embedded scrollbar, you must downcast the
|
own draw method</I>, e.g. for an embedded scrollbar, you must upcast the
|
||||||
embedded widget's pointer to Fl_Widget* and call the virtual draw() method.
|
embedded widget's pointer to Fl_Widget* and call the virtual draw() method.
|
||||||
|
|
||||||
\code
|
\code
|
||||||
|
|||||||
Reference in New Issue
Block a user