[Scummvm-cvs-logs] CVS: scummvm/backends/wince/CEkeys CEKeys.h,1.1,1.2 Key.cpp,1.1,1.2 Key.h,1.1,1.2
Nicolas Bacca
arisme at users.sourceforge.net
Sun May 9 07:40:01 CEST 2004
Update of /cvsroot/scummvm/scummvm/backends/wince/CEkeys
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25317
Modified Files:
CEKeys.h Key.cpp Key.h
Log Message:
Tiny virtual keys changes
Index: CEKeys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEkeys/CEKeys.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CEKeys.h 26 Jan 2004 08:14:04 -0000 1.1
+++ CEKeys.h 9 May 2004 14:38:47 -0000 1.2
@@ -19,5 +19,5 @@
*
*/
-#include "KeysBuffer.h"
+#include "EventsBuffer.h"
Index: Key.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEkeys/Key.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Key.cpp 26 Jan 2004 08:14:04 -0000 1.1
+++ Key.cpp 9 May 2004 14:38:47 -0000 1.2
@@ -27,8 +27,8 @@
_ascii(0), _keycode(0), _flags(0) {
}
- Key::Key(int ascii, int keycode, int flags, bool pushed) :
- _ascii(ascii), _keycode(keycode), _flags(flags), _pushed(pushed) {
+ Key::Key(int ascii, int keycode, int flags) :
+ _ascii(ascii), _keycode(keycode), _flags(flags) {
}
int Key::ascii() {
@@ -43,10 +43,6 @@
return _flags;
}
- bool Key::pushed() {
- return _pushed;
- }
-
void Key::setAscii(int ascii) {
_ascii = ascii;
@@ -60,8 +56,4 @@
void Key::setFlags(int flags) {
_flags = flags;
}
-
- void Key::setPushed(bool pushed) {
- _pushed = pushed;
- }
}
Index: Key.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEkeys/Key.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Key.h 26 Jan 2004 08:14:04 -0000 1.1
+++ Key.h 9 May 2004 14:38:47 -0000 1.2
@@ -30,21 +30,18 @@
class Key {
public:
- Key(int ascii, int keycode = 0, int flags = 0, bool pushed = true);
+ Key(int ascii, int keycode = 0, int flags = 0);
Key();
void setAscii(int ascii);
void setKeycode(int keycode);
void setFlags(int flags);
- void setPushed(bool pushed);
int ascii();
int keycode();
int flags();
- bool pushed();
private:
int _ascii;
int _keycode;
int _flags;
- bool _pushed;
};
}
More information about the Scummvm-git-logs
mailing list