summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-07-09 11:00:51 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-07-09 11:00:51 +0000
commitd3202d55214abb4e6df30a54eceff3b24746ee13 (patch)
treebefa461cb42b382894d7bbb1bcd4e77457f260b7 /src/gui/updatewindow.cpp
parenta458bf24b65f7f2b7e8c4aa156e04ab672a79e6e (diff)
downloadmana-d3202d55214abb4e6df30a54eceff3b24746ee13.tar.gz
mana-d3202d55214abb4e6df30a54eceff3b24746ee13.tar.bz2
mana-d3202d55214abb4e6df30a54eceff3b24746ee13.tar.xz
mana-d3202d55214abb4e6df30a54eceff3b24746ee13.zip
Some win32 fixes most of all
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index 813e6254..b037103b 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -24,7 +24,7 @@
#include "updatewindow.h"
#include <sstream>
-UpdateWindow::UpdateWindow()
+UpdaterWindow::UpdaterWindow()
: Window("Updating")
{
setContentSize(320, 96);
@@ -42,24 +42,24 @@ UpdateWindow::UpdateWindow()
add(vbox);
}
-UpdateWindow::~UpdateWindow()
+UpdaterWindow::~UpdaterWindow()
{
delete label;
delete progressBar;
delete vbox;
}
-void UpdateWindow::setProgress(double p)
+void UpdaterWindow::setProgress(double p)
{
progress = p;
}
-void UpdateWindow::setLabel(const std::string &str)
+void UpdaterWindow::setLabel(const std::string &str)
{
labelText = str;
}
-void UpdateWindow::draw(gcn::Graphics *graphics)
+void UpdaterWindow::draw(gcn::Graphics *graphics)
{
std::stringstream ss;
ss << labelText << " (" << progress * 100 << "%)";