implement auto repeat configuration for key press events, to give more flexibility

This commit is contained in:
Eduardo Bart
2012-02-06 10:53:28 -02:00
parent f97104f12e
commit add8505a5b
18 changed files with 68 additions and 198 deletions

View File

@@ -37,8 +37,8 @@ struct InputEvent {
mouseButton = Fw::MouseNoButton;
keyCode = Fw::KeyUnknown;
keyText = "";
autoRepeatTicks = 0;
mouseMoved = Point();
wouldFilter = false;
};
Fw::InputEventType type;
@@ -49,7 +49,7 @@ struct InputEvent {
int keyboardModifiers;
Point mousePos;
Point mouseMoved;
bool wouldFilter;
int autoRepeatTicks;
};
#endif