diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-21 16:47:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-21 16:47:58 +0300 |
commit | aaddd74d15f8701283623b45a63262084055c291 (patch) | |
tree | a23dc5a98c9de25bf4db8ba2d0469ebc2c7c015a /src/gui/widgets/playerbox.h | |
parent | aff65854a6301a74b098f376cd8ff83dd5f503d4 (diff) | |
download | plus-aaddd74d15f8701283623b45a63262084055c291.tar.gz plus-aaddd74d15f8701283623b45a63262084055c291.tar.bz2 plus-aaddd74d15f8701283623b45a63262084055c291.tar.xz plus-aaddd74d15f8701283623b45a63262084055c291.zip |
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
Diffstat (limited to 'src/gui/widgets/playerbox.h')
-rw-r--r-- | src/gui/widgets/playerbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |