16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 13:59:19 +02:00

scenery editor node bank search. node label and node group support

This commit is contained in:
tmj-fstate
2020-07-12 04:46:21 +02:00
parent c4bcb94d79
commit 93c92e5ae9
5 changed files with 110 additions and 18 deletions

View File

@@ -68,6 +68,9 @@ public:
// potentially processes provided input key. returns: true if the input was processed, false otherwise
bool
on_key( int const Key, int const Scancode, int const Action, int const Mods );
// potentially processes provided input character. returns: true if the input was processed, false otherwise
bool
on_char( unsigned int const Char );
// potentially processes provided mouse movement. returns: true if the input was processed, false otherwise
bool
on_cursor_pos( double const Horizontal, double const Vertical );
@@ -137,6 +140,9 @@ private:
bool
on_key_( int const Key, int const Scancode, int const Action, int const Mods ) { return false; }
virtual
bool
on_char_( unsigned int const Char ) { return false; }
virtual
bool
on_cursor_pos_( double const Horizontal, double const Vertical ) { return false; }
virtual