diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-12 09:58:33 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-12 09:58:33 -0600 |
commit | fbbd2edd6f33628b6e9257cf876670759f454017 (patch) | |
tree | bd9bdb358c5970786efa9f78df938170f35bd685 /src/gui/setup.cpp | |
parent | e41371d866d403260f713a06c877d24eb43ad7b3 (diff) | |
download | mana-fbbd2edd6f33628b6e9257cf876670759f454017.tar.gz mana-fbbd2edd6f33628b6e9257cf876670759f454017.tar.bz2 mana-fbbd2edd6f33628b6e9257cf876670759f454017.tar.xz mana-fbbd2edd6f33628b6e9257cf876670759f454017.zip |
Merge version strings, add version to setup, etc
All instances of version strings should now use the same text. The
version label was moved from main.cpp to Desktop. A new version label
was added to SetupDialog to make it easier to get the version if you are
already in game.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 50068c6e..b2474ead 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -21,6 +21,8 @@ #include "setup.h" +#include "main.h" + #include "gui/setup_audio.h" #include "gui/setup_colors.h" #include "gui/setup_joystick.h" @@ -29,6 +31,7 @@ #include "gui/setup_video.h" #include "gui/widgets/button.h" +#include "gui/widgets/label.h" #include "gui/widgets/tabbedarea.h" #include "utils/dtor.h" @@ -101,6 +104,10 @@ Setup::Setup(): add(panel); + Label *version = new Label(Main::version); + version->setPosition(5, height - version->getHeight() - 5); + add(version); + center(); setInGame(false); |