diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-14 11:58:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-14 12:21:58 +0300 |
commit | 93f07067f47b5122c36e92d529569da372963086 (patch) | |
tree | f182bee0525e587e5e4fc7d1bb4a56e0f89a2159 | |
parent | be7fb9d309ad85a223b65fd7225c928c92300e99 (diff) | |
download | manaplus-93f07067f47b5122c36e92d529569da372963086.tar.gz manaplus-93f07067f47b5122c36e92d529569da372963086.tar.bz2 manaplus-93f07067f47b5122c36e92d529569da372963086.tar.xz manaplus-93f07067f47b5122c36e92d529569da372963086.zip |
Dont draw background on version and copyright labels.
-rw-r--r-- | src/gui/widgets/desktop.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index 8e8831a49..8504e7c2a 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -40,7 +40,7 @@ Desktop::Desktop(const Widget2 *const widget) : LinkHandler(), WidgetListener(), mWallpaper(nullptr), - mVersionLabel(new BrowserBox(this, BrowserBox::AUTO_WRAP, true, + mVersionLabel(new BrowserBox(this, BrowserBox::AUTO_WRAP, false, "browserbox.xml")), mSkin(nullptr), mBackgroundColor(getThemeColor(Theme::BACKGROUND, 128)), @@ -144,10 +144,6 @@ void Desktop::draw(Graphics *graphics) graphics->fillRectangle(Rect(0, 0, width, height)); } - // Draw a thin border under the application version... - graphics->setColor(mBackgroundColor); - graphics->fillRectangle(Rect(mVersionLabel->getDimension())); - Container::draw(graphics); BLOCK_END("Desktop::draw") } |