GG Namespace Reference

The namespace that encloses all GG classes, functions, typedefs, enums, etc. More...


Classes

class  BrowseInfoWnd
 The abstract base class for all browse-info display windows. More...
class  TextBoxBrowseInfoWnd
 A subclass of BrowseInfoWnd that displays text in a box, optionally with a border. More...
class  Button
 This is a basic button control. More...
class  StateButton
 This is a basic state button control. More...
class  RadioButtonGroup
 This is a class that encapsulates multiple GG::StateButtons into a single radio-button control. More...
struct  Clr
 A simple 32-bit structure that can act as a packed 32-bit unsigned integer representation of a RGBA color, a vector of the four unsigned bytes that compose an RGBA color, or the individual unsigned bytes "a", "r", "g", and "b". More...
class  Control
 An abstract base class for all control classes. More...
class  Cursor
 Cursor is the base class for GUI-renderable cursors. More...
class  TextureCursor
 TextureCursor is a very simple subclass of Cursor. More...
struct  HSVClr
 Contains the necessary data to represent a color in HSV space, with an alpha value thrown in to make conversions to and from GG::Clr possible. More...
class  HueSaturationPicker
 A control specifically designed for ColorDlg that allows the user to select a point in the Hue-Saturation subspace of the HSV color space. More...
class  ValuePicker
 A control specifically designed for ColorDlg that allows the user to select a point in the Value subspace of the HSV color space. More...
class  ColorDlg
 A dialog box used to get a color selection from the user. More...
class  FileDlg
 The default file open/save dialog box. More...
class  ThreeButtonDlg
 A general pop-up message or user input box with one, two, or three buttons. More...
class  DropDownList
 Displays a single choice, and allows the user to select items from a drop-down list. More...
class  DynamicGraphic
 A control that replays images in sequence, forwards or backwards, animated or one frame at a time. More...
class  Edit
 This is a single-line edit box control. More...
struct  EnumMapBase
 A base type for all templated EnumMap types. More...
struct  EnumMap
 A mapping between the values of an enum and the string representations of the enum's values. More...
struct  ModalDialogResult
struct  EventPumpState
 Encapsulates the state of GG event pumping. More...
class  EventPumpBase
 The base type for all EventPump types. More...
class  EventPump
 Encapsulates the GG event-pumping mechanism. More...
class  ModalEventPump
 An EventPump that terminates when the bool reference done supplied to the constructor is true. More...
class  ExceptionBase
 The base class for all GG exceptions. More...
struct  is_flag_type
 Metafunction predicate that evaluates as true iff T is a GG flag type, declared by using GG_FLAG_TYPE. More...
class  FlagSpec
 A singleton that encapsulates the set of known flags of type FlagType. More...
class  Flags
 A set of flags of the same type. More...
class  Font
 A bitmapped font rendering class. More...
class  FontManager
 A singleton that loads and stores fonts for use by GG. More...
class  GUI
 An abstract base for an GUI framework class to drive the GG GUI. More...
class  Layout
 An invisible Wnd subclass that arranges its child Wnds. More...
class  ListBox
 A flexible control that can contain rows and columns of other controls, even other ListBoxes. More...
struct  MenuItem
 Serves as a single menu entry in a GG::MenuBar or GG::PopupMenu. More...
class  MenuBar
 A menu bar control providing "browse" updates to user navigation of the menu. More...
class  PopupMenu
 A modal pop-up menu. More...
class  MultiEdit
 This is a multi-line text input and display control. More...
class  OgreGUI
 This is an abstract singleton class that represents the GUI framework of an Ogre OpenGL application. More...
class  OgreGUIInputPlugin
 The base class for Ogre plugins that provides input functionality to OgreGUI. More...
class  PluginInterface
 The interface to custom-control plugins. More...
class  PluginManager
 A singleton that loads and stores textures for use by GG. More...
struct  Pt
 A GG screen coordinate class. More...
struct  Rect
 A GG rectangle class. More...
class  Scroll
 This is a basic scrollbar control. More...
class  SDLGUI
 This is an abstract singleton class that represents the GUI framework of an SDL OpenGL application. More...
class  Slider
 A slider control. More...
class  Spin
 A spin box control. More...
class  StaticGraphic
 A simple, non-interactive window that displays a GG::SubTexture. More...
class  StyleFactory
 Creates new dialogs and Controls. More...
class  TabWnd
 Contains several Wnds and a TabBar, and only displays the Wnd currently selected in the TabBar. More...
class  TabBar
 Contains a sequence of buttons (hereafter "tabs") that act together in a RadioButtonGroup. More...
class  TextControl
 Displays a piece of text. More...
class  Texture
 This class encapsulates an OpenGL texture object. More...
class  SubTexture
 This class is a convenient way to store the info needed to use a portion of an OpenGL texture. More...
class  TextureManager
 A singleton that loads and stores textures for use by GG. More...
class  Timer
 Timer provides a means for one or more Wnds to receive periodic notifications of the passage of time. More...
struct  UnicodeCharset
 Represents the name and character range of a set of Unicode characters. More...
class  Wnd
 This is the basic GG window class. More...
class  WndEvent
 Encapsulates a Wnd event that is passed from the singleton GUI to a Wnd. More...
class  ZList
 A Z-ordering (depth-ordering) of the windows in the GUI. More...
class  StrSize
 The string size and index value type. More...
class  CPSize
 The code point size and index value type. More...
class  X
 The x-coordinate value type. More...
class  Y
 The y-coordinate value type. More...

Typedefs

typedef boost::function< bool(adobe::name_t,
const adobe::any_regular_t &)> 
ButtonHandler

Enumerations

enum  WndRegion
enum  Orientation {
  VERTICAL,
  HORIZONTAL
}
enum  StateButtonStyle {
  SBSTYLE_3D_XBOX,
  SBSTYLE_3D_CHECKBOX,
  SBSTYLE_3D_RADIO,
  SBSTYLE_3D_BUTTON,
  SBSTYLE_3D_ROUND_BUTTON,
  SBSTYLE_3D_TOP_ATTACHED_TAB,
  SBSTYLE_3D_TOP_DETACHED_TAB
}
enum  SliderLineStyle
enum  TabBarStyle {
  TAB_BAR_ATTACHED,
  TAB_BAR_DETACHED
}
enum  Key

Functions

 GG_FLAG_TYPE (Alignment)
void KeypadKeyToPrintable (Key &key, Flags< ModKey > mod_keys)
Clr FloatClr (float r, float g, float b, float a)
bool operator== (const Clr &rhs, const Clr &lhs)
bool operator!= (const Clr &rhs, const Clr &lhs)
GG_API void glColor (Clr clr)
GG_API void glVertex (const Pt &pt)
GG_API void glVertex (X x, Y y)
GG_API void glVertex (X_d x, Y_d y)
GG_API void glVertex (X x, Y_d y)
GG_API void glVertex (X_d x, Y y)
GG_API Clr LightColor (Clr clr)
GG_API Clr DarkColor (Clr clr)
GG_API Clr DisabledColor (Clr clr)
GG_API void BeginScissorClipping (Pt ul, Pt lr)
GG_API void EndScissorClipping ()
GG_API void BeginStencilClipping (Pt inner_ul, Pt inner_lr, Pt outer_ul, Pt outer_lr)
GG_API void EndStencilClipping ()
GG_API void FlatRectangle (Pt ul, Pt lr, Clr color, Clr border_color, unsigned int border_thick=2)
GG_API void BeveledRectangle (Pt ul, Pt lr, Clr color, Clr border_color, bool up, unsigned int bevel_thick=2, bool bevel_left=true, bool bevel_top=true, bool bevel_right=true, bool bevel_bottom=true)
GG_API void FlatCheck (Pt ul, Pt lr, Clr color)
GG_API void BeveledCheck (Pt ul, Pt lr, Clr color)
GG_API void FlatX (Pt ul, Pt lr, Clr color)
GG_API void BeveledX (Pt ul, Pt lr, Clr color)
GG_API void Bubble (Pt ul, Pt lr, Clr color, bool up=true)
GG_API void FlatCircle (Pt ul, Pt lr, Clr color, Clr border_color, unsigned thick=2)
GG_API void BeveledCircle (Pt ul, Pt lr, Clr color, Clr border_color, bool up=true, unsigned int bevel_thick=2)
GG_API void FlatRoundedRectangle (Pt ul, Pt lr, Clr color, Clr border_color, unsigned int corner_radius=5, unsigned int border_thick=2)
GG_API void BeveledRoundedRectangle (Pt ul, Pt lr, Clr color, Clr border_color, bool up, unsigned int corner_radius=5, unsigned int bevel_thick=2)
GG_API void BubbleRectangle (Pt ul, Pt lr, Clr color, bool up, unsigned int corner_radius=5)
template<class E >
EnumMap< E > GetEnumMap ()
ModalDialogResult ExecuteModalDialog (std::istream &eve_definition, std::istream &adam_definition, ButtonHandler handler)
WndMakeDialog (std::istream &eve_definition, std::istream &adam_definition, ButtonHandler handler)
template<class FlagType >
std::ostream & operator<< (std::ostream &os, Flags< FlagType > flags)
template<class FlagType >
Flags< FlagType > operator| (Flags< FlagType > lhs, Flags< FlagType > rhs)
template<class FlagType >
Flags< FlagType > operator| (Flags< FlagType > lhs, FlagType rhs)
template<class FlagType >
Flags< FlagType > operator| (FlagType lhs, Flags< FlagType > rhs)
template<class FlagType >
boost::enable_if< is_flag_type
< FlagType >, Flags< FlagType >
>::type 
operator| (FlagType lhs, FlagType rhs)
template<class FlagType >
Flags< FlagType > operator& (Flags< FlagType > lhs, Flags< FlagType > rhs)
template<class FlagType >
Flags< FlagType > operator& (Flags< FlagType > lhs, FlagType rhs)
template<class FlagType >
Flags< FlagType > operator& (FlagType lhs, Flags< FlagType > rhs)
template<class FlagType >
boost::enable_if< is_flag_type
< FlagType >, Flags< FlagType >
>::type 
operator& (FlagType lhs, FlagType rhs)
template<class FlagType >
Flags< FlagType > operator^ (Flags< FlagType > lhs, Flags< FlagType > rhs)
template<class FlagType >
Flags< FlagType > operator^ (Flags< FlagType > lhs, FlagType rhs)
template<class FlagType >
Flags< FlagType > operator^ (FlagType lhs, Flags< FlagType > rhs)
template<class FlagType >
boost::enable_if< is_flag_type
< FlagType >, Flags< FlagType >
>::type 
operator^ (FlagType lhs, FlagType rhs)
template<class FlagType >
Flags< FlagType > operator~ (Flags< FlagType > flags)
template<class FlagType >
boost::enable_if< is_flag_type
< FlagType >, Flags< FlagType >
>::type 
operator~ (FlagType flag)
GG_API std::string RgbaTag (const Clr &c)
GG_API std::ostream & operator<< (std::ostream &os, const Font::Substring &substr)
GG_API CPSize CodePointIndexOf (std::size_t line, CPSize index, const std::vector< Font::LineData > &line_data)
GG_API StrSize StringIndexOf (std::size_t line, CPSize index, const std::vector< Font::LineData > &line_data)
GG_API std::pair< std::size_t,
CPSize
LinePositionOf (CPSize index, const std::vector< Font::LineData > &line_data)
GG_API FontManagerGetFontManager ()
 GG_EXCEPTION (FailedFTLibraryInit)
 GG_FLAG_TYPE (TextFormat)
GG_API bool MatchesOrContains (const Wnd *lwnd, const Wnd *rwnd)
 GG_FLAG_TYPE (ListBoxStyle)
 GG_FLAG_TYPE (MultiEditStyle)
GG_API PluginManagerGetPluginManager ()
GG_API bool operator== (const Pt &lhs, const Pt &rhs)
GG_API bool operator!= (const Pt &lhs, const Pt &rhs)
GG_API bool operator< (const Pt &lhs, const Pt &rhs)
GG_API bool operator> (const Pt &lhs, const Pt &rhs)
GG_API bool operator<= (const Pt &lhs, const Pt &rhs)
GG_API bool operator>= (const Pt &lhs, const Pt &rhs)
GG_API Pt operator+ (const Pt &lhs, const Pt &rhs)
GG_API Pt operator- (const Pt &lhs, const Pt &rhs)
GG_API std::ostream & operator<< (std::ostream &os, const Pt &pt)
GG_API bool operator== (const Rect &lhs, const Rect &rhs)
GG_API bool operator!= (const Rect &lhs, const Rect &rhs)
GG_API Rect operator+ (const Rect &rect, const Pt &pt)
GG_API Rect operator- (const Rect &rect, const Pt &pt)
GG_API Rect operator+ (const Pt &pt, const Rect &rect)
GG_API Rect operator- (const Pt &pt, const Rect &rect)
GG_API std::ostream & operator<< (std::ostream &os, const Rect &rect)
GG_ENUM_MAP_END GG_API void SignalScroll (const Scroll &scroll, bool stopped)
template<class SigT >
boost::signals::connection Connect (SigT &sig, const typename SigT::slot_type &_slot, boost::signals::connect_position at=boost::signals::at_back)
template<class SigT >
boost::signals::connection Connect (SigT &sig, const typename SigT::slot_type &_slot, int grp, boost::signals::connect_position at=boost::signals::at_back)
 GG_FLAG_TYPE (GraphicStyle)
TextureManagerGetTextureManager ()
GG_API bool operator== (const GG::UnicodeCharset &lhs, const GG::UnicodeCharset &rhs)
GG_API bool operator< (const GG::UnicodeCharset &lhs, const GG::UnicodeCharset &rhs)
GG_API const std::vector
< UnicodeCharset > & 
AllUnicodeCharsets ()
GG_API std::set< UnicodeCharsetUnicodeCharsetsToRender (const std::string &str)
GG_API const UnicodeCharsetCharsetContaining (boost::uint32_t c)
GG_API const UnicodeCharsetCharsetWithName (const std::string &name)
 GG_FLAG_TYPE (WndFlag)

Variables

GG_API const Alignment ALIGN_NONE
GG_API const Alignment ALIGN_VCENTER
GG_API const Alignment ALIGN_TOP
GG_API const Alignment ALIGN_BOTTOM
GG_API const Alignment ALIGN_CENTER
GG_API const Alignment ALIGN_LEFT
GG_API const Alignment ALIGN_RIGHT
GG_API const TextFormat FORMAT_NONE
GG_API const TextFormat FORMAT_VCENTER
GG_API const TextFormat FORMAT_TOP
GG_API const TextFormat FORMAT_BOTTOM
GG_API const TextFormat FORMAT_CENTER
GG_API const TextFormat FORMAT_LEFT
GG_API const TextFormat FORMAT_RIGHT
GG_API const TextFormat FORMAT_WORDBREAK
GG_API const TextFormat FORMAT_LINEWRAP
GG_API const TextFormat FORMAT_IGNORETAGS
GG_API const ListBoxStyle LIST_NONE
GG_API const ListBoxStyle LIST_VCENTER
GG_API const ListBoxStyle LIST_TOP
GG_API const ListBoxStyle LIST_BOTTOM
GG_API const ListBoxStyle LIST_CENTER
GG_API const ListBoxStyle LIST_LEFT
GG_API const ListBoxStyle LIST_RIGHT
GG_API const ListBoxStyle LIST_NOSORT
GG_API const ListBoxStyle LIST_SORTDESCENDING
GG_API const ListBoxStyle LIST_NOSEL
GG_API const ListBoxStyle LIST_SINGLESEL
GG_API const ListBoxStyle LIST_QUICKSEL
GG_API const ListBoxStyle LIST_USERDELETE
GG_API const ListBoxStyle LIST_BROWSEUPDATES
GG_API const MultiEditStyle MULTI_NONE
GG_API const MultiEditStyle MULTI_WORDBREAK
GG_API const MultiEditStyle MULTI_LINEWRAP
GG_API const MultiEditStyle MULTI_VCENTER
GG_API const MultiEditStyle MULTI_TOP
GG_API const MultiEditStyle MULTI_BOTTOM
GG_API const MultiEditStyle MULTI_CENTER
GG_API const MultiEditStyle MULTI_LEFT
GG_API const MultiEditStyle MULTI_RIGHT
GG_API const MultiEditStyle MULTI_READ_ONLY
GG_API const MultiEditStyle MULTI_TERMINAL_STYLE
GG_API const MultiEditStyle MULTI_INTEGRAL_HEIGHT
GG_API const MultiEditStyle MULTI_NO_VSCROLL
GG_API const MultiEditStyle MULTI_NO_HSCROLL
GG_API const Flags
< MultiEditStyle > 
MULTI_NO_SCROLL
GG_API const GraphicStyle GRAPHIC_NONE
GG_API const GraphicStyle GRAPHIC_VCENTER
GG_API const GraphicStyle GRAPHIC_TOP
GG_API const GraphicStyle GRAPHIC_BOTTOM
GG_API const GraphicStyle GRAPHIC_CENTER
GG_API const GraphicStyle GRAPHIC_LEFT
GG_API const GraphicStyle GRAPHIC_RIGHT
GG_API const GraphicStyle GRAPHIC_FITGRAPHIC
GG_API const GraphicStyle GRAPHIC_SHRINKFIT
GG_API const GraphicStyle GRAPHIC_PROPSCALE
GG_API const WndFlag INTERACTIVE
GG_API const WndFlag REPEAT_BUTTON_DOWN
GG_API const WndFlag DRAGABLE
GG_API const WndFlag RESIZABLE
GG_API const WndFlag ONTOP
GG_API const WndFlag MODAL
GG_API const ModKey MOD_KEY_NONE
GG_API const ModKey MOD_KEY_LSHIFT
GG_API const ModKey MOD_KEY_RSHIFT
GG_API const ModKey MOD_KEY_LCTRL
GG_API const ModKey MOD_KEY_RCTRL
GG_API const ModKey MOD_KEY_LALT
GG_API const ModKey MOD_KEY_RALT
GG_API const ModKey MOD_KEY_LMETA
GG_API const ModKey MOD_KEY_RMETA
GG_API const ModKey MOD_KEY_NUM
GG_API const ModKey MOD_KEY_CAPS
GG_API const ModKey MOD_KEY_MODE
GG_API const Flags< ModKey > MOD_KEY_CTRL
GG_API const Flags< ModKey > MOD_KEY_SHIFT
GG_API const Flags< ModKey > MOD_KEY_ALT
GG_API const Flags< ModKey > MOD_KEY_META


Detailed Description

The namespace that encloses all GG classes, functions, typedefs, enums, etc.


Typedef Documentation

typedef boost::function<bool (adobe::name_t, const adobe::any_regular_t&)> GG::ButtonHandler

The type of button click handle function expected by ExecuteModalDialog(). Handlers accept the name of the button clicked, the value emitted by the click as specified in the Adam and Eve scripts, and return true if the click should result in the closure of the dialog.

Definition at line 61 of file EveGlue.h.


Enumeration Type Documentation

"Regions" of a window; used e.g. to determine direction(s) of drag when a window that has a drag-frame is clicked.

Definition at line 97 of file Base.h.

The orientations for scrollbars, sliders, etc.

Enumerator:
VERTICAL  Vertical orientation.
HORIZONTAL  Horizontal orientation.

Definition at line 111 of file Base.h.

The built-in visual styles of state buttons.

Enumerator:
SBSTYLE_3D_XBOX  Draws a down-beveled box with a 3D x-mark inside.
SBSTYLE_3D_CHECKBOX  Draws a down-beveled box with a 3D check-mark inside.
SBSTYLE_3D_RADIO  Draws a down-beveled circle with a 3D "dot" or "bubble" inside.
SBSTYLE_3D_BUTTON  Draws a button that toggles bewtween popped up and pushed down.
SBSTYLE_3D_ROUND_BUTTON  Draws a down-beveled circle with an up-beveled circle inside.
SBSTYLE_3D_TOP_ATTACHED_TAB  Draws an up-beveled rectagular tab that is brighter and larger when pressed; it's bottom is unbeveled.
SBSTYLE_3D_TOP_DETACHED_TAB  Draws an up-beveled rectagular tab that is brighter and larger when pressed; it's bottom is beveled.

Definition at line 117 of file Base.h.

The rendering styles of the line the tab slides over in a Slider.

Definition at line 134 of file Base.h.

The styles of display for a TabBar.

Enumerator:
TAB_BAR_ATTACHED  The currently active tab should appear to be connected to the area below the bar.
TAB_BAR_DETACHED  The currently active tab should appear to be unconnected to the area below the bar.

Definition at line 141 of file Base.h.

enum GG::Key

Adpated from SDLKey enum in SDL_keysym.h of the SDL library; capital letter keys added.

Definition at line 154 of file Base.h.


Function Documentation

GG::GG_FLAG_TYPE ( Alignment   ) 

Alignment flags.

void GG::KeypadKeyToPrintable ( Key &  key,
Flags< ModKey >  mod_keys 
)

Translates a printable key combination from a keypad press to the equivalent main-keyboard press. key is only modified if it is a keypad value. NumLock is taken into account. For instance, with numlock on, a GGK_KP7 (which is equal to a nonprintable char value) becomes a GGK_7 (which equals '7', and is printable).

Clr GG::FloatClr ( float  r,
float  g,
float  b,
float  a 
) [inline]

Named ctor that constructs a Clr from four floats that represent the color channels (each must be >= 0.0 and <= 1.0).

Definition at line 92 of file Clr.h.

bool GG::operator== ( const Clr &  rhs,
const Clr &  lhs 
) [inline]

Returns true iff rhs and lhs are identical.

Definition at line 101 of file Clr.h.

References GG::Clr::a, GG::Clr::b, GG::Clr::g, and GG::Clr::r.

bool GG::operator!= ( const Clr &  rhs,
const Clr &  lhs 
) [inline]

Returns true iff rhs and lhs are different.

Definition at line 105 of file Clr.h.

GG_API void GG::glColor ( Clr  clr  ) 

Calls the appropriate version of glColor*() with clr.

GG_API void GG::glVertex ( const Pt &  pt  ) 

Calls the appropriate version of glVertex*() with pt.

GG_API void GG::glVertex ( x,
y 
)

Calls the appropriate version of glVertex*() with x and y.

GG_API void GG::glVertex ( X_d  x,
Y_d  y 
)

Calls the appropriate version of glVertex*() with x and y.

GG_API void GG::glVertex ( x,
Y_d  y 
)

Calls the appropriate version of glVertex*() with x and y.

GG_API void GG::glVertex ( X_d  x,
y 
)

Calls the appropriate version of glVertex*() with x and y.

GG_API Clr GG::LightColor ( Clr  clr  ) 

Returns the lightened version of color clr. LightColor leaves the alpha channel unchanged, and multiplies the other channels by a some factor. (The factor is defined within LightColor().)

GG_API Clr GG::DarkColor ( Clr  clr  ) 

Returns the darkened version of color clr. DarkColor leaves the alpha channel unchanged, and divides the other channels by a some factor. (The factor is defined within DarkColor().)

GG_API Clr GG::DisabledColor ( Clr  clr  ) 

Returns the "disabled" (grayed) version of color clr. DisabledColor leaves the alpha channel unchanged, and adjusts the other channels in the direction of gray (GG_CLR_GRAY) by a factor between 0.0 and 1.0. (The factor is defined within DisabledColor().) This is used throughout the GG classes to render disabled controls.

Referenced by GG::Spin< T >::Render().

GG_API void GG::BeginScissorClipping ( Pt  ul,
Pt  lr 
)

Sets up a GL scissor box, so that everything outside of the screen region defined by points ul and lr is clipped out. These coordinates should be in GG screen coordinates, with +y downward, instead of GL's screen coordinates.

Note:
Failing to call EndScissorClipping() after calling this function and before the next unmatched glPopAttrib() call may produce unexpected results.

GG_API void GG::EndScissorClipping (  ) 

Ends the current GL scissor box, restoring GL scissor state to what it was before the corresponding call to BeginScissorClipping().

Precondition:
There must be an outstanding call to BeginScissorClipping().

GG_API void GG::BeginStencilClipping ( Pt  inner_ul,
Pt  inner_lr,
Pt  outer_ul,
Pt  outer_lr 
)

Sets up a GL stencil, so that anything inside of the screen region defined by points inner_ul and inner_lr, or outside of the screen region defined by points outer_ul and outer_lr, is clipped out.

Note:
Failing to call EndStencilClipping() after calling this function and before the next unmatched glPopAttrib() call may produce unexpected results.

An unnested call to BeginStencilClipping() will clear the stencil buffer.

Precondition:
There are no more than GL_STENCIL_BITS - 1 nested calls to BeginStencilClipping() currently outstanding (each nested call uses a separate bit in the stencil buffer).

GG_API void GG::EndStencilClipping (  ) 

Ends the current GL stencil, restoring GL stencil state to what it was before the corresponding call to BeginScissorClipping().

Precondition:
There must be an outstanding call to BeginStencilClipping().

GG_API void GG::FlatRectangle ( Pt  ul,
Pt  lr,
Clr  color,
Clr  border_color,
unsigned int  border_thick = 2 
)

Renders a rectangle starting at ul and ending just before lr, and assumes that OpenGL in in a "2D" state. The border is drawn in the desired thickness and color, then whatever is space is left inside that is filled with color color. No checking is done to make sure that border_thick * 2 is <= lr.x - ul.x (or <= lr.y - ul.y, for that matter). This method of drawing and the 2D requirements are true for all functions that follow.

GG_API void GG::BeveledRectangle ( Pt  ul,
Pt  lr,
Clr  color,
Clr  border_color,
bool  up,
unsigned int  bevel_thick = 2,
bool  bevel_left = true,
bool  bevel_top = true,
bool  bevel_right = true,
bool  bevel_bottom = true 
)

Like FlatRectangle(), but with a "beveled" appearance. The border_color used to create a lighter and a darker version of border_color, which are used to draw beveled edges around the inside of the rectangle to the desired thickness. If up is true, the beveled edges are lighter on the top and left, darker on the bottom and right, effecting a raised appearance. If up is false, the opposite happens, and the rectangle looks depressed. This is true of all the Beveled*() functions.

Referenced by GG::Spin< T >::Render().

GG_API void GG::FlatCheck ( Pt  ul,
Pt  lr,
Clr  color 
)

Draws a checkmark used to draw state buttons.

GG_API void GG::BeveledCheck ( Pt  ul,
Pt  lr,
Clr  color 
)

Like FlatCheck(), but with a raised appearance.

GG_API void GG::FlatX ( Pt  ul,
Pt  lr,
Clr  color 
)

Draws an X-mark used to draw state buttons.

GG_API void GG::BeveledX ( Pt  ul,
Pt  lr,
Clr  color 
)

Like FlatX(), but with a raised appearance.

GG_API void GG::Bubble ( Pt  ul,
Pt  lr,
Clr  color,
bool  up = true 
)

Draws a disk that appears to be a portion of a lit sphere. The portion may appear raised or depressed.

GG_API void GG::FlatCircle ( Pt  ul,
Pt  lr,
Clr  color,
Clr  border_color,
unsigned  thick = 2 
)

Draws a circle of thick pixels thickness in the color specified.

GG_API void GG::BeveledCircle ( Pt  ul,
Pt  lr,
Clr  color,
Clr  border_color,
bool  up = true,
unsigned int  bevel_thick = 2 
)

Draws a circle of thick pixels thickness in the color specified. The circle appears to be beveled, and may be beveled in such a way as to appear raised or depressed.

GG_API void GG::FlatRoundedRectangle ( Pt  ul,
Pt  lr,
Clr  color,
Clr  border_color,
unsigned int  corner_radius = 5,
unsigned int  border_thick = 2 
)

Draws a rounded rectangle of the specified thickness. The radius of the circles used to draw the corners is specified by corner_radius. Note that this means the rectangle should be at least 2 * corner_radius on a side, but as with all the other functions, no such check is performed.

GG_API void GG::BeveledRoundedRectangle ( Pt  ul,
Pt  lr,
Clr  color,
Clr  border_color,
bool  up,
unsigned int  corner_radius = 5,
unsigned int  bevel_thick = 2 
)

Like the FlatRoundedRectangle() function, but beveled (raised or depressed).

GG_API void GG::BubbleRectangle ( Pt  ul,
Pt  lr,
Clr  color,
bool  up,
unsigned int  corner_radius = 5 
)

Using the same techniques as in Bubble(), creates a rounded, bubbly rectangle.

template<class E >
EnumMap<E> GG::GetEnumMap (  )  [inline]

Returns a map of the values of an enum to the corresponding string representation of that value.

Definition at line 72 of file Enum.h.

ModalDialogResult GG::ExecuteModalDialog ( std::istream &  eve_definition,
std::istream &  adam_definition,
ButtonHandler  handler 
)

Parses eve_definition and adam_definition, then instantiates and executes a modal dialog. Any buttons ... TODO handler documentation

Wnd* GG::MakeDialog ( std::istream &  eve_definition,
std::istream &  adam_definition,
ButtonHandler  handler 
)

Parses eve_definition and adam_definition, then instantiates and executes a modal dialog. Any buttons ... TODO handler documentation

template<class FlagType >
std::ostream & GG::operator<< ( std::ostream &  os,
Flags< FlagType >  flags 
) [inline]

Writes flags to os in the format "flag1 | flag2 | ... flagn".

Definition at line 365 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator| ( Flags< FlagType >  lhs,
Flags< FlagType >  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-or of lhs and rhs.

Definition at line 384 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator| ( Flags< FlagType >  lhs,
FlagType  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-or of lhs and rhs.

Definition at line 394 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator| ( FlagType  lhs,
Flags< FlagType >  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-or of lhs and rhs.

Definition at line 400 of file Flags.h.

template<class FlagType >
boost::enable_if< is_flag_type<FlagType>, Flags<FlagType>>::type GG::operator| ( FlagType  lhs,
FlagType  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-or of lhs and rhs.

Definition at line 410 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator& ( Flags< FlagType >  lhs,
Flags< FlagType >  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-and of lhs and rhs.

Definition at line 416 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator& ( Flags< FlagType >  lhs,
FlagType  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-and of lhs and rhs.

Definition at line 426 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator& ( FlagType  lhs,
Flags< FlagType >  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-and of lhs and rhs.

Definition at line 432 of file Flags.h.

template<class FlagType >
boost::enable_if< is_flag_type<FlagType>, Flags<FlagType>>::type GG::operator& ( FlagType  lhs,
FlagType  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-and of lhs and rhs.

Definition at line 442 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator^ ( Flags< FlagType >  lhs,
Flags< FlagType >  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-xor of lhs and rhs.

Definition at line 448 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator^ ( Flags< FlagType >  lhs,
FlagType  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-xor of lhs and rhs.

Definition at line 458 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator^ ( FlagType  lhs,
Flags< FlagType >  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-xor of lhs and rhs.

Definition at line 464 of file Flags.h.

template<class FlagType >
boost::enable_if< is_flag_type<FlagType>, Flags<FlagType>>::type GG::operator^ ( FlagType  lhs,
FlagType  rhs 
) [inline]

Returns a Flags object that consists of the bitwise-xor of lhs and rhs.

Definition at line 474 of file Flags.h.

template<class FlagType >
Flags<FlagType> GG::operator~ ( Flags< FlagType >  flags  )  [inline]

Returns a Flags object that consists of all the flags known to FlagSpec<FlagType>::instance() except those in flags.

Definition at line 480 of file Flags.h.

References GG::FlagSpec< FlagType >::begin(), and GG::FlagSpec< FlagType >::end().

template<class FlagType >
boost::enable_if< is_flag_type<FlagType>, Flags<FlagType>>::type GG::operator~ ( FlagType  flag  )  [inline]

Returns a Flags object that consists of all the flags known to FlagSpec<FlagType>::instance() except flag.

Definition at line 498 of file Flags.h.

GG_API std::string GG::RgbaTag ( const Clr &  c  ) 

Returns a string of the form "<rgba r g b a>" from a Clr object with color channels r, b, g, a.

GG_API std::ostream& GG::operator<< ( std::ostream &  os,
const Font::Substring &  substr 
)

Stream output operator for Font::Substring.

GG_API CPSize GG::CodePointIndexOf ( std::size_t  line,
CPSize  index,
const std::vector< Font::LineData > &  line_data 
)

Returns the code point index of the index-th code point on line line within the text represented by line_data. Returns the index of the code point one past the end of the text if line or index are out of bounds.

GG_API StrSize GG::StringIndexOf ( std::size_t  line,
CPSize  index,
const std::vector< Font::LineData > &  line_data 
)

Returns the string index of the index-th code point on line line within the text represented by line_data. Returns the index of the character one past the end of the text if line or index are out of bounds.

GG_API std::pair<std::size_t, CPSize> GG::LinePositionOf ( CPSize  index,
const std::vector< Font::LineData > &  line_data 
)

Returns the line L and the code point index within L of the index-th code point within the text represented by line_data. Returns (std::numeric_limits<std::size_t>::max(), INVALID_CP_SIZE) if index is out of bounds.

GG_API FontManager& GG::GetFontManager (  ) 

Returns the singleton FontManager instance.

Referenced by GG::GUI::GetFont().

GG::GG_EXCEPTION ( FailedFTLibraryInit   ) 

Thrown when initialization of the FreeType library fails.

GG::GG_FLAG_TYPE ( TextFormat   ) 

Text formatting flags.

GG_API bool GG::MatchesOrContains ( const Wnd *  lwnd,
const Wnd *  rwnd 
)

Returns true if lwnd == rwnd or if lwnd contains rwnd

GG::GG_FLAG_TYPE ( ListBoxStyle   ) 

Styles for ListBox controls.

GG::GG_FLAG_TYPE ( MultiEditStyle   ) 

The styles of display and interaction for a MultiEdit.

GG_API PluginManager& GG::GetPluginManager (  ) 

Returns the singleton PluginManager instance.

GG_API bool GG::operator== ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns true if lhs is identical to rhs

Definition at line 129 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API bool GG::operator!= ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns true if lhs differs from rhs

Definition at line 130 of file PtRect.h.

GG_API bool GG::operator< ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns true if lhs.x and lhs.y are both less than the corresponding components of rhs

Definition at line 131 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API bool GG::operator> ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns true if lhs.x and lhs.y are both greater than the corresponding components of rhs

Definition at line 132 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API bool GG::operator<= ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns true if lhs.x and lhs.y are both less than or equal to the corresponding components of rhs

Definition at line 133 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API bool GG::operator>= ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns true if lhs.x and lhs.y are both greater than or equal to the corresponding components of rhs

Definition at line 134 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API Pt GG::operator+ ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns the vector sum of lhs and rhs

Definition at line 135 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API Pt GG::operator- ( const Pt &  lhs,
const Pt &  rhs 
) [inline]

returns the vector difference of lhs and rhs

Definition at line 136 of file PtRect.h.

References GG::Pt::x, and GG::Pt::y.

GG_API std::ostream& GG::operator<< ( std::ostream &  os,
const Pt &  pt 
)

Pt stream-output operator for debug output.

GG_API bool GG::operator== ( const Rect &  lhs,
const Rect &  rhs 
) [inline]

returns true if lhs is identical to rhs

Definition at line 141 of file PtRect.h.

References GG::Rect::lr, GG::Rect::ul, GG::Pt::x, and GG::Pt::y.

GG_API bool GG::operator!= ( const Rect &  lhs,
const Rect &  rhs 
) [inline]

returns true if lhs differs from rhs

Definition at line 144 of file PtRect.h.

GG_API Rect GG::operator+ ( const Rect &  rect,
const Pt &  pt 
) [inline]

returns rect shifted by adding pt to each corner

Definition at line 146 of file PtRect.h.

References GG::Rect::lr, and GG::Rect::ul.

GG_API Rect GG::operator- ( const Rect &  rect,
const Pt &  pt 
) [inline]

returns rect shifted by subtracting pt from each corner

Definition at line 147 of file PtRect.h.

References GG::Rect::lr, and GG::Rect::ul.

GG_API Rect GG::operator+ ( const Pt &  pt,
const Rect &  rect 
) [inline]

returns rect shifted by adding pt to each corner

Definition at line 148 of file PtRect.h.

GG_API Rect GG::operator- ( const Pt &  pt,
const Rect &  rect 
) [inline]

returns rect shifted by subtracting pt from each corner

Definition at line 149 of file PtRect.h.

GG_API std::ostream& GG::operator<< ( std::ostream &  os,
const Rect &  rect 
)

Rect stream-output operator for debug output.

GG_ENUM_MAP_END GG_API void GG::SignalScroll ( const Scroll &  scroll,
bool  stopped 
)

A convenience function that signals scroll's position, via Scroll::ScrolledSignal. If stopped is true, the position is additionally signalled on Scroll::ScrolledAndStoppedSignal.

template<class SigT >
boost::signals::connection GG::Connect ( SigT &  sig,
const typename SigT::slot_type &  _slot,
boost::signals::connect_position  at = boost::signals::at_back 
) [inline]

Connects a signal to a slot functor of the same signature, putting _slot in slot group 0, at position at within group 0. Slot call groups are called in ascending order.

Definition at line 52 of file SignalsAndSlots.h.

Referenced by GG::Spin< T >::Spin().

template<class SigT >
boost::signals::connection GG::Connect ( SigT &  sig,
const typename SigT::slot_type &  _slot,
int  grp,
boost::signals::connect_position  at = boost::signals::at_back 
) [inline]

Connects a signal to a slot functor of the same signature, putting _slot in slot group grp, at position at within group grp. Slot call groups are called in ascending order.

Definition at line 62 of file SignalsAndSlots.h.

GG::GG_FLAG_TYPE ( GraphicStyle   ) 

Styles for StaticGraphic controls.

TextureManager& GG::GetTextureManager (  ) 

Returns the singleton TextureManager instance.

GG_API bool GG::operator== ( const GG::UnicodeCharset lhs,
const GG::UnicodeCharset rhs 
)

Returns true iff all of lhs's and rhs's members compare equal.

GG_API bool GG::operator< ( const GG::UnicodeCharset lhs,
const GG::UnicodeCharset rhs 
)

Returns true iff lhs.m_first_char < rhs.m_first_char.

GG_API const std::vector<UnicodeCharset>& GG::AllUnicodeCharsets (  ) 

Returns a vector containing all defined UnicodeCharset's.

GG_API std::set<UnicodeCharset> GG::UnicodeCharsetsToRender ( const std::string &  str  ) 

Returns the set of the UnicodeCharset's required to render str.

GG_API const UnicodeCharset* GG::CharsetContaining ( boost::uint32_t  c  ) 

Returns the UnicodeCharset in which c can be found, or 0 if no such UnicodeCharset exists.

GG_API const UnicodeCharset* GG::CharsetWithName ( const std::string &  name  ) 

Returns the UnicodeCharset called name, or 0 if no such UnicodeCharset exists.

GG::GG_FLAG_TYPE ( WndFlag   ) 

Wnd creation flags type.


Variable Documentation

GG_API const Alignment GG::ALIGN_NONE

No alignment selected.

GG_API const Alignment GG::ALIGN_VCENTER

Vertically-centered.

GG_API const Alignment GG::ALIGN_TOP

Aligned to top.

GG_API const Alignment GG::ALIGN_BOTTOM

Aligned to bottom.

GG_API const Alignment GG::ALIGN_CENTER

Horizontally-centered.

GG_API const Alignment GG::ALIGN_LEFT

Aligned to left.

GG_API const Alignment GG::ALIGN_RIGHT

Aligned to right.

GG_API const TextFormat GG::FORMAT_NONE

Default format selected.

GG_API const TextFormat GG::FORMAT_VCENTER

Centers text vertically.

GG_API const TextFormat GG::FORMAT_TOP

Top-justifies text.

GG_API const TextFormat GG::FORMAT_BOTTOM

Justifies the text to the bottom of the rectangle.

GG_API const TextFormat GG::FORMAT_CENTER

Centers text horizontally in the rectangle.

GG_API const TextFormat GG::FORMAT_LEFT

Aligns text to the left.

GG_API const TextFormat GG::FORMAT_RIGHT

Aligns text to the right.

GG_API const TextFormat GG::FORMAT_WORDBREAK

Breaks words. Lines are automatically broken between words if a word would extend past the edge of the control's bounding rectangle. As always, a '\n' also breaks the line.

GG_API const TextFormat GG::FORMAT_LINEWRAP

Lines are automatically broken when the next glyph would be drawn outside the the text rectangle. As always, a '\n' also breaks the line.

GG_API const TextFormat GG::FORMAT_IGNORETAGS

Text formatting tags (e.g. <rgba 0 0 0 255>) are treated as regular text.

GG_API const ListBoxStyle GG::LIST_NONE

Default style selected.

GG_API const ListBoxStyle GG::LIST_VCENTER

Cells are aligned with the top of the list box control.

GG_API const ListBoxStyle GG::LIST_TOP

Cells are aligned with the top of the list box control. This is the default.

GG_API const ListBoxStyle GG::LIST_BOTTOM

Cells are aligned with the bottom of the list box control.

GG_API const ListBoxStyle GG::LIST_CENTER

Cells are center-aligned.

GG_API const ListBoxStyle GG::LIST_LEFT

Cells are left-aligned. This is the default.

GG_API const ListBoxStyle GG::LIST_RIGHT

Cells are right-aligned.

GG_API const ListBoxStyle GG::LIST_NOSORT

List items are not sorted. Items are sorted by default. When used with drag-and-drop, this style allows arbitrary rearrangement of list elements by dragging.

GG_API const ListBoxStyle GG::LIST_SORTDESCENDING

Items are sorted based on item text in descending order. Ascending order is the default.

GG_API const ListBoxStyle GG::LIST_NOSEL

No selection, dragging, or dropping allowed. This makes the list box effectively read-only.

GG_API const ListBoxStyle GG::LIST_SINGLESEL

Only one item at a time can be selected. By default, multiple items may be selected.

GG_API const ListBoxStyle GG::LIST_QUICKSEL

Each click toggles an item without affecting any others; ignored when used with LIST_SINGLESEL.

GG_API const ListBoxStyle GG::LIST_USERDELETE

Allows user to remove selected items by pressing the delete key.

GG_API const ListBoxStyle GG::LIST_BROWSEUPDATES

Causes a signal to be emitted whenever the mouse moves over ("browses") a row.

GG_API const MultiEditStyle GG::MULTI_NONE

Default style selected.

GG_API const MultiEditStyle GG::MULTI_WORDBREAK

Breaks words. Lines are automatically broken between words if a word would extend past the edge of the control's bounding rectangle. (As always, a '\n' also breaks the line.).

GG_API const MultiEditStyle GG::MULTI_LINEWRAP

Lines are automatically broken when the next character (or space) would be drawn outside the the text rectangle.

GG_API const MultiEditStyle GG::MULTI_VCENTER

Vertically centers text.

GG_API const MultiEditStyle GG::MULTI_TOP

Aligns text to the top.

GG_API const MultiEditStyle GG::MULTI_BOTTOM

Aligns text to the bottom.

GG_API const MultiEditStyle GG::MULTI_CENTER

Centers text.

GG_API const MultiEditStyle GG::MULTI_LEFT

Aligns text to the left.

GG_API const MultiEditStyle GG::MULTI_RIGHT

Aligns text to the right.

GG_API const MultiEditStyle GG::MULTI_READ_ONLY

The control is not user-interactive, only used to display text. Text can still be programmatically altered and selected.

GG_API const MultiEditStyle GG::MULTI_TERMINAL_STYLE

The text in the control is displayed so that the bottom is visible, instead of the top.

GG_API const MultiEditStyle GG::MULTI_INTEGRAL_HEIGHT

The height of the control will always be a multiple of the height of one row (fractions rounded down).

GG_API const MultiEditStyle GG::MULTI_NO_VSCROLL

Vertical scrolling is not available, and there is no vertical scroll bar.

GG_API const MultiEditStyle GG::MULTI_NO_HSCROLL

Horizontal scrolling is not available, and there is no horizontal scroll bar.

GG_API const Flags<MultiEditStyle> GG::MULTI_NO_SCROLL

Scrolls are not used for this control.

GG_API const GraphicStyle GG::GRAPHIC_NONE

Default style selected.

GG_API const GraphicStyle GG::GRAPHIC_VCENTER

Centers graphic vertically.

GG_API const GraphicStyle GG::GRAPHIC_TOP

Top-justifies graphic.

GG_API const GraphicStyle GG::GRAPHIC_BOTTOM

Justifies the graphic to the bottom of the rectangle.

GG_API const GraphicStyle GG::GRAPHIC_CENTER

Centers graphic horizontally in the rectangle.

GG_API const GraphicStyle GG::GRAPHIC_LEFT

Aligns graphic to the left.

GG_API const GraphicStyle GG::GRAPHIC_RIGHT

Aligns graphic to the right.

GG_API const GraphicStyle GG::GRAPHIC_FITGRAPHIC

Scales graphic to fit within the StaticGraphic's window dimensions.

GG_API const GraphicStyle GG::GRAPHIC_SHRINKFIT

Like GRAPHIC_FITGRAPHIC, but this one only scales the image if it otherwise would not fit in the window.

GG_API const GraphicStyle GG::GRAPHIC_PROPSCALE

If GRAPHIC_FITGRAPHIC or GRAPHIC_SHRINKFIT is used, this ensures scaling is done proportionally.

GG_API const WndFlag GG::INTERACTIVE

Clicks hit this window, rather than passing through it, and mouse-overs detect that they are over this window.

GG_API const WndFlag GG::REPEAT_BUTTON_DOWN

When a mouse button is held down over this window, it expects to receive multiple *ButtonDown messages.

GG_API const WndFlag GG::DRAGABLE

This window can be dragged around independently.

GG_API const WndFlag GG::RESIZABLE

This window can be resized by the user, with the mouse.

GG_API const WndFlag GG::ONTOP

This windows is an "on-top" window, and will always appear above all non-on-top and non-modal windows. Note that this only applies to top-level (Parent()-less) Wnds.

GG_API const WndFlag GG::MODAL

This window is modal; while it is active, no other windows are interactive. Modal windows are considered above "on-top" windows, and should not be flagged as OnTop. Note that this only applies to top-level (Parent()-less) Wnds.

GG_API const ModKey GG::MOD_KEY_NONE

No modifier key.

GG_API const ModKey GG::MOD_KEY_LSHIFT

The left Shift key.

GG_API const ModKey GG::MOD_KEY_RSHIFT

The right Shift key.

GG_API const ModKey GG::MOD_KEY_LCTRL

The left Control key.

GG_API const ModKey GG::MOD_KEY_RCTRL

The right Control key.

GG_API const ModKey GG::MOD_KEY_LALT

The left Alt key.

GG_API const ModKey GG::MOD_KEY_RALT

The right Alt key.

GG_API const ModKey GG::MOD_KEY_LMETA

The left Meta key.

GG_API const ModKey GG::MOD_KEY_RMETA

The right Meta key.

GG_API const ModKey GG::MOD_KEY_NUM

The Num Lock key.

GG_API const ModKey GG::MOD_KEY_CAPS

The Caps Lock key.

GG_API const ModKey GG::MOD_KEY_MODE

The Mode key.

GG_API const Flags<ModKey> GG::MOD_KEY_CTRL

Either Control key.

GG_API const Flags<ModKey> GG::MOD_KEY_SHIFT

Either Shift key.

GG_API const Flags<ModKey> GG::MOD_KEY_ALT

Either Alt key.

GG_API const Flags<ModKey> GG::MOD_KEY_META

Either Meta key.


Generated on Sat Mar 26 07:08:37 2011 for GG by  doxygen 1.5.9