Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <eventresponder.h>
Public Member Functions | |
virtual bool | processCommand (const EventCommandId &command, Control *control) |
virtual bool | processKeyDown (const InputEvent &event) |
virtual bool | processKeyUp (const InputEvent &event) |
virtual bool | processMouseDown (const InputEvent &event) |
virtual void | processUnfocus (const InputEvent &event) |
virtual bool | processMouseUp (const InputEvent &event) |
virtual bool | processMouseMove (const InputEvent &event) |
virtual bool | processMouseDrag (const InputEvent &event) |
virtual void | sendCommand (const EventCommandId &command, Control *control) |
virtual void | setCommandTarget (EventResponder *responder) |
virtual void | setModal (bool modal) |
EventResponder (void) | |
virtual | ~EventResponder (void) |
Protected Attributes | |
bool | m_modal |
EventResponder * | m_commandTarget |
Definition at line 40 of file eventresponder.h.
EventResponder::EventResponder | ( | void | ) |
Definition at line 118 of file eventresponder.cpp.
|
virtual |
Definition at line 123 of file eventresponder.cpp.
References globalEventManager(), hasGlobalEventManager(), and EventManager::removeResponder().
|
virtual |
Reimplemented in Picker, Window, StaticDisplay, and Scroller.
Definition at line 49 of file eventresponder.cpp.
References m_modal.
Referenced by Scroller::processCommand(), StaticDisplay::processCommand(), Window::processCommand(), Picker::processCommand(), and sendCommand().
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Picker, NewButton, Window, StaticDisplay, GroupControl, Slider, and TextInputDisplay.
Definition at line 67 of file eventresponder.cpp.
References m_modal.
Referenced by Slider::processMouseDown(), GroupControl::processMouseDown(), StaticDisplay::processMouseDown(), Window::processMouseDown(), NewButton::processMouseDown(), and Picker::processMouseDown().
|
virtual |
Reimplemented in Window, GroupControl, and Slider.
Definition at line 88 of file eventresponder.cpp.
References m_modal.
Referenced by Slider::processMouseDrag(), GroupControl::processMouseDrag(), and Window::processMouseDrag().
|
virtual |
Reimplemented in Picker, Window, and GroupControl.
Definition at line 82 of file eventresponder.cpp.
References m_modal.
Referenced by GroupControl::processMouseMove(), and Window::processMouseMove().
|
virtual |
Reimplemented in Picker, NewButton, Window, GroupControl, and Slider.
Definition at line 76 of file eventresponder.cpp.
References m_modal.
Referenced by Slider::processMouseUp(), GroupControl::processMouseUp(), Window::processMouseUp(), NewButton::processMouseUp(), and Picker::processMouseUp().
|
virtual |
Reimplemented in TextInputDisplay.
Definition at line 73 of file eventresponder.cpp.
Referenced by GroupControl::processMouseDown(), and TextInputDisplay::processUnfocus().
|
virtual |
Definition at line 94 of file eventresponder.cpp.
References globalEventManager(), m_commandTarget, processCommand(), and EventManager::sendCommand().
Referenced by BaseComputer::changeToInfoMode(), Picker::selectCell(), NewButton::sendButtonCommand(), Slider::setPosition(), and Scroller::setScrollPosition().
|
virtual |
Definition at line 106 of file eventresponder.cpp.
References m_commandTarget.
Referenced by Scroller::createControls(), StaticDisplay::setScroller(), and Picker::setScroller().
|
virtual |
Definition at line 112 of file eventresponder.cpp.
References m_modal.
Referenced by NetActionConfirm::init(), NavComputer::RenameConfirm::init(), BaseComputer::LoadSaveQuitConfirm::init(), Slider::processMouseDown(), NewButton::processMouseDown(), Picker::processMouseDown(), Slider::processMouseUp(), NewButton::processMouseUp(), Picker::processMouseUp(), and ModalDialog::run().
|
protected |
Definition at line 91 of file eventresponder.h.
Referenced by sendCommand(), and setCommandTarget().
|
protected |
Definition at line 90 of file eventresponder.h.
Referenced by processCommand(), processKeyDown(), processKeyUp(), processMouseDown(), processMouseDrag(), processMouseMove(), processMouseUp(), and setModal().