Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Setup_Joystick Class Reference

#include <setup_joystick.h>

Inheritance diagram for Setup_Joystick:
SetupTab Container

Public Member Functions

 Setup_Joystick ()
 
void apply () override
 Called when the Apply button is pressed in the setup window.
 
void cancel () override
 Called when the Cancel button is pressed in the setup window.
 
void action (const gcn::ActionEvent &event) override
 
- Public Member Functions inherited from SetupTab
 SetupTab ()
 
const std::string & getName () const
 
- Public Member Functions inherited from Container
 Container ()
 
 ~Container () override
 
void drawFrame (gcn::Graphics *graphics) override
 

Private Attributes

gcn::Label * mCalibrateLabel
 
gcn::Button * mCalibrateButton
 
bool mJoystickEnabled
 
gcn::CheckBox * mJoystickCheckBox
 

Additional Inherited Members

- Protected Member Functions inherited from SetupTab
void setName (const std::string &name)
 Sets the name displayed on the tab.
 
- Protected Member Functions inherited from Container
LayoutgetLayout ()
 Gets the layout handler for this container.
 
LayoutCellplace (int x, int y, gcn::Widget *wg, int w=1, int h=1)
 Adds a widget to the container and sets it at given cell.
 
ContainerPlacer getPlacer (int x, int y)
 Returns a proxy for adding widgets in an inner table of the layout.
 

Detailed Description

Definition at line 30 of file setup_joystick.h.

Constructor & Destructor Documentation

◆ Setup_Joystick()

Setup_Joystick::Setup_Joystick ( )

Definition at line 35 of file setup_joystick.cpp.

Member Function Documentation

◆ action()

void Setup_Joystick::action ( const gcn::ActionEvent &  event)
override

Definition at line 53 of file setup_joystick.cpp.

◆ apply()

void Setup_Joystick::apply ( )
overridevirtual

Called when the Apply button is pressed in the setup window.

Implements SetupTab.

Definition at line 91 of file setup_joystick.cpp.

◆ cancel()

void Setup_Joystick::cancel ( )
overridevirtual

Called when the Cancel button is pressed in the setup window.

Implements SetupTab.

Definition at line 82 of file setup_joystick.cpp.

Member Data Documentation

◆ mCalibrateButton

gcn::Button* Setup_Joystick::mCalibrateButton
private

Definition at line 42 of file setup_joystick.h.

◆ mCalibrateLabel

gcn::Label* Setup_Joystick::mCalibrateLabel
private

Definition at line 41 of file setup_joystick.h.

◆ mJoystickCheckBox

gcn::CheckBox* Setup_Joystick::mJoystickCheckBox
private

Definition at line 44 of file setup_joystick.h.

◆ mJoystickEnabled

bool Setup_Joystick::mJoystickEnabled
private

Definition at line 43 of file setup_joystick.h.


The documentation for this class was generated from the following files: