Update to README and comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4668 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
cbf0f054f1
commit
26382eddca
@ -115,7 +115,7 @@ Installing and Building the Unit Tests
|
|||||||
|
|
||||||
Then reconfigure that to use the Unit Test of your choice:
|
Then reconfigure that to use the Unit Test of your choice:
|
||||||
|
|
||||||
cd <raztek-nxwidgets-directory>/trunk/UnitTests/tools
|
cd <nxwidgets-directory>/trunk/UnitTests/tools
|
||||||
./install.sh <apps-directory-path> <test-sub-directory>
|
./install.sh <apps-directory-path> <test-sub-directory>
|
||||||
|
|
||||||
Where:
|
Where:
|
||||||
@ -144,7 +144,7 @@ Installing and Building the Unit Tests
|
|||||||
|
|
||||||
5. Build the NXWidgets Library
|
5. Build the NXWidgets Library
|
||||||
|
|
||||||
cd <raztek-nxwidgets-directory>/trunk/NXWidgets/libnxwidgets
|
cd <nxwidgets-directory>/trunk/NXWidgets/libnxwidgets
|
||||||
make TOPDIR=<nuttx-directory-path>
|
make TOPDIR=<nuttx-directory-path>
|
||||||
|
|
||||||
6. Build NuttX including the unit test and the NXWidget library
|
6. Build NuttX including the unit test and the NXWidget library
|
||||||
@ -289,7 +289,7 @@ Example
|
|||||||
/home/patacongo/projects/nuttx/nuttx/trunk/apps//external already exists...
|
/home/patacongo/projects/nuttx/nuttx/trunk/apps//external already exists...
|
||||||
Removing the old symbolic link.
|
Removing the old symbolic link.
|
||||||
Creating symbolic link
|
Creating symbolic link
|
||||||
- To /home/patacongo/projects/nuttx/gui/raztek-nxwidgets/trunk/UnitTests/tools/../CButton
|
- To /home/patacongo/projects/nuttx/nuttx/trunk/NxWidgets/UnitTests/CButton
|
||||||
- At /home/patacongo/projects/nuttx/nuttx/trunk/apps//external
|
- At /home/patacongo/projects/nuttx/nuttx/trunk/apps//external
|
||||||
|
|
||||||
4. Instantiate the Configuration
|
4. Instantiate the Configuration
|
||||||
@ -311,7 +311,7 @@ Example
|
|||||||
7. Build the NXWdigets Library
|
7. Build the NXWdigets Library
|
||||||
Where XWidgets/trunk/NXWidgets/libnxwidgets
|
Where XWidgets/trunk/NXWidgets/libnxwidgets
|
||||||
|
|
||||||
$ cd /home/patacongo/projects/nuttx/gui/raztek-nxwidgets/trunkXWidgets/libnxwidgets
|
$ cd /home/patacongo/projects/nuttx/nuttx/trunk/NxWidgets/libnxwidgets
|
||||||
$ make TOPDIR=/home/patacongo/projects/nuttx/nuttx/trunk/nuttx
|
$ make TOPDIR=/home/patacongo/projects/nuttx/nuttx/trunk/nuttx
|
||||||
|
|
||||||
8. Build NuttX
|
8. Build NuttX
|
||||||
|
@ -141,7 +141,7 @@ namespace NXWidgets
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor for a label containing a string.
|
* Constructor for an image.
|
||||||
*
|
*
|
||||||
* @param pWidgetControl The controlling widget for the display
|
* @param pWidgetControl The controlling widget for the display
|
||||||
* @param x The x coordinate of the image box, relative to its parent.
|
* @param x The x coordinate of the image box, relative to its parent.
|
||||||
|
@ -168,7 +168,7 @@ void CImage::drawContents(CGraphicsPort *port)
|
|||||||
|
|
||||||
FAR nxwidget_pixel_t *buffer = new nxwidget_pixel_t[rect.getWidth()];
|
FAR nxwidget_pixel_t *buffer = new nxwidget_pixel_t[rect.getWidth()];
|
||||||
|
|
||||||
// Set up a simple bitmap structure to describe on row
|
// Set up a simple bitmap structure to describe one row
|
||||||
|
|
||||||
struct SBitmap bitmap;
|
struct SBitmap bitmap;
|
||||||
bitmap.bpp = m_bitmap->getBitsPerPixel();
|
bitmap.bpp = m_bitmap->getBitsPerPixel();
|
||||||
|
Loading…
Reference in New Issue
Block a user