]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/overviews/scrolling.h
removed useless spaces
[wxWidgets.git] / docs / doxygen / overviews / scrolling.h
index ddc732e8e3825007d60575c9f7bf60f9597f4cd9..647196f861b9e7fdd821f6e94ed3984ac79b60ce 100644 (file)
@@ -7,9 +7,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 /*!
 /////////////////////////////////////////////////////////////////////////////
 
 /*!
+
  @page scrolling_overview Scrolling overview
  @page scrolling_overview Scrolling overview
+
  Classes: #wxWindow, #wxScrolledWindow, #wxIcon, #wxScrollBar.
  Scrollbars come in various guises in wxWidgets. All windows have the potential
  to show a vertical scrollbar and/or a horizontal scrollbar: it is a basic capability of a window.
  Classes: #wxWindow, #wxScrolledWindow, #wxIcon, #wxScrollBar.
  Scrollbars come in various guises in wxWidgets. All windows have the potential
  to show a vertical scrollbar and/or a horizontal scrollbar: it is a basic capability of a window.
  @b The scrollbar model
  The function wxWindow::SetScrollbar gives a clue about
  the way a scrollbar is modeled. This function takes the following arguments:
  @b The scrollbar model
  The function wxWindow::SetScrollbar gives a clue about
  the way a scrollbar is modeled. This function takes the following arguments:
+
+
+
+
+
+
  orientation
  orientation
+
+
+
+
  Which scrollbar: wxVERTICAL or wxHORIZONTAL.
  Which scrollbar: wxVERTICAL or wxHORIZONTAL.
+
+
+
+
+
  position
  position
+
+
+
+
  The position of the scrollbar in scroll units.
  The position of the scrollbar in scroll units.
+
+
+
+
+
  visible
  visible
+
+
+
+
  The size of the visible portion of the scrollbar, in scroll units.
  The size of the visible portion of the scrollbar, in scroll units.
+
+
+
+
+
  range
  range
+
+
+
+
  The maximum position of the scrollbar.
  The maximum position of the scrollbar.
+
+
+
+
+
  refresh
  refresh
+
+
+
+
  Whether the scrollbar should be repainted.
  Whether the scrollbar should be repainted.
+
+
+
+
  @e orientation determines whether we're talking about
  the built-in horizontal or vertical scrollbar.
  @e position is simply the position of the 'thumb' (the bit you drag to scroll around).
  @e orientation determines whether we're talking about
  the built-in horizontal or vertical scrollbar.
  @e position is simply the position of the 'thumb' (the bit you drag to scroll around).
  Let's say you wish to display 50 lines of text, using the same font.
  The window is sized so that you can only see 16 lines at a time.
  You would use:
  Let's say you wish to display 50 lines of text, using the same font.
  The window is sized so that you can only see 16 lines at a time.
  You would use:
+
  @code
  SetScrollbar(wxVERTICAL, 0, 16, 50);
  @endcode
  @code
  SetScrollbar(wxVERTICAL, 0, 16, 50);
  @endcode
+
+
  Note that with the window at this size, the thumb position can never go
  above 50 minus 16, or 34.
  You can determine how many lines are currently visible by dividing the current view
  Note that with the window at this size, the thumb position can never go
  above 50 minus 16, or 34.
  You can determine how many lines are currently visible by dividing the current view
  scrollbar calculations and SetScrollbar
  call into a function named AdjustScrollbars, which can be called initially and also
  from your #wxSizeEvent handler function.
  scrollbar calculations and SetScrollbar
  call into a function named AdjustScrollbars, which can be called initially and also
  from your #wxSizeEvent handler function.
+
  */
  */
+
+