diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-12-28 13:48:58 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-12-28 13:48:58 +0000 |
commit | 42e227d7f1523a5c11fd6fe3babd869f9041cce9 (patch) | |
tree | b3a3f463845fb3dae5626ecab9d47ac407d21aa7 /src/gui/ok_dialog.cpp | |
parent | abb51426f88797f0fe292e8f85d3f0794f4d41ab (diff) | |
download | mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.tar.gz mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.tar.bz2 mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.tar.xz mana-42e227d7f1523a5c11fd6fe3babd869f9041cce9.zip |
Simplified graphic engine
Diffstat (limited to 'src/gui/ok_dialog.cpp')
-rw-r--r-- | src/gui/ok_dialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp index 6a1ba126..b997cdb2 100644 --- a/src/gui/ok_dialog.cpp +++ b/src/gui/ok_dialog.cpp @@ -28,17 +28,17 @@ OkDialog::OkDialog(gcn::Container *parent, std::string msg): { userLabel = new gcn::Label(msg); okButton = new Button("OK"); - + setSize(200, 80); userLabel->setPosition(4, 11); okButton->setPosition(120, 52); okButton->setEventId("ok"); - + okButton->addActionListener(this); - + add(userLabel); add(okButton); - + setLocationRelativeTo(getParent()); okButton->requestFocus(); } |