OpenASIP
2.0
|
Public Member Functions | |
ConsoleWindowInputCtrl (ConsoleWindow *console) | |
virtual | ~ConsoleWindowInputCtrl () |
Private Member Functions | |
void | onKeyDown (wxKeyEvent &event) |
Private Attributes | |
ConsoleWindow * | console_ |
Parent console of the widget. More... | |
Text input widget for the console.
This derived wxTextCtrl passes all key events through the parent console's key event handler. Event passing makes it possible to hook special keys such as browsing command history with up/down arrow keys.
Definition at line 90 of file ConsoleWindow.hh.
ConsoleWindow::ConsoleWindowInputCtrl::ConsoleWindowInputCtrl | ( | ConsoleWindow * | console | ) |
The Constructor.
console | Pointer to the parent console of the input widget. |
Definition at line 66 of file ConsoleWindow.cc.
|
inlinevirtual |
Definition at line 93 of file ConsoleWindow.hh.
|
private |
An event handler for the input control key events.
Events are passed to the parent console's event handler.
event | Key press event to handle. |
Definition at line 83 of file ConsoleWindow.cc.
References console_, and ConsoleWindow::onInputKey().
|
private |
Parent console of the widget.
Definition at line 97 of file ConsoleWindow.hh.
Referenced by onKeyDown().