ManaPlus
|
#include <inputactionreplaylistener.h>
Public Member Functions | |
InputActionReplayListener () | |
void | action (const ActionEvent &event) |
void | setDialog (EditDialog *const dialog) |
void | openDialog (const std::string &caption, const std::string &text, const InputActionT action0) |
Public Member Functions inherited from ActionListener | |
virtual | ~ActionListener () |
Protected Attributes | |
EditDialog * | mDialog |
InputActionT | mAction |
Additional Inherited Members | |
Protected Member Functions inherited from ActionListener | |
ActionListener () | |
Definition at line 33 of file inputactionreplaylistener.h.
InputActionReplayListener::InputActionReplayListener | ( | ) |
Definition at line 34 of file inputactionreplaylistener.cpp.
|
virtual |
Called when an action is recieved from a widget. It is used to be able to recieve a notification that an action has occured.
actionEvent | The event of the action. |
Implements ActionListener.
Definition at line 56 of file inputactionreplaylistener.cpp.
References InputManager::executeChatCommand(), ActionEvent::getId(), EditDialog::getMsg(), inputManager, mAction, mDialog, and InputAction::NO_VALUE.
void InputActionReplayListener::openDialog | ( | const std::string & | caption, |
const std::string & | text, | ||
const InputActionT | action0 | ||
) |
Definition at line 41 of file inputactionreplaylistener.cpp.
References Widget::addActionListener(), CREATEWIDGETV, mAction, mDialog, and Modal_true.
|
inline |
|
protected |
Definition at line 51 of file inputactionreplaylistener.h.
Referenced by action(), and openDialog().
|
protected |
Definition at line 50 of file inputactionreplaylistener.h.
Referenced by action(), openDialog(), and setDialog().