From 8ea3a457720b702acbdc5c5ea1c5001e525c99c1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 16 Nov 2006 23:17:13 +0000 Subject: Merge all of the scrollbar sizes into a single API call (Fl::scrollbar_size()) rather than a bunch of separate APIs and hardcoded values (STR #1800) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl.html | 10 ++++++++++ documentation/widgets.html | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'documentation') diff --git a/documentation/Fl.html b/documentation/Fl.html index 69c19af61..8cd78507a 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -121,6 +121,7 @@ state information and global methods for the current application.

  • scheme
  • screen_count
  • screen_xywh
  • +
  • scrollbar_size
  • selection
  • selection_owner
  • set_abort
  • @@ -1128,6 +1129,15 @@ specified coordinates. The last form gets the bounding box for the numbered screen, where n is a number from 0 to the number of screens less 1.

    +

    void scrollbar_size(int W);
    +int scrollbar_size();

    + +

    Sets or gets the default scrollbar size that is used by the +Fl_Browser_, +Fl_Help_View, +Fl_Scroll, and +Fl_Text_Display widgets.

    +

    void selection(Fl_Widget &owner, const char* stuff, int len);

    Changes the current selection. The block of text is diff --git a/documentation/widgets.html b/documentation/widgets.html index c5fc41b33..2778a65bb 100644 --- a/documentation/widgets.html +++ b/documentation/widgets.html @@ -681,7 +681,8 @@ For a description of the fl_ functions, see

  • scrollbar_align: Fl_Text_Display
  • scrollbar_left: Fl_Browser_
  • scrollbar_right: Fl_Browser_
  • -
  • scrollbar_width: Fl_Text_Display
  • +
  • scrollbar_size: Fl
  • +
  • scrollbar_width: Fl_Browser_, Fl_Text_Display
  • scrollvalue: Fl_Slider
  • search_backward: Fl_Text_Buffer
  • search_forward: Fl_Text_Buffer
  • -- cgit v1.2.3