projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked the inventory move handling code, hopefully fixed more problems than caused
[oweals/minetest.git]
/
src
/
guiMessageMenu.cpp
diff --git
a/src/guiMessageMenu.cpp
b/src/guiMessageMenu.cpp
index e4e582ab176f35dcfa31041d1a145e04330fc908..87f1dbf0ec4c665b739c47a8f60209b5b570d065 100644
(file)
--- a/
src/guiMessageMenu.cpp
+++ b/
src/guiMessageMenu.cpp
@@
-21,6
+21,11
@@
with this program; if not, write to the Free Software Foundation, Inc.,
#include "debug.h"
#include "serialization.h"
#include <string>
#include "debug.h"
#include "serialization.h"
#include <string>
+#include <IGUICheckBox.h>
+#include <IGUIEditBox.h>
+#include <IGUIButton.h>
+#include <IGUIStaticText.h>
+#include <IGUIFont.h>
#include "gettext.h"
#include "gettext.h"
@@
-85,13
+90,16
@@
void GUIMessageMenu::regenerateGui(v2u32 screensize)
Environment->addStaticText(m_message_text.c_str(), rect, false,
true, this, 256);
}
Environment->addStaticText(m_message_text.c_str(), rect, false,
true, this, 256);
}
+ changeCtype("");
{
core::rect<s32> rect(0, 0, 140, 30);
rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25);
gui::IGUIElement *e =
{
core::rect<s32> rect(0, 0, 140, 30);
rect = rect + v2s32(size.X/2-140/2, size.Y/2-30/2+25);
gui::IGUIElement *e =
- Environment->addButton(rect, this, 257, chartowchar_t(gettext("Proceed")));
+ Environment->addButton(rect, this, 257,
+ wgettext("Proceed"));
Environment->setFocus(e);
}
Environment->setFocus(e);
}
+ changeCtype("C");
}
void GUIMessageMenu::drawMenu()
}
void GUIMessageMenu::drawMenu()