From 26382eddca53cd7ba6fe9629d98a97cc4240922f Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 28 Apr 2012 14:25:16 +0000 Subject: [PATCH] Update to README and comments git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4668 42af7a65-404d-4744-a932-0658087f49c3 --- UnitTests/README.txt | 8 ++++---- libnxwidgets/include/cimage.hxx | 2 +- libnxwidgets/src/cimage.cxx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/UnitTests/README.txt b/UnitTests/README.txt index b0f3c9aab..2360e2425 100644 --- a/UnitTests/README.txt +++ b/UnitTests/README.txt @@ -115,7 +115,7 @@ Installing and Building the Unit Tests Then reconfigure that to use the Unit Test of your choice: - cd /trunk/UnitTests/tools + cd /trunk/UnitTests/tools ./install.sh Where: @@ -144,7 +144,7 @@ Installing and Building the Unit Tests 5. Build the NXWidgets Library - cd /trunk/NXWidgets/libnxwidgets + cd /trunk/NXWidgets/libnxwidgets make TOPDIR= 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... Removing the old 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 4. Instantiate the Configuration @@ -311,7 +311,7 @@ Example 7. Build the NXWdigets Library 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 8. Build NuttX diff --git a/libnxwidgets/include/cimage.hxx b/libnxwidgets/include/cimage.hxx index fa87b3f9c..47f4d557f 100644 --- a/libnxwidgets/include/cimage.hxx +++ b/libnxwidgets/include/cimage.hxx @@ -141,7 +141,7 @@ namespace NXWidgets public: /** - * Constructor for a label containing a string. + * Constructor for an image. * * @param pWidgetControl The controlling widget for the display * @param x The x coordinate of the image box, relative to its parent. diff --git a/libnxwidgets/src/cimage.cxx b/libnxwidgets/src/cimage.cxx index b57857e66..5e46b801b 100644 --- a/libnxwidgets/src/cimage.cxx +++ b/libnxwidgets/src/cimage.cxx @@ -168,7 +168,7 @@ void CImage::drawContents(CGraphicsPort *port) 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; bitmap.bpp = m_bitmap->getBitsPerPixel();