diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-14 13:21:35 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-14 13:21:35 -0600 |
commit | 3575c7a606c2d24c0d444e9999892c0390fa5ae8 (patch) | |
tree | 399bd2ce51577aa721a460884b397f52d4a4590c /src/gui/updatewindow.cpp | |
parent | f0c6bed3d879e1c7b9a6d5b7e676a4f1c6a29a54 (diff) | |
download | mana-3575c7a606c2d24c0d444e9999892c0390fa5ae8.tar.gz mana-3575c7a606c2d24c0d444e9999892c0390fa5ae8.tar.bz2 mana-3575c7a606c2d24c0d444e9999892c0390fa5ae8.tar.xz mana-3575c7a606c2d24c0d444e9999892c0390fa5ae8.zip |
Made a label class derived from the guichan label class which utilizes
the palette colors. While technically, this can be accomplished through
other means, it's rather clumsy overall, and is prone to introducing in
programmer errors.
This commit finally catches every case where text is used, and applies
the text color from the color dialog to each of them appropriately.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r-- | src/gui/updatewindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 81dcb047..927d6eaf 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -25,13 +25,11 @@ #include <SDL_thread.h> #include <zlib.h> -#include <guichan/widgets/label.hpp> - -// Curl should be included after Guichan to avoid Windows redefinitions #include <curl/curl.h> #include "browserbox.h" #include "button.h" +#include "label.h" #include "progressbar.h" #include "scrollarea.h" #include "updatewindow.h" @@ -110,7 +108,7 @@ UpdaterWindow::UpdaterWindow(const std::string &updateHost, mBrowserBox = new BrowserBox(); mScrollArea = new ScrollArea(mBrowserBox); - mLabel = new gcn::Label(_("Connecting...")); + mLabel = new Label(_("Connecting...")); mProgressBar = new ProgressBar(0.0, 310, 20, 168, 116, 31); mCancelButton = new Button(_("Cancel"), "cancel", this); mPlayButton = new Button(_("Play"), "play", this); |