aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-09-14 22:26:19 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:41:06 +0100
commit780382ab640815e8e92c59d9147432df855359b4 (patch)
tree46042fa245aa4002dc2188b2f1722bce130c1313 /src/menu/background.hpp
parentc85f1cde101d5c6c8912c1131d4d43a828d87015 (diff)
downloadusdx-780382ab640815e8e92c59d9147432df855359b4.tar.gz
usdx-780382ab640815e8e92c59d9147432df855359b4.tar.xz
usdx-780382ab640815e8e92c59d9147432df855359b4.zip
menu: add some comments
Diffstat (limited to 'src/menu/background.hpp')
-rw-r--r--src/menu/background.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/menu/background.hpp b/src/menu/background.hpp
index b57959b7..660605dd 100644
--- a/src/menu/background.hpp
+++ b/src/menu/background.hpp
@@ -48,6 +48,11 @@ namespace usdx
public:
virtual ~Background();
+ /**
+ * Returns the parent DrawableControl, this background is attached
+ * to. Could be used for example to determine the size of the parent
+ * control and adjust the background.
+ */
const DrawableControl& get_parent(void) const;
};
};