summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-15 18:55:59 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-15 18:55:59 -0600
commit3b23fa49224b3134f09d7773bc5fd9c2d768f5fa (patch)
treebde33b0c989571ab22b362b64004a96998f695ba /NxWidgets/libnxwidgets/include
parent51f6033f8d5958d0f4c8cf72aa1e8ab302d50b90 (diff)
downloadnuttx-3b23fa49224b3134f09d7773bc5fd9c2d768f5fa.tar.gz
nuttx-3b23fa49224b3134f09d7773bc5fd9c2d768f5fa.tar.bz2
nuttx-3b23fa49224b3134f09d7773bc5fd9c2d768f5fa.zip
NxWM: Cosmetic changes to naming and comments
Diffstat (limited to 'NxWidgets/libnxwidgets/include')
-rw-r--r--NxWidgets/libnxwidgets/include/cstickyimage.hxx8
-rw-r--r--NxWidgets/libnxwidgets/include/cwidgeteventargs.hxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/NxWidgets/libnxwidgets/include/cstickyimage.hxx b/NxWidgets/libnxwidgets/include/cstickyimage.hxx
index d89069453..d73da53a2 100644
--- a/NxWidgets/libnxwidgets/include/cstickyimage.hxx
+++ b/NxWidgets/libnxwidgets/include/cstickyimage.hxx
@@ -1,5 +1,5 @@
/****************************************************************************
- * NxWidgets/libnxwidgets/include/cimagebutton.hxx
+ * NxWidgets/libnxwidgets/include/cstickyimage.hxx
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -127,7 +127,7 @@ namespace NXWidgets
* Copy constructor is protected to prevent usage.
*/
- inline CStickyImage(const CStickyImage &button) : CImage(button) { }
+ inline CStickyImage(const CStickyImage &image) : CImage(image) { }
public:
@@ -141,7 +141,7 @@ namespace NXWidgets
* @param height The height of the image box.
* @param bitmap The source bitmap image.
* @param style The style that the widget should use. If this is not
- * specified, the button will use the global default widget
+ * specified, the image will use the global default widget
* style.
*/
@@ -175,7 +175,7 @@ namespace NXWidgets
/**
* Returns the stuck selection state.
*
- * @return True is the button is in the stuck selection state.
+ * @return True if the image is in the stuck selection state.
*/
inline const bool isStuckSelection(void) const
diff --git a/NxWidgets/libnxwidgets/include/cwidgeteventargs.hxx b/NxWidgets/libnxwidgets/include/cwidgeteventargs.hxx
index d8058b13c..ba92ac637 100644
--- a/NxWidgets/libnxwidgets/include/cwidgeteventargs.hxx
+++ b/NxWidgets/libnxwidgets/include/cwidgeteventargs.hxx
@@ -220,7 +220,7 @@ namespace NXWidgets
/**
* Get the cursor control that generated the event. Applies only
- * to the curso control event.
+ * to the cursor control event.
*
* @return The cursor control that generated the event.
*/