diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-28 18:48:11 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-28 18:48:11 +0000 |
commit | a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea (patch) | |
tree | 3f51cea039f16c0a9b0b8e05550fe9112d72d824 /NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx | |
parent | f1b1e3ba11994bcbb0a1ddad9f8e686a6a9ae475 (diff) | |
download | nuttx-a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea.tar.gz nuttx-a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea.tar.bz2 nuttx-a63f8bb684d01a23bfe1ee85b1d7faf983b9d1ea.zip |
NxWidgets/NxWM updates from Petteri Aimonen (Patches 0007-0013)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5689 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx')
-rw-r--r-- | NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx b/NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx index 94caac5fd..df060f037 100644 --- a/NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx +++ b/NxWidgets/libnxwidgets/src/cmultilinetextbox.cxx @@ -1261,8 +1261,8 @@ void CMultiLineTextBox::drawRow(CGraphicsPort *port, int row) uint8_t rowLength = m_text->getLineTrimmedLength(row); struct nxgl_point_s pos; - pos.x = getRowX(row) + m_canvasX; - pos.y = getRowY(row) + m_canvasY; + pos.x = getRowX(row) + m_canvasX + rect.getX(); + pos.y = getRowY(row) + m_canvasY + rect.getY(); // Determine the background and text color |