Open main menu

Difference between revisions of "User:Seldon/GSoC2007-ProjectDiary"

m
key mapper and key mapper dialog improvement
(basic key mapper added)
m (key mapper and key mapper dialog improvement)
Line 110: Line 110:
== 2007-07-24 (Tuesday) - basic key mapper dialog added ==
== 2007-07-24 (Tuesday) - basic key mapper dialog added ==
I have used the gui/KeysDialog.h and modified it to work with the KeyMapper implementation.
I have used the gui/KeysDialog.h and modified it to work with the KeyMapper implementation.
== 2007-07-28 (Saturday) - key mapper refactoring ==
I have refactored KeyMapper to better fit key mapper dialog implementation.
The new methods are:
virtual void addActionMapping(const Common::KeyState, const Common::UserAction);
virtual void addActionMappings(const Common::ActionList);
virtual void clearActionMappings();
virtual const Common::KeyState *getMappingKey(const Common::UserAction);
Fixed the key mapper dialog to make use of these new methods.
69

edits