Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CGameOptions::Mouse Struct Reference

the mouse configuration. Mouse button are: bit 0 = left button ; bit 1 = right button ; bit 2 = center button More...

#include <gameoptions.h>

List of all members.

Static Public Member Functions

static ASCString getButtonName (int button)

Public Attributes

int fieldmarkbutton
 the button to select a field without opening the menu
int centerbutton
 the button to center the map around the selected field
int dragndropbutton
 used in the container dialog
int zoomoutbutton
 if != 0, a single click will mark a field AND open the small gui menu
int zoominbutton
bool singleClickAction
 marks a field and opens the small gui buttons with a single click (default: first click mark, second click: execute)


Detailed Description

the mouse configuration. Mouse button are: bit 0 = left button ; bit 1 = right button ; bit 2 = center button

Definition at line 122 of file gameoptions.h.


Member Function Documentation

ASCString CGameOptions::Mouse::getButtonName int  button  )  [static]
 

Definition at line 338 of file gameoptions.cpp.

References ASCString::toString().

Referenced by CargoGuiFunctions::MoveUnitIntoInnerContainer::execute().


Member Data Documentation

int CGameOptions::Mouse::centerbutton
 

the button to center the map around the selected field

Definition at line 143 of file gameoptions.h.

Referenced by EditGameOptions::EditGameOptions(), CGameOptions::runTextIO(), and CGameOptions::setDefaults().

int CGameOptions::Mouse::dragndropbutton
 

used in the container dialog

Definition at line 146 of file gameoptions.h.

Referenced by EditGameOptions::EditGameOptions(), CGameOptions::runTextIO(), and CGameOptions::setDefaults().

int CGameOptions::Mouse::fieldmarkbutton
 

the button to select a field without opening the menu

Definition at line 127 of file gameoptions.h.

Referenced by EditGameOptions::EditGameOptions(), CGameOptions::runTextIO(), and CGameOptions::setDefaults().

bool CGameOptions::Mouse::singleClickAction
 

marks a field and opens the small gui buttons with a single click (default: first click mark, second click: execute)

Definition at line 158 of file gameoptions.h.

Referenced by EditGameOptions::EditGameOptions(), CGameOptions::runTextIO(), and CGameOptions::setDefaults().

int CGameOptions::Mouse::zoominbutton
 

Definition at line 155 of file gameoptions.h.

Referenced by EditGameOptions::EditGameOptions(), CGameOptions::runTextIO(), and CGameOptions::setDefaults().

int CGameOptions::Mouse::zoomoutbutton
 

if != 0, a single click will mark a field AND open the small gui menu

Definition at line 154 of file gameoptions.h.

Referenced by EditGameOptions::EditGameOptions(), CGameOptions::runTextIO(), and CGameOptions::setDefaults().


The documentation for this struct was generated from the following files:
Generated on Tue Jun 24 02:16:36 2008 for Advanced Strategic Command by  doxygen 1.4.2