aboutsummaryrefslogtreecommitdiff
path: root/fonts/lucida_sans_180.png
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-11-09 06:04:24 +0100
committerest31 <MTest31@outlook.com>2015-11-09 06:04:24 +0100
commit63e7137e3bb3ef2531faac995e8817b2c3fedc8c (patch)
tree74ce090d61a52f008a51940e276cf7a24f516643 /fonts/lucida_sans_180.png
parent889f893ff37021d97d1805c2e21128b5befa21f5 (diff)
downloadminetest-63e7137e3bb3ef2531faac995e8817b2c3fedc8c.tar.gz
minetest-63e7137e3bb3ef2531faac995e8817b2c3fedc8c.tar.bz2
minetest-63e7137e3bb3ef2531faac995e8817b2c3fedc8c.zip
Put ChatEvent handler into own function
Comply with line limit.
Diffstat (limited to 'fonts/lucida_sans_180.png')
0 files changed, 0 insertions, 0 deletions
n> or an actual char */ class KeyPress { public: KeyPress(); KeyPress(const char *name); KeyPress(const irr::SEvent::SKeyInput &in, bool prefer_character=false); bool operator==(const KeyPress &o) const { return (Char > 0 && Char == o.Char) || (valid_kcode(Key) && Key == o.Key); } const char *sym() const; const char *name() const; std::string debug() const; protected: static bool valid_kcode(irr::EKEY_CODE k) { return k > 0 && k < irr::KEY_KEY_CODES_COUNT; } irr::EKEY_CODE Key; wchar_t Char; std::string m_name; };