From 780382ab640815e8e92c59d9147432df855359b4 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 14 Sep 2012 22:26:19 +0200 Subject: menu: add some comments --- src/menu/background.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/menu/background.hpp') 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; }; }; -- cgit v1.2.3