NxWM: Cosmetic changes to naming and comments

This commit is contained in:
Gregory Nutt 2014-07-15 18:55:59 -06:00
parent 84b1cee5f8
commit 9ee647caba
6 changed files with 88 additions and 90 deletions

View file

@ -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

View file

@ -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.
*/