summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-23 17:25:54 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-23 17:25:54 +0000
commit822a523b5e8d25ca03071549248f1178b397d22b (patch)
treefa82242861225c1dcf995e02e6e6c2b7b45bdd2b /src/gui/updatewindow.cpp
parent58242ee776a52bd7aed40834897b10d0d356f4e9 (diff)
downloadmana-822a523b5e8d25ca03071549248f1178b397d22b.tar.gz
mana-822a523b5e8d25ca03071549248f1178b397d22b.tar.bz2
mana-822a523b5e8d25ca03071549248f1178b397d22b.tar.xz
mana-822a523b5e8d25ca03071549248f1178b397d22b.zip
New login wallpaper by Momotaro and shortened update window a bit to not
overlap the logo.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index d29474fe..ebe9013f 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -50,17 +50,12 @@ UpdaterWindow::UpdaterWindow():
mCurlError = new char[CURL_ERROR_SIZE];
mCurlError[0] = 0;
- int h = 300;
+ int h = 240;
int w = 320;
setContentSize(w, h);
mBrowserBox = new BrowserBox();
mBrowserBox->setOpaque(false);
- mScrollArea = new ScrollArea(mBrowserBox);
- mScrollArea->setDimension(gcn::Rectangle(5, 5, 310, 190));
- mLabel = new gcn::Label("Connecting...");
- mLabel->setPosition(5,205);
- mProgressBar = new ProgressBar(0.0, 5, 225, w - 10, 40, 37, 70, 23);
mCancelButton = new Button("Cancel");
mCancelButton->setPosition(5, h - 5 - mCancelButton->getHeight());
mCancelButton->setEventId("cancel");
@@ -72,6 +67,13 @@ UpdaterWindow::UpdaterWindow():
mPlayButton->setEventId("play");
mPlayButton->setEnabled(false);
mPlayButton->addActionListener(this);
+ mProgressBar = new ProgressBar(0.0, 5, mCancelButton->getY() - 20 - 5,
+ w - 10, 20, 37, 70, 23);
+ mLabel = new gcn::Label("Connecting...");
+ mLabel->setPosition(5, mProgressBar->getY() - mLabel->getHeight() - 5);
+ mScrollArea = new ScrollArea(mBrowserBox);
+ mScrollArea->setDimension(gcn::Rectangle(5, 5, 310,
+ mLabel->getY() - 12));
add(mScrollArea);
add(mLabel);