summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets
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
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')
-rw-r--r--NxWidgets/libnxwidgets/include/cstickyimage.hxx8
-rw-r--r--NxWidgets/libnxwidgets/include/cwidgeteventargs.hxx2
-rw-r--r--NxWidgets/libnxwidgets/src/cnxwidget.cxx2
-rw-r--r--NxWidgets/libnxwidgets/src/cstickyimage.cxx2
4 files changed, 7 insertions, 7 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.
*/
diff --git a/NxWidgets/libnxwidgets/src/cnxwidget.cxx b/NxWidgets/libnxwidgets/src/cnxwidget.cxx
index 4cf7b9b28..7db9eee99 100644
--- a/NxWidgets/libnxwidgets/src/cnxwidget.cxx
+++ b/NxWidgets/libnxwidgets/src/cnxwidget.cxx
@@ -781,7 +781,7 @@ bool CNxWidget::release(nxgl_coord_t x, nxgl_coord_t y)
onPreRelease(x, y);
- // Now mark the widget as NOT clicked and stop draggin actions.
+ // Now mark the widget as NOT clicked and stop dragging actions.
m_flags.clicked = false;
stopDragging(x, y);
diff --git a/NxWidgets/libnxwidgets/src/cstickyimage.cxx b/NxWidgets/libnxwidgets/src/cstickyimage.cxx
index a4f9c6849..fd9ebb55f 100644
--- a/NxWidgets/libnxwidgets/src/cstickyimage.cxx
+++ b/NxWidgets/libnxwidgets/src/cstickyimage.cxx
@@ -68,7 +68,7 @@ using 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.
*/