]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/input.cpp
Split block allocation to a separate class
[r2c2.git] / source / designer / input.cpp
index 26bf9f2bfc521165e24d4ae2c5cb7afd22092e29..ea4129a9cab1948a9383857ad277aefdcb5bd7fa 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2006-2008, 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <GL/gl.h>
 #include <msp/gl/texture.h>
 #include <msp/gltk/button.h>
@@ -43,14 +36,14 @@ InputDialog::InputDialog(Designer &d, const string &title, const string &text):
        entry->set_focus();
 }
 
-void InputDialog::key_press(unsigned key, unsigned mod, wchar_t ch)
+void InputDialog::key_press(unsigned key, unsigned mod)
 {
        if(key==Msp::Input::KEY_ENTER)
                response(1);
        else if(key==Msp::Input::KEY_ESC)
                response(0);
        else
-               Dialog::key_press(key, mod, ch);
+               Dialog::key_press(key, mod);
 }
 
 void InputDialog::on_response(int code)