aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-04-05 16:17:59 +0200
committerJoel Bodenmann <joel@unormal.org>2013-04-05 16:17:59 +0200
commit9842664b923099ad315872154d434a157614b4c2 (patch)
tree1c2628cac2869e94ed6fe9246a0701a0784ca702 /include
parentc86cd58275c1efe62c6dd2f45e9996b077906352 (diff)
downloaduGFX-9842664b923099ad315872154d434a157614b4c2.tar.gz
uGFX-9842664b923099ad315872154d434a157614b4c2.tar.bz2
uGFX-9842664b923099ad315872154d434a157614b4c2.zip
Revert "slider doc fix"
This reverts commit c86cd58275c1efe62c6dd2f45e9996b077906352.
Diffstat (limited to 'include')
-rw-r--r--include/gwin/slider.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/gwin/slider.h b/include/gwin/slider.h
index 412900a5..c7599b33 100644
--- a/include/gwin/slider.h
+++ b/include/gwin/slider.h
@@ -64,7 +64,7 @@ typedef struct GSliderDrawStyle_t {
typedef void (*GSliderDrawFunction)(GHandle gh, bool_t isVertical, coord_t thumbpos, const GSliderDrawStyle *pstyle, void *param);
-// A slider window
+// A button window
typedef struct GSliderObject_t {
GWindowObject gwin;
@@ -154,11 +154,11 @@ void gwinSetSliderStyle(GHandle gh, const GSliderDrawStyle *pStyle);
void gwinSliderDraw(GHandle gh);
/**
- * @brief Set the callback routine to perform a custom slider drawing.
+ * @brief Set the callback routine to perform a custom button drawing.
*
- * @param[in] gh The window handle (must be a slider window)
- * @param[in] fn The function to use to draw the slider
- * @param[in] param A parameter to pass to the slider drawing function
+ * @param[in] gh The window handle (must be a button window)
+ * @param[in] fn The function to use to draw the button
+ * @param[in] param A parameter to pass to the button drawing function
*
* @api
*/
@@ -168,7 +168,7 @@ void gwinSetSliderCustom(GHandle gh, GSliderDrawFunction fn, void *param);
* @brief Get the current slider position.
* @return The slider position
*
- * @param[in] gh The window handle (must be a slider window)
+ * @param[in] gh The window handle (must be a button window)
*
* @note The use of a listener to get the slider position is recommended if you
* want continuous updates on the slider position.
@@ -192,7 +192,7 @@ void gwinSetSliderCustom(GHandle gh, GSliderDrawFunction fn, void *param);
* @brief Attach a mouse source
* @details Attach a mouse source to a slider
*
- * @param[in] gh The slider handle
+ * @param[in] gh The button handle
* @param[in] gsh The source handle
*
* @api
@@ -204,7 +204,7 @@ void gwinSetSliderCustom(GHandle gh, GSliderDrawFunction fn, void *param);
* @brief Standard slider drawing routines
* @details This routine is called to draw the standard slider.
*
- * @param[in] gh The slider handle
+ * @param[in] gh The button handle
* @param[in] isVertical The slider is vertically oriented instead of horizontal
* @param[in] thumbpos The position of the slider (0..cx-1 or cy-1..0)
* @param[in] pstyle The current drawing style