diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-16 15:53:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-16 15:53:16 +0000 |
commit | c96506f914b598e59fce7cc9b3c394a5ebe8d23c (patch) | |
tree | 1fa5012ce52ded7dad00fce5de783902c4b577f3 /NxWidgets/libnxwidgets/src/glyph_cycle.cxx | |
parent | 47266483f9718a45f71626259356d481e89dd2a7 (diff) | |
download | nuttx-c96506f914b598e59fce7cc9b3c394a5ebe8d23c.tar.gz nuttx-c96506f914b598e59fce7cc9b3c394a5ebe8d23c.tar.bz2 nuttx-c96506f914b598e59fce7cc9b3c394a5ebe8d23c.zip |
Fixes for CCycleButton unit test; Add CNumericEdit. Both from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5363 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/libnxwidgets/src/glyph_cycle.cxx')
-rw-r--r-- | NxWidgets/libnxwidgets/src/glyph_cycle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NxWidgets/libnxwidgets/src/glyph_cycle.cxx b/NxWidgets/libnxwidgets/src/glyph_cycle.cxx index 5c98b8b90..d706adddb 100644 --- a/NxWidgets/libnxwidgets/src/glyph_cycle.cxx +++ b/NxWidgets/libnxwidgets/src/glyph_cycle.cxx @@ -145,9 +145,9 @@ const struct SBitmap NXWidgets::g_cycle = { CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel COLOR_FMT, // fmt - Color format - 7, // width - Width in pixels + 8, // width - Width in pixels 10, // height - Height in rows - (7*CONFIG_NXWIDGETS_BPP + 7) / 8, // stride - Width in bytes + (8*CONFIG_NXWIDGETS_BPP + 7) / 8, // stride - Width in bytes g_cycleGlyph // data - Pointer to the beginning of pixel data }; |