29#include <guichan/actionlistener.hpp>
38 void apply()
override;
41 void action(
const gcn::ActionEvent &event)
override;
The list model for key function list.
A container for the contents of a tab in the setup window.
void cancel() override
Called when the Cancel button is pressed in the setup window.
void keyUnresolved()
If a key function is unresolved, then this reverts it.
void newKeyCallback(int index)
The callback function when a new key has been pressed.
class KeyListModel * mKeyListModel
void refreshAssignedKey(int index)
Get an update on the assigned key.
gcn::Button * mMakeDefaultButton
void refreshKeys()
Shorthand method to update all the keys.
~Setup_Keyboard() override
gcn::Button * mAssignKeyButton
bool mKeySetting
flag to check if key being set.
void action(const gcn::ActionEvent &event) override
void apply() override
Called when the Apply button is pressed in the setup window.
gcn::Button * mUnassignKeyButton