neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_keyboard_handler Class Referenceabstract

#include <i_keyboard.hpp>

Inheritance diagram for neogfx::i_keyboard_handler:
neogfx::app neogfx::i_widget neogfx::keyboard_grabber neogfx::DesignStudio::i_element_caddy neogfx::i_image_widget neogfx::i_status_bar neogfx::i_terminal neogfx::i_text_widget neogfx::i_title_bar neogfx::i_window neolib::lifetime< neogfx::i_window >

Public Member Functions

virtual bool key_pressed (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers)=0
 
virtual bool key_released (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers)=0
 
virtual bool text_input (i_string const &aText)=0
 
virtual bool sys_text_input (i_string const &aText)=0
 

Detailed Description

Definition at line 609 of file i_keyboard.hpp.

Member Function Documentation

◆ key_pressed()

virtual bool neogfx::i_keyboard_handler::key_pressed ( scan_code_e  aScanCode,
key_code_e  aKeyCode,
key_modifiers_e  aKeyModifiers 
)
pure virtual

Implemented in neogfx::keyboard_grabber.

◆ key_released()

virtual bool neogfx::i_keyboard_handler::key_released ( scan_code_e  aScanCode,
key_code_e  aKeyCode,
key_modifiers_e  aKeyModifiers 
)
pure virtual

Implemented in neogfx::keyboard_grabber.

◆ sys_text_input()

virtual bool neogfx::i_keyboard_handler::sys_text_input ( i_string const &  aText)
pure virtual

Implemented in neogfx::keyboard_grabber.

◆ text_input()

virtual bool neogfx::i_keyboard_handler::text_input ( i_string const &  aText)
pure virtual

Implemented in neogfx::keyboard_grabber.


The documentation for this class was generated from the following file: