diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-17 16:55:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-17 17:14:13 +0300 |
commit | 35244e4120f3f9d36990e206380b1a2023e4d0b0 (patch) | |
tree | b86b1ddf0f135b8b68bc5a49c40e3b792dafe165 /src/gui/widgets/browserbox.h | |
parent | 62b750528fd3d1064eaeb8ff33f58e7bf9b5aaa7 (diff) | |
download | manaverse-35244e4120f3f9d36990e206380b1a2023e4d0b0.tar.gz manaverse-35244e4120f3f9d36990e206380b1a2023e4d0b0.tar.bz2 manaverse-35244e4120f3f9d36990e206380b1a2023e4d0b0.tar.xz manaverse-35244e4120f3f9d36990e206380b1a2023e4d0b0.zip |
Add theming to browserbox.
New theme file: browserbox.xml
New theme options:
padding - padding for browserbox
newLinePadding - additional padding for new line wrapping.
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r-- | src/gui/widgets/browserbox.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index 591d83a07..bff0d97c3 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -230,11 +230,16 @@ class BrowserBox final : public gcn::Widget, bool mAlwaysUpdate; bool mProcessVersion; bool mEnableImages; + int mPadding; + int mNewLinePadding; gcn::Color mBackgroundColor; gcn::Color mHighlightColor; gcn::Color mHyperLinkColor; gcn::Color mColors[COLORS_MAX]; + + static Skin *mSkin; + static int mInstances; }; #endif |