SCV
4.2.1
Simple Components for Visual
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
KeyEvent.h
Go to the documentation of this file.
1
#ifndef __SCV_KEY_EVENT_H__
2
#define __SCV_KEY_EVENT_H__
3
4
namespace
scv {
5
7
struct
KeyEvent
{
8
enum
State
{
UP
,
DOWN
};
9
10
KeyEvent
(
int
key,
int
mod,
bool
special
,
KeyEvent::State
state
);
11
12
std::string
getKeyString
()
const
;
13
bool
operator==
(
const
KeyEvent
& rhs);
14
16
const
bool
special
;
18
const
int
keycode
;
20
const
int
modifiers
;
22
const
KeyEvent::State
state
;
23
};
24
25
}
// namespace scv
26
27
#endif // __SCV_KEY_EVENT_H__
include
SCV
KeyEvent.h
Generated on Fri Dec 14 2012 09:44:49 for SCV by
1.8.2