diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 12:53:40 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-03 12:55:22 +0200 |
commit | 19bf50bbff325024c2ed9ad724aeb6acb39bae39 (patch) | |
tree | 811b25f52c49c501e58604757e5c72d442210377 /src/gui/widgets | |
parent | a8ebdf2555ac6b89afa2e0e575ba01c349ef3fe2 (diff) | |
download | mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.tar.gz mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.tar.bz2 mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.tar.xz mana-19bf50bbff325024c2ed9ad724aeb6acb39bae39.zip |
Moved strprintf into stringutils.{h,cpp}
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/whispertab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/windowcontainer.h | 2 |
4 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index e96f7738..d55e5da8 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -38,7 +38,6 @@ #include "resources/itemdb.h" #include "utils/gettext.h" -#include "utils/strprintf.h" #include "utils/stringutils.h" #include <guichan/widgets/tabbedarea.hpp> diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index 57995ba1..ff3a23d1 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -278,7 +278,7 @@ void ScrollArea::drawRightButton(gcn::Graphics *graphics) void ScrollArea::drawVBar(gcn::Graphics *graphics) { - gcn::Rectangle dim = getVerticalBarDimension(); + const gcn::Rectangle dim = getVerticalBarDimension(); graphics->setColor(gcn::Color(0, 0, 0, 32)); graphics->fillRectangle(dim); graphics->setColor(gcn::Color(255, 255, 255)); @@ -286,7 +286,7 @@ void ScrollArea::drawVBar(gcn::Graphics *graphics) void ScrollArea::drawHBar(gcn::Graphics *graphics) { - gcn::Rectangle dim = getHorizontalBarDimension(); + const gcn::Rectangle dim = getHorizontalBarDimension(); graphics->setColor(gcn::Color(0, 0, 0, 32)); graphics->fillRectangle(dim); graphics->setColor(gcn::Color(255, 255, 255)); diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp index 5e005709..17ee3fc4 100644 --- a/src/gui/widgets/whispertab.cpp +++ b/src/gui/widgets/whispertab.cpp @@ -29,7 +29,7 @@ #include "net/net.h" #include "utils/gettext.h" -#include "utils/strprintf.h" +#include "utils/stringutils.h" WhisperTab::WhisperTab(const std::string &nick) : ChatTab(nick), diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h index a1a4b14c..0e2bf6b7 100644 --- a/src/gui/widgets/windowcontainer.h +++ b/src/gui/widgets/windowcontainer.h @@ -54,6 +54,6 @@ class WindowContainer : public Container Widgets mDeathList; }; -extern WindowContainer* windowContainer; +extern WindowContainer *windowContainer; #endif |