25#include <guichan/actionlistener.hpp>
26#include <guichan/keylistener.hpp>
27#include <guichan/listmodel.hpp>
61 public gcn::ActionListener,
62 public gcn::KeyListener
71 void action(
const gcn::ActionEvent &event)
override;
73 void keyPressed(gcn::KeyEvent &keyEvent)
override;
82#ifdef MANASERV_SUPPORT
84 std::unique_ptr<TypeListModel> mTypeListModel;
The custom server addition dialog.
TextField * mServerAddressField
TextField * mDescriptionField
~CustomServerDialog() override
void action(const gcn::ActionEvent &event) override
Called when receiving actions from the widgets.
void keyPressed(gcn::KeyEvent &keyEvent) override
ServerDialog * mServerDialog
A drop down box from which you can select different values.
The server choice dialog.
std::string getElementAt(int elementIndex) override
Used to get an element from the list.
int getNumberOfElements() override
Used to get number of line in the list.