]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/slider.h
added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
[wxWidgets.git] / interface / slider.h
index 68e45f99286c7d7c12213e1ee436e44c3bc0b21c..488c4b484fad63cec8d13821315ef5299a30c344 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        slider.h
-// Purpose:     documentation for wxSlider class
+// Purpose:     interface of wxSlider
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -45,8 +45,7 @@
     @category{ctrl}
     @appearance{slider.png}
 
-    @seealso
-    @ref overview_eventhandlingoverview, wxScrollBar
+    @see @ref overview_eventhandlingoverview, wxScrollBar
 */
 class wxSlider : public wxControl
 {
@@ -54,7 +53,7 @@ public:
     //@{
     /**
         Constructor, creating and showing a slider.
-        
+
         @param parent
             Parent window. Must not be @NULL.
         @param id
@@ -74,7 +73,7 @@ public:
             Window validator.
         @param name
             Window name.
-        
+
         @see Create(), wxValidator
     */
     wxSlider();
@@ -94,14 +93,14 @@ public:
 
     /**
         Clears the selection, for a slider with the @b wxSL_SELRANGE style.
-        
+
         @remarks Windows 95 only.
     */
     void ClearSel();
 
     /**
         Clears the ticks.
-        
+
         @remarks Windows 95 only.
     */
     void ClearTicks();
@@ -120,162 +119,163 @@ public:
 
     /**
         Returns the line size.
-        
+
         @see SetLineSize()
     */
-    int GetLineSize();
+    int GetLineSize() const;
 
     /**
         Gets the maximum slider value.
-        
+
         @see GetMin(), SetRange()
     */
-    int GetMax();
+    int GetMax() const;
 
     /**
         Gets the minimum slider value.
-        
+
         @see GetMin(), SetRange()
     */
-    int GetMin();
+    int GetMin() const;
 
     /**
         Returns the page size.
-        
+
         @see SetPageSize()
     */
-    int GetPageSize();
+    int GetPageSize() const;
 
     /**
         Returns the selection end point.
-        
+
         @remarks Windows 95 only.
-        
+
         @see GetSelStart(), SetSelection()
     */
-    int GetSelEnd();
+    int GetSelEnd() const;
 
     /**
         Returns the selection start point.
-        
+
         @remarks Windows 95 only.
-        
+
         @see GetSelEnd(), SetSelection()
     */
-    int GetSelStart();
+    int GetSelStart() const;
 
     /**
         Returns the thumb length.
-        
+
         @remarks Windows 95 only.
-        
+
         @see SetThumbLength()
     */
-    int GetThumbLength();
+    int GetThumbLength() const;
 
     /**
         Returns the tick frequency.
-        
+
         @remarks Windows 95 only.
-        
+
         @see SetTickFreq()
     */
-    int GetTickFreq();
+    int GetTickFreq() const;
 
     /**
         Gets the current slider value.
-        
+
         @see GetMin(), GetMax(), SetValue()
     */
-    int GetValue();
+    int GetValue() const;
 
     /**
         Sets the line size for the slider.
-        
+
         @param lineSize
             The number of steps the slider moves when the user moves it up or down a
         line.
-        
+
         @see GetLineSize()
     */
     void SetLineSize(int lineSize);
 
     /**
         Sets the page size for the slider.
-        
+
         @param pageSize
             The number of steps the slider moves when the user pages up or down.
-        
+
         @see GetPageSize()
     */
     void SetPageSize(int pageSize);
 
     /**
         Sets the minimum and maximum slider values.
-        
+
         @see GetMin(), GetMax()
     */
     void SetRange(int minValue, int maxValue);
 
     /**
         Sets the selection.
-        
+
         @param startPos
             The selection start position.
         @param endPos
             The selection end position.
-        
+
         @remarks Windows 95 only.
-        
+
         @see GetSelStart(), GetSelEnd()
     */
     void SetSelection(int startPos, int endPos);
 
     /**
         Sets the slider thumb length.
-        
+
         @param len
             The thumb length.
-        
+
         @remarks Windows 95 only.
-        
+
         @see GetThumbLength()
     */
     void SetThumbLength(int len);
 
     /**
         Sets a tick position.
-        
+
         @param tickPos
             The tick position.
-        
+
         @remarks Windows 95 only.
-        
+
         @see SetTickFreq()
     */
     void SetTick(int tickPos);
 
     /**
         Sets the tick mark frequency and position.
-        
+
         @param n
             Frequency. For example, if the frequency is set to two, a tick mark is
         displayed for
             every other increment in the slider's range.
         @param pos
             Position. Must be greater than zero. TODO: what is this for?
-        
+
         @remarks Windows 95 only.
-        
+
         @see GetTickFreq()
     */
     void SetTickFreq(int n, int pos);
 
     /**
         Sets the slider position.
-        
+
         @param value
             The slider position.
     */
     void SetValue(int value);
 };
+