removed useless comment and change syntax for struct Binding
This commit is contained in:
parent
306d12de27
commit
6c489ccd40
@ -86,12 +86,6 @@ void KeyBindings::setHoldAction(int key, int action)
|
|||||||
* @info: This class contains a list of actions available in a given situation (context).
|
* @info: This class contains a list of actions available in a given situation (context).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Implementation of Context class
|
|
||||||
* @author: Thomas Brandého
|
|
||||||
* @info: This class contains a list of action associated to a given situation (context).
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
Context::Context(std::string _name, std::vector<int> _actions): name(_name), actions(_actions)
|
Context::Context(std::string _name, std::vector<int> _actions): name(_name), actions(_actions)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
#define NO_KEY -1
|
#define NO_KEY -1
|
||||||
#define NO_ACTION -1
|
#define NO_ACTION -1
|
||||||
|
|
||||||
typedef struct{
|
struct Binding{
|
||||||
int action;
|
int action;
|
||||||
int key;
|
int key;
|
||||||
int type;
|
int type;
|
||||||
} Binding;
|
};
|
||||||
|
|
||||||
class IKeysMap{
|
class IKeysMap{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user