From aaddd74d15f8701283623b45a63262084055c291 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Oct 2012 16:47:58 +0300 Subject: Extend playerbox theming. New theme options: offsetX - offset for player by x. Default -16 offsetY - offset for player by y. Default -32 frameSize - frame size. Default 2 --- src/gui/widgets/playerbox.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/playerbox.h') diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h index 90ef929af..d7729f5be 100644 --- a/src/gui/widgets/playerbox.h +++ b/src/gui/widgets/playerbox.h @@ -87,6 +87,8 @@ class PlayerBox final : public Widget2, ImageRect mBackground; Skin *mSkin; bool mDrawBackground; + int mOffsetX; + int mOffsetY; }; #endif -- cgit v1.2.3-70-g09d2