summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/cbuttonarray.cxx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:26:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:26:44 -0600
commit638c1a6dc07b438efa220c5345e94c3a963505ca (patch)
tree85feed8dbf4f2dd7a2eec83ed88606f14a2f02a2 /NxWidgets/libnxwidgets/src/cbuttonarray.cxx
parent43ec94a665e13552402ff4f102e0f65f6792cf29 (diff)
downloadnuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.tar.gz
nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.tar.bz2
nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.zip
More trailing whilespace removal
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cbuttonarray.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/cbuttonarray.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/NxWidgets/libnxwidgets/src/cbuttonarray.cxx b/NxWidgets/libnxwidgets/src/cbuttonarray.cxx
index 28f14062b..4efc99f13 100644
--- a/NxWidgets/libnxwidgets/src/cbuttonarray.cxx
+++ b/NxWidgets/libnxwidgets/src/cbuttonarray.cxx
@@ -36,7 +36,7 @@
/****************************************************************************
* Included Files
****************************************************************************/
-
+
#include <nuttx/config.h>
#include <stdint.h>
@@ -51,7 +51,7 @@
/****************************************************************************
* Pre-Processor Definitions
****************************************************************************/
-
+
/****************************************************************************
* CButtonArray Method Implementations
****************************************************************************/
@@ -79,7 +79,7 @@ CButtonArray::CButtonArray(CWidgetControl *pWidgetControl,
nxgl_coord_t buttonWidth, nxgl_coord_t buttonHeight,
CWidgetStyle *style)
: CNxWidget(pWidgetControl, x, y,
- buttonColumns * buttonWidth + 2, buttonRows * buttonHeight + 2,
+ buttonColumns * buttonWidth + 2, buttonRows * buttonHeight + 2,
0, style)
{
// Save configuration
@@ -367,7 +367,7 @@ void CButtonArray::drawContents(CGraphicsPort *port)
{
int column;
int row;
-
+
// Just one. Get the row/column indices from the last click
(void)posToButton(m_clickX, m_clickY, column, row);
@@ -452,7 +452,7 @@ void CButtonArray::drawButton(CGraphicsPort *port, int column, int row, bool use
if (useClicked || isCursorPosition(column, row))
{
// "Selected" text color on unique "Selected" background color
-
+
backColor = getSelectedBackgroundColor();
textColor = getSelectedTextColor();
}
@@ -465,7 +465,7 @@ void CButtonArray::drawButton(CGraphicsPort *port, int column, int row, bool use
}
// Pick the border colors. Should we use the 'clicked' button style?
-
+
if (useClicked)
{
// Yes.. Bevelled into the screen