diff options
Diffstat (limited to 'src/menu/background.hpp')
-rw-r--r-- | src/menu/background.hpp | 5 |
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; }; }; |