Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

gui
(gui globals)

   in CButton.h
   in CCheckBox.h
   in CDropDown.h
   in CGUI.h
   in CGUIList.h
   in CGUIScrollBarStyle.h
   in CGUIScrollBarVertical.h
   in CGUISprite.h
   in CImage.h
   in CInput.h
   in CList.h
   in CProgressBar.h
   in CRadioButton.h
   in CText.h
   in CTooltip.h
   in GUI.h
   in GUIbase.h
   in GUIRenderer.h
   in GUItext.h
   in GUITooltip.h
   in GUIutil.h
   in IGUIButtonBehavior.h
   in IGUIObject.h
   in IGUIScrollBar.h
   in IGUIScrollBarOwner.h
   in IGUITextOwner.h
   in MiniMap.h
   in CGUI.h
   in GUIbase.h
   in GUIutil.h
   in CGUI.cpp
   in GUIRenderer.cpp
   in GUIutil.cpp
   in CGUI.cpp
   in GUIbase.cpp
   in GUIRenderer.cpp
   in GUItext.cpp
   in GUITooltip.cpp
   in GUIutil.cpp
   in MiniMap.cpp

(gui globals)


Field Summary
 const double CooldownTime
          See GUITooltip.cpp
 bool g_GameRestarted
          See MiniMap.cpp
 bool g_TerrainModified
          See MiniMap.cpp
 const float[ 4 ] GreyscaleDotColor
          See GUIRenderer.cpp
 const float[ 4 ] GreyscaleInterpColor0
          See GUIRenderer.cpp
 const float[ 4 ] GreyscaleInterpColor1
          See GUIRenderer.cpp
 JSClass GUIClass
          See CGUI.cpp
 static float m_scaleX
          See MiniMap.cpp
 static float m_scaleY
          See MiniMap.cpp
 const double SELECT_DBLCLICK_RATE
          See CGUI.cpp
 static const wchar_t TagEnd
          See GUItext.cpp
 static const wchar_t TagStart
          See GUItext.cpp
 const GLint[ 3 ] TexScale1
          See GUIRenderer.cpp
 const GLint[ 3 ] TexScale2
          See GUIRenderer.cpp
 const GLint[ 3 ] TexScale4
          See GUIRenderer.cpp
 
Method Summary
 template< > bool __ParseString< EVAlign >( const CStr& Value, EVAlign& Output )
          See GUIutil.cpp
 template< > bool __ParseString< EAlign >( const CStr& Value, EAlign& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CGUIString >( const CStr& Value, CGUIString& Output )
          See GUIutil.cpp
 template< typename T > bool __ParseString( const CStr& Value, T& tOutput )
          See GUIutil.h
 template< > bool __ParseString< CPos >( const CStr& Value, CPos& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CGUIList >( const CStr& UNUSED( Value ), CGUIList& UNUSED( Output ) )
          See GUIutil.cpp
 template< > bool __ParseString< CGUISpriteInstance >( const CStr& Value, CGUISpriteInstance& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CStrW >( const CStr& Value, CStrW& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CStr >( const CStr& Value, CStr& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CColor >( const CStr& Value, CColor& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CSize >( const CStr& Value, CSize& Output )
          See GUIutil.cpp
 template< > bool __ParseString< bool >( const CStr& Value, bool& Output )
          See GUIutil.cpp
 template< > bool __ParseString< int >( const CStr& Value, int& Output )
          See GUIutil.cpp
 template< > bool __ParseString< float >( const CStr& Value, float& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CRect >( const CStr& Value, CRect& Output )
          See GUIutil.cpp
 template< > bool __ParseString< CClientArea >( const CStr& Value, CClientArea& Output )
          See GUIutil.cpp
 template< typename T > void CheckType( const IGUIObject* obj, const CStr& setting )
          See GUIutil.h
  DECLARE_ERROR( PS_SYNTACTICAL_FAIL )
          See GUIbase.h
  DECLARE_ERROR( PS_SETTING_FAIL )
          See GUIbase.h
  DECLARE_ERROR( PS_LEXICAL_FAIL )
          See GUIbase.h
  DECLARE_ERROR( PS_VALUE_INVALID )
          See GUIbase.h
  DECLARE_ERROR( PS_OBJECT_FAIL )
          See GUIbase.h
  DECLARE_ERROR( PS_NEEDS_NAME )
          See GUIbase.h
  DECLARE_ERROR( PS_NAME_TAKEN )
          See GUIbase.h
  DECLARE_ERROR( PS_NEEDS_PGUI )
          See GUIbase.h
  DECLARE_ERROR( PS_NAME_AMBIGUITY )
          See GUIbase.h
  DEFINE_ERROR( PS_VALUE_INVALID,"Value provided is syntactically incorrect" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_NEEDS_NAME,"An object are trying to fit into a GUI without a name" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_LEXICAL_FAIL,"PS_LEXICAL_FAIL" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_SYNTACTICAL_FAIL,"PS_SYNTACTICAL_FAIL" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_NAME_TAKEN,"Reference name is taken" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_OBJECT_FAIL,"Object provided is null" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_NAME_AMBIGUITY,"Two or more objects are sharing name" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_NEEDS_PGUI,"m_pGUI is NULL when needed for a requested operation" )
          See GUIbase.cpp
  DEFINE_ERROR( PS_SETTING_FAIL,"Setting does not exist" )
          See GUIbase.cpp
  ERROR_GROUP( GUI )
          See CGUI.h
  ERROR_TYPE( GUI, JSOpenFailed )
          See CGUI.h
 static bool GetTooltip( IGUIObject* obj, CStr& style )
          See GUITooltip.cpp
 static int GetTooltipDelay( CStr& style, CGUI* gui )
          See GUITooltip.cpp
 InReaction gui_handler( const SDL_Event_* ev )
          See CGUI.cpp
 void guiLoadIdentity()
          See GUIutil.cpp
 static unsigned int ScaleColor( unsigned int color, float x )
          See MiniMap.cpp
 
Symbol Summary
 #define g_GUI CGUI::GetSingleton()
          See GUIbase.h
 #define GUIRenderer_h
          See GUIRenderer.h
 #define GUITYPE_IGNORE_CGUISpriteInstance
          See GUIutil.cpp
 #define INCLUDED_CBUTTON
          See CButton.h
 #define INCLUDED_CCHECKBOX
          See CCheckBox.h
 #define INCLUDED_CDROPDOWN
          See CDropDown.h
 #define INCLUDED_CGUI
          See CGUI.h
 #define INCLUDED_CGUILIST
          See CGUIList.h
 #define INCLUDED_CGUISCROLLBARSTYLE
          See CGUIScrollBarStyle.h
 #define INCLUDED_CGUISCROLLBARVERTICAL
          See CGUIScrollBarVertical.h
 #define INCLUDED_CGUISPRITE
          See CGUISprite.h
 #define INCLUDED_CIMAGE
          See CImage.h
 #define INCLUDED_CINPUT
          See CInput.h
 #define INCLUDED_CLIST
          See CList.h
 #define INCLUDED_CPROGRESSBAR
          See CProgressBar.h
 #define INCLUDED_CRADIOBUTTON
          See CRadioButton.h
 #define INCLUDED_CTEXT
          See CText.h
 #define INCLUDED_CTOOLTIP
          See CTooltip.h
 #define INCLUDED_GUI
          See GUI.h
 #define INCLUDED_GUIBASE
          See GUIbase.h
 #define INCLUDED_GUITEXT
          See GUItext.h
 #define INCLUDED_GUITOOLTIP
          See GUITooltip.h
 #define INCLUDED_GUIUTIL
          See GUIutil.h
 #define INCLUDED_IGUIBUTTONBEHAVIOR
          See IGUIButtonBehavior.h
 #define INCLUDED_IGUIOBJECT
          See IGUIObject.h
 #define INCLUDED_IGUISCROLLBAR
          See IGUIScrollBar.h
 #define INCLUDED_IGUISCROLLBAROWNER
          See IGUIScrollBarOwner.h
 #define INCLUDED_IGUITEXTOWNER
          See IGUITextOwner.h
 #define INCLUDED_MINIMAP
          See MiniMap.h
 
Macro Summary
 #define ATTR(x) int attr_##x = pFile->GetAttributeID(#x)
          See CGUI.cpp
 #define BOOL(xml, mem) if (attr_name == xml) { effects.m_##mem = true } else
          See CGUI.cpp
 #define COLOR(xml, mem, alpha) if (attr_name == xml) { CColor color if (!GUI::ParseColor(attr_value, color, alpha)) ReportParseError("Error parsing '%s' (\"%s\")", attr_name.c_str(), attr_value.c_str()) else effects.m_##mem = color } else
          See CGUI.cpp
 #define ELMT(x) int elmt_##x = pFile->GetElementID(#x)
          See CGUI.cpp
 #define GUI_OBJECT(obj) public: static IGUIObject *ConstructObject() { return new obj() }
          See GUIbase.h
 #define RANGE(lo, hi) c.r >= lo && c.r <= hi && c.g >= lo && c.g <= hi && c.b >= lo && c.b <= hi && c.a >= lo && c.a <= hi
          See GUIRenderer.cpp
 #define X(n) (n##f/2.0f + 0.5f)
          See GUIRenderer.cpp
 

Field Detail

CooldownTime

 const double CooldownTime;
See GUITooltip.cpp.

g_GameRestarted

 bool g_GameRestarted;
See MiniMap.cpp.

g_TerrainModified

 bool g_TerrainModified;
See MiniMap.cpp.

GreyscaleDotColor

 const float GreyscaleDotColor[ 4 ];
See GUIRenderer.cpp.

GreyscaleInterpColor0

 const float GreyscaleInterpColor0[ 4 ];
See GUIRenderer.cpp.

GreyscaleInterpColor1

 const float GreyscaleInterpColor1[ 4 ];
See GUIRenderer.cpp.

GUIClass

 JSClass GUIClass;
See CGUI.cpp.

m_scaleX

 static float m_scaleX;
See MiniMap.cpp.

m_scaleY

 static float m_scaleY;
See MiniMap.cpp.

SELECT_DBLCLICK_RATE

 const double SELECT_DBLCLICK_RATE;
See CGUI.cpp.

TagEnd

 static const wchar_t TagEnd;
See GUItext.cpp.

TagStart

 static const wchar_t TagStart;
See GUItext.cpp.

TexScale1

 const GLint TexScale1[ 3 ];
See GUIRenderer.cpp.

TexScale2

 const GLint TexScale2[ 3 ];
See GUIRenderer.cpp.

TexScale4

 const GLint TexScale4[ 3 ];
See GUIRenderer.cpp.


Method Detail

__ParseString

 template< > bool __ParseString< EVAlign >( const CStr& Value, EVAlign& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< EAlign >( const CStr& Value, EAlign& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CGUIString >( const CStr& Value, CGUIString& Output );
See GUIutil.cpp.

__ParseString

 template< typename T > bool __ParseString( const CStr& Value, T& tOutput );
See GUIutil.h.

__ParseString

 template< > bool __ParseString< CPos >( const CStr& Value, CPos& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CGUIList >( const CStr& UNUSED( Value ), CGUIList& UNUSED( Output ) );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CGUISpriteInstance >( const CStr& Value, CGUISpriteInstance& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CStrW >( const CStr& Value, CStrW& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CStr >( const CStr& Value, CStr& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CColor >( const CStr& Value, CColor& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CSize >( const CStr& Value, CSize& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< bool >( const CStr& Value, bool& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< int >( const CStr& Value, int& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< float >( const CStr& Value, float& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CRect >( const CStr& Value, CRect& Output );
See GUIutil.cpp.

__ParseString

 template< > bool __ParseString< CClientArea >( const CStr& Value, CClientArea& Output );
See GUIutil.cpp.

CheckType

 template< typename T > void CheckType( const IGUIObject* obj, const CStr& setting );
See GUIutil.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_SYNTACTICAL_FAIL );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_SETTING_FAIL );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_LEXICAL_FAIL );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_VALUE_INVALID );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_OBJECT_FAIL );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_NEEDS_NAME );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_NAME_TAKEN );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_NEEDS_PGUI );
See GUIbase.h.

DECLARE_ERROR

 DECLARE_ERROR( PS_NAME_AMBIGUITY );
See GUIbase.h.

DEFINE_ERROR

 DEFINE_ERROR( PS_VALUE_INVALID,"Value provided is syntactically incorrect" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_NEEDS_NAME,"An object are trying to fit into a GUI without a name" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_LEXICAL_FAIL,"PS_LEXICAL_FAIL" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_SYNTACTICAL_FAIL,"PS_SYNTACTICAL_FAIL" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_NAME_TAKEN,"Reference name is taken" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_OBJECT_FAIL,"Object provided is null" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_NAME_AMBIGUITY,"Two or more objects are sharing name" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_NEEDS_PGUI,"m_pGUI is NULL when needed for a requested operation" );
See GUIbase.cpp.

DEFINE_ERROR

 DEFINE_ERROR( PS_SETTING_FAIL,"Setting does not exist" );
See GUIbase.cpp.

ERROR_GROUP

 ERROR_GROUP( GUI );
See CGUI.h.

ERROR_TYPE

 ERROR_TYPE( GUI, JSOpenFailed );
See CGUI.h.

GetTooltip

 static bool GetTooltip( IGUIObject* obj, CStr& style );
See GUITooltip.cpp.

GetTooltipDelay

 static int GetTooltipDelay( CStr& style, CGUI* gui );
See GUITooltip.cpp.

gui_handler

 InReaction gui_handler( const SDL_Event_* ev );
See CGUI.cpp.

guiLoadIdentity

 void guiLoadIdentity();
See GUIutil.cpp.

ScaleColor

 static unsigned int ScaleColor( unsigned int color, float x );
See MiniMap.cpp.


Symbol Detail

g_GUI

 #define g_GUI CGUI::GetSingleton()
See GUIbase.h.

GUIRenderer_h

 #define GUIRenderer_h 
See GUIRenderer.h.

GUITYPE_IGNORE_CGUISpriteInstance

 #define GUITYPE_IGNORE_CGUISpriteInstance 
See GUIutil.cpp.

INCLUDED_CBUTTON

 #define INCLUDED_CBUTTON 
See CButton.h.

INCLUDED_CCHECKBOX

 #define INCLUDED_CCHECKBOX 
See CCheckBox.h.

INCLUDED_CDROPDOWN

 #define INCLUDED_CDROPDOWN 
See CDropDown.h.

INCLUDED_CGUI

 #define INCLUDED_CGUI 
See CGUI.h.

INCLUDED_CGUILIST

 #define INCLUDED_CGUILIST 
See CGUIList.h.

INCLUDED_CGUISCROLLBARSTYLE

 #define INCLUDED_CGUISCROLLBARSTYLE 
See CGUIScrollBarStyle.h.

INCLUDED_CGUISCROLLBARVERTICAL

 #define INCLUDED_CGUISCROLLBARVERTICAL 
See CGUIScrollBarVertical.h.

INCLUDED_CGUISPRITE

 #define INCLUDED_CGUISPRITE 
See CGUISprite.h.

INCLUDED_CIMAGE

 #define INCLUDED_CIMAGE 
See CImage.h.

INCLUDED_CINPUT

 #define INCLUDED_CINPUT 
See CInput.h.

INCLUDED_CLIST

 #define INCLUDED_CLIST 
See CList.h.

INCLUDED_CPROGRESSBAR

 #define INCLUDED_CPROGRESSBAR 
See CProgressBar.h.

INCLUDED_CRADIOBUTTON

 #define INCLUDED_CRADIOBUTTON 
See CRadioButton.h.

INCLUDED_CTEXT

 #define INCLUDED_CTEXT 
See CText.h.

INCLUDED_CTOOLTIP

 #define INCLUDED_CTOOLTIP 
See CTooltip.h.

INCLUDED_GUI

 #define INCLUDED_GUI 
See GUI.h.

INCLUDED_GUIBASE

 #define INCLUDED_GUIBASE 
See GUIbase.h.

INCLUDED_GUITEXT

 #define INCLUDED_GUITEXT 
See GUItext.h.

INCLUDED_GUITOOLTIP

 #define INCLUDED_GUITOOLTIP 
See GUITooltip.h.

INCLUDED_GUIUTIL

 #define INCLUDED_GUIUTIL 
See GUIutil.h.

INCLUDED_IGUIBUTTONBEHAVIOR

 #define INCLUDED_IGUIBUTTONBEHAVIOR 
See IGUIButtonBehavior.h.

INCLUDED_IGUIOBJECT

 #define INCLUDED_IGUIOBJECT 
See IGUIObject.h.

INCLUDED_IGUISCROLLBAR

 #define INCLUDED_IGUISCROLLBAR 
See IGUIScrollBar.h.

INCLUDED_IGUISCROLLBAROWNER

 #define INCLUDED_IGUISCROLLBAROWNER 
See IGUIScrollBarOwner.h.

INCLUDED_IGUITEXTOWNER

 #define INCLUDED_IGUITEXTOWNER 
See IGUITextOwner.h.

INCLUDED_MINIMAP

 #define INCLUDED_MINIMAP 
See MiniMap.h.


Macro Detail

ATTR

 #define ATTR(x) int attr_##x = pFile->GetAttributeID(#x)
See CGUI.cpp.

BOOL

 #define BOOL(xml, mem) if (attr_name == xml) { effects.m_##mem = true; } else
See CGUI.cpp.

COLOR

 #define COLOR(xml, mem, alpha) if (attr_name == xml) { CColor color; if (!GUI::ParseColor(attr_value, color, alpha)) ReportParseError("Error parsing '%s' (\"%s\")", attr_name.c_str(), attr_value.c_str()); else effects.m_##mem = color; } else
See CGUI.cpp.

ELMT

 #define ELMT(x) int elmt_##x = pFile->GetElementID(#x)
See CGUI.cpp.

GUI_OBJECT

 #define GUI_OBJECT(obj) public:																	static IGUIObject *ConstructObject() { return new obj(); }
See GUIbase.h.

RANGE

 #define RANGE(lo, hi) c.r >= lo && c.r <= hi && c.g >= lo && c.g <= hi && c.b >= lo && c.b <= hi && c.a >= lo && c.a <= hi
See GUIRenderer.cpp.

X

 #define X(n) (n##f/2.0f + 0.5f)
See GUIRenderer.cpp.

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD