ManaPlus
|
#include <keylistener.h>
Public Member Functions | |
virtual | ~KeyListener () |
virtual void | keyPressed (KeyEvent &event) |
virtual void | keyReleased (KeyEvent &event) |
Protected Member Functions | |
KeyListener () | |
Interface for listening for key events from widgets.
Definition at line 79 of file keylistener.h.
|
inlinevirtual |
|
inlineprotected |
Constructor.
You should not be able to make an instance of KeyListener, therefore its constructor is protected.
Definition at line 115 of file keylistener.h.
|
inlinevirtual |
Called if a key is pressed when the widget has keyboard focus. If a key is held down the widget will generate multiple key presses.
event | Discribes the event. |
Reimplemented in WorldSelectDialog, UpdaterWindow, ServerDialog, RegisterDialog, QuitDialog, LoginDialog, InventoryWindow, EditServerDialog, ChatWindow, CharSelectDialog, CharCreateDialog, TextField, TextBox, TabbedArea, Slider, RadioButton, ListBox, ItemContainer, IntTextField, GuiTable, DropDown, CheckBox, and Button.
Definition at line 97 of file keylistener.h.
|
inlinevirtual |
Called if a key is released when the widget has keyboard focus.
event | Discribes the event. |
Reimplemented in ItemAmountWindow, InventoryWindow, ItemContainer, and Button.
Definition at line 105 of file keylistener.h.