From 1d3abc8d480110850480ca27560e6a9672052e0b Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 30 Apr 2012 22:51:34 +0000 Subject: More NX window manager updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4679 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/libnxwidgets/include/crect.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'NxWidgets/libnxwidgets') 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 @@ -183,6 +183,18 @@ namespace NXWidgets return m_size.w; } + /** + * 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. * -- cgit v1.2.3