diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-30 22:51:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-30 22:51:34 +0000 |
commit | 1d3abc8d480110850480ca27560e6a9672052e0b (patch) | |
tree | d3fe39dd74ee37e27515c87e27230b6bad3d6d95 /NxWidgets/libnxwidgets | |
parent | 9384da7066d128ab6a0fb7616a671047c374cd4a (diff) | |
download | nuttx-1d3abc8d480110850480ca27560e6a9672052e0b.tar.gz nuttx-1d3abc8d480110850480ca27560e6a9672052e0b.tar.bz2 nuttx-1d3abc8d480110850480ca27560e6a9672052e0b.zip |
More NX window manager updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4679 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/libnxwidgets')
-rw-r--r-- | NxWidgets/libnxwidgets/include/crect.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/include/crect.hxx b/NxWidgets/libnxwidgets/include/crect.hxx index e3a73a392..7ce233fed 100644 --- a/NxWidgets/libnxwidgets/include/crect.hxx +++ b/NxWidgets/libnxwidgets/include/crect.hxx @@ -184,6 +184,18 @@ namespace NXWidgets } /** + * Get the size of the rectangle + * + * @return The rectangle's size + */ + + inline void getSize(struct nxgl_size_s &size) const + { + size.h = m_size.h; + size.w = m_size.w; + } + + /** * Get the rectangle's height. * * @return The rectangle's height. |