summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/cscaledbitmap.hxx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-15 14:29:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-15 14:29:06 -0600
commit7ef1ad19448670543bece35c3a6119e6a440c778 (patch)
tree79292d132ebcbe2141042217e3bad7342e22e162 /NxWidgets/libnxwidgets/include/cscaledbitmap.hxx
parent24ee5014675d43c80c0580882fe5cc24ca17e7a8 (diff)
downloadnuttx-7ef1ad19448670543bece35c3a6119e6a440c778.tar.gz
nuttx-7ef1ad19448670543bece35c3a6119e6a440c778.tar.bz2
nuttx-7ef1ad19448670543bece35c3a6119e6a440c778.zip
Use NxWidgets::CScaledBitmap to scale icons in the NxWM taskbar
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cscaledbitmap.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/cscaledbitmap.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/NxWidgets/libnxwidgets/include/cscaledbitmap.hxx b/NxWidgets/libnxwidgets/include/cscaledbitmap.hxx
index 4c5d8f729..3c0594a1d 100644
--- a/NxWidgets/libnxwidgets/include/cscaledbitmap.hxx
+++ b/NxWidgets/libnxwidgets/include/cscaledbitmap.hxx
@@ -75,7 +75,7 @@ namespace NXWidgets
FAR IBitmap *m_bitmap; /**< The bitmap that is being scaled */
struct nxgl_size_s m_size; /**< Scaled size of the image */
FAR uint8_t *m_rowCache[2]; /**< Two cached rows of the image */
- unsigned int m_row; /**< Row number of the first cached row */
+ int m_row; /**< Row number of the first cached row */
b16_t m_xScale; /**< X scale factor */
b16_t m_yScale; /**< Y scale factor */
@@ -167,7 +167,7 @@ namespace NXWidgets
* @return The bitmap's height (in rows).
*/
- inline const nxgl_coord_t getHeight(void) const;
+ const nxgl_coord_t getHeight(void) const;
/**
* Get the bitmap's width (in bytes).