From 8d552439c716ae15e1f392ca88f3bdebf85ae607 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 4 Oct 2002 15:59:29 +0000 Subject: New Fl_Widget::redraw_label() method to cleanly redraw the label of a widget (this should eliminate the extra flicker some users have complained about...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Widget.html | 7 +++++++ documentation/common.html | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html index 19cb3dced..3b6a1cf58 100644 --- a/documentation/Fl_Widget.html +++ b/documentation/Fl_Widget.html @@ -75,6 +75,7 @@ to call redraw() after these.

  • parent
  • position
  • redraw
  • +
  • redraw_label
  • resize
  • selection_color
  • set_changed
  • @@ -386,6 +387,12 @@ HREF="Fl_Window.html#Fl_Window">Fl_Window. Returns HREF="subclassing.html#draw">draw() routine called. +

    void Fl_Widget::redraw_label()

    + +

    Marks the widget or the parent as needing a redraw for the +label area of a widget. + +

    virtual void Fl_Widget::resize(int x, int y, int w, int h)
    void Fl_Widget::position(short x, short y) diff --git a/documentation/common.html b/documentation/common.html index 6659c85b4..7a7a85066 100644 --- a/documentation/common.html +++ b/documentation/common.html @@ -332,7 +332,7 @@ sign. Figure 3-4 shows the available symbols.

    Figure 3-4: FLTK label symbols

    The @ sign may also be followed by the following optional -"formatting" characters, in this order:

    +"formatting" characters, in this order:

    +

    Thus, to show a very large arrow pointing downward you would use the +label string "@+92->". +

    align()

    The align() method positions the label. The following -- cgit v1.2.3