IPhone: sync with recent GUI changes. NOT TESTED.

svn-id: r49792
This commit is contained in:
Eugene Sandulenko 2010-06-15 11:00:57 +00:00
parent c6d9812270
commit d6d7cf3edf

View File

@ -24,6 +24,7 @@
*/
#include "gui/message.h"
#include "common/translation.h"
#include "osys_main.h"
@ -335,9 +336,9 @@ bool OSystem_IPHONE::handleEvent_mouseSecondDragged(Common::Event &event, int x,
_touchpadModeEnabled = !_touchpadModeEnabled;
const char *dialogMsg;
if (_touchpadModeEnabled)
dialogMsg = "Touchpad mode enabled.";
dialogMsg = _("Touchpad mode enabled.");
else
dialogMsg = "Touchpad mode disabled.";
dialogMsg = _("Touchpad mode disabled.");
GUI::TimedMessageDialog dialog(dialogMsg, 1500);
dialog.runModal();
return false;