summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/ctaskbar.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/nxwm/include/ctaskbar.hxx')
-rw-r--r--NxWidgets/nxwm/include/ctaskbar.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/ctaskbar.hxx b/NxWidgets/nxwm/include/ctaskbar.hxx
index 69595163c..398087f84 100644
--- a/NxWidgets/nxwm/include/ctaskbar.hxx
+++ b/NxWidgets/nxwm/include/ctaskbar.hxx
@@ -386,6 +386,18 @@ namespace NxWM
bool stopApplication(IApplication *app);
/**
+ * Get the size of the physical display device as it is known to the task
+ * bar.
+ *
+ * @return The size of the display
+ */
+
+ inline bool getWindowSize(FAR struct nxgl_size_s *size)
+ {
+ return m_taskbar->getSize(size);
+ }
+
+ /**
* Simulate a mouse click on the icon at index. This inline method is only
* used during automated testing of NxWM.
*/