input::handler Class Reference
A reference to an input implementation.
More...
#include <input.hpp>
List of all members.
Detailed Description
A reference to an input implementation.
- Note:
- In case you want to share the same handler for several input::managers, you have to call set_manually_updated(true), and update the handler yourself. Else, it will be updated by each input::manager (and that may be something you don't want to happen).
Definition at line 80 of file input.hpp.
Constructor & Destructor Documentation
input::handler::handler |
( |
|
) |
|
template<class T >
input::handler::handler |
( |
utils::refptr< T > |
pImpl |
) |
[inline] |
Implementation constructor.
- Parameters:
-
| pImpl | A pointer to the implementation handler |
Definition at line 91 of file input.hpp.
Member Function Documentation
std::vector< char32_t > input::handler::get_chars |
( |
|
) |
const |
Returns the unicode characters that has been entered.
- Returns:
- The unicode characters entered with the keyboard
Definition at line 41 of file input.cpp.
std::string input::handler::get_key_name |
( |
key::code |
mKey |
) |
const |
Returns the name of the key as it appears on the keyboard.
- Returns:
- The name of the key as it appears on the keyboard
Definition at line 46 of file input.cpp.
bool input::handler::is_manually_updated |
( |
|
) |
const |
void input::handler::set_manually_updated |
( |
bool |
bManuallyUpdated |
) |
|
Marks this handler as manually updated.
- Parameters:
-
| bManuallyUpdated | 'true' if this handler is manually updated |
- Note:
- In case you want to share the same handler for several input::managers, you have to call set_manually_updated(true), and update the handler yourself. Else, it will be updated by each input::manager (and that may be something you don't want to happen).
Definition at line 31 of file input.cpp.
void input::handler::update |
( |
|
) |
|
The documentation for this class was generated from the following files:
- D:/Programmation/Sources/lxgui/bak/lxgui/gui/include/input.hpp
- D:/Programmation/Sources/lxgui/bak/lxgui/gui/src/input.cpp