Advanced Strategic Command
Static Public Member Functions | Public Attributes | List of all members
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>

Static Public Member Functions

static ASCString getButtonName (int button)
 

Public Attributes

int fieldmarkbutton
 the button to select a field without opening the menu More...
 
int centerbutton
 the button to select a field and open the menu there More...
 
int dragndropbutton
 used in the container dialog More...
 
int zoomoutbutton
 the button to display the vehicle information More...
 
int zoominbutton
 
bool singleClickAction
 marks a field and opens the small gui buttons with a single click (default: first click mark, second click: execute) More...
 

Detailed Description

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

Definition at line 125 of file gameoptions.h.

Member Function Documentation

ASCString CGameOptions::Mouse::getButtonName ( int  button)
static

Member Data Documentation

int CGameOptions::Mouse::centerbutton

the button to select a field and open the menu there

the button to use the big icons on the right side specifies the occasions when the small icons are positioned directly under the mouse pointer (instead of some pixel upwards) 0 = never 1 = always 2 = only if there is a building or a unit on the field or if the field is a destination for the current unit action (default)the button to center the map around the selected field

Definition at line 146 of file gameoptions.h.

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

int CGameOptions::Mouse::dragndropbutton
int CGameOptions::Mouse::fieldmarkbutton
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 161 of file gameoptions.h.

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

int CGameOptions::Mouse::zoominbutton
int CGameOptions::Mouse::zoomoutbutton

the button to display the vehicle information

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

Definition at line 157 of file gameoptions.h.

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


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