aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
};
};