diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-13 14:36:59 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-05-13 14:36:59 +0000 |
commit | 851773fdae49ba99c7780c7e64bbacd08a07fa16 (patch) | |
tree | ad7cd2e11ec8b196ca588de12508afb294a689c8 /NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx | |
parent | 6798ffe9be77f8ca18352e1c0f36fd59cb414d2b (diff) | |
download | px4-firmware-851773fdae49ba99c7780c7e64bbacd08a07fa16.tar.gz px4-firmware-851773fdae49ba99c7780c7e64bbacd08a07fa16.tar.bz2 px4-firmware-851773fdae49ba99c7780c7e64bbacd08a07fa16.zip |
NxWM: Fix detection of touch events in the tool bar; Start window should not have a stop icon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4729 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx')
-rw-r--r-- | NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx b/NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx index 4a54469d8..565e9cc36 100644 --- a/NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx +++ b/NxWidgets/libnxwidgets/include/cwidgetcontrol.hxx @@ -526,7 +526,7 @@ namespace NXWidgets /** * Get the default widget style for this window. * - * @return Pointer to the clicked widget. + * @param style. The location to return the widget's style */ inline void getWidgetStyle(CWidgetStyle *style) @@ -535,6 +535,17 @@ namespace NXWidgets } /** + * Set the default widget style for this window. + * + * @param style. The new widget style to copy. + */ + + inline void setWidgetStyle(const CWidgetStyle *style) + { + copyWidgetStyle(&m_style, style); + } + + /** * These remaining methods are used by the CCallback instance to * provide notifications of certain events. */ |