|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
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
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 |
const double CooldownTime;
bool g_GameRestarted;
bool g_TerrainModified;
const float GreyscaleDotColor[ 4 ];
const float GreyscaleInterpColor0[ 4 ];
const float GreyscaleInterpColor1[ 4 ];
JSClass GUIClass;
static float m_scaleX;
static float m_scaleY;
const double SELECT_DBLCLICK_RATE;
static const wchar_t TagEnd;
static const wchar_t TagStart;
const GLint TexScale1[ 3 ];
const GLint TexScale2[ 3 ];
const GLint TexScale4[ 3 ];
Method Detail |
template< > bool __ParseString< EVAlign >( const CStr& Value, EVAlign& Output );
template< > bool __ParseString< EAlign >( const CStr& Value, EAlign& Output );
template< > bool __ParseString< CGUIString >( const CStr& Value, CGUIString& Output );
template< typename T > bool __ParseString( const CStr& Value, T& tOutput );
template< > bool __ParseString< CPos >( const CStr& Value, CPos& Output );
template< > bool __ParseString< CGUIList >( const CStr& UNUSED( Value ), CGUIList& UNUSED( Output ) );
template< > bool __ParseString< CGUISpriteInstance >( const CStr& Value, CGUISpriteInstance& Output );
template< > bool __ParseString< CStrW >( const CStr& Value, CStrW& Output );
template< > bool __ParseString< CStr >( const CStr& Value, CStr& Output );
template< > bool __ParseString< CColor >( const CStr& Value, CColor& Output );
template< > bool __ParseString< CSize >( const CStr& Value, CSize& Output );
template< > bool __ParseString< bool >( const CStr& Value, bool& Output );
template< > bool __ParseString< int >( const CStr& Value, int& Output );
template< > bool __ParseString< float >( const CStr& Value, float& Output );
template< > bool __ParseString< CRect >( const CStr& Value, CRect& Output );
template< > bool __ParseString< CClientArea >( const CStr& Value, CClientArea& Output );
template< typename T > void CheckType( const IGUIObject* obj, const CStr& setting );
DECLARE_ERROR( PS_SYNTACTICAL_FAIL );
DECLARE_ERROR( PS_SETTING_FAIL );
DECLARE_ERROR( PS_LEXICAL_FAIL );
DECLARE_ERROR( PS_VALUE_INVALID );
DECLARE_ERROR( PS_OBJECT_FAIL );
DECLARE_ERROR( PS_NEEDS_NAME );
DECLARE_ERROR( PS_NAME_TAKEN );
DECLARE_ERROR( PS_NEEDS_PGUI );
DECLARE_ERROR( PS_NAME_AMBIGUITY );
DEFINE_ERROR( PS_VALUE_INVALID,"Value provided is syntactically incorrect" );
DEFINE_ERROR( PS_NEEDS_NAME,"An object are trying to fit into a GUI without a name" );
DEFINE_ERROR( PS_LEXICAL_FAIL,"PS_LEXICAL_FAIL" );
DEFINE_ERROR( PS_SYNTACTICAL_FAIL,"PS_SYNTACTICAL_FAIL" );
DEFINE_ERROR( PS_NAME_TAKEN,"Reference name is taken" );
DEFINE_ERROR( PS_OBJECT_FAIL,"Object provided is null" );
DEFINE_ERROR( PS_NAME_AMBIGUITY,"Two or more objects are sharing name" );
DEFINE_ERROR( PS_NEEDS_PGUI,"m_pGUI is NULL when needed for a requested operation" );
DEFINE_ERROR( PS_SETTING_FAIL,"Setting does not exist" );
ERROR_GROUP( GUI );
ERROR_TYPE( GUI, JSOpenFailed );
static bool GetTooltip( IGUIObject* obj, CStr& style );
static int GetTooltipDelay( CStr& style, CGUI* gui );
InReaction gui_handler( const SDL_Event_* ev );
void guiLoadIdentity();
static unsigned int ScaleColor( unsigned int color, float x );
Symbol Detail |
#define g_GUI CGUI::GetSingleton()
#define GUIRenderer_h
#define GUITYPE_IGNORE_CGUISpriteInstance
#define INCLUDED_CBUTTON
#define INCLUDED_CCHECKBOX
#define INCLUDED_CDROPDOWN
#define INCLUDED_CGUI
#define INCLUDED_CGUILIST
#define INCLUDED_CGUISCROLLBARSTYLE
#define INCLUDED_CGUISCROLLBARVERTICAL
#define INCLUDED_CGUISPRITE
#define INCLUDED_CIMAGE
#define INCLUDED_CINPUT
#define INCLUDED_CLIST
#define INCLUDED_CPROGRESSBAR
#define INCLUDED_CRADIOBUTTON
#define INCLUDED_CTEXT
#define INCLUDED_CTOOLTIP
#define INCLUDED_GUI
#define INCLUDED_GUIBASE
#define INCLUDED_GUITEXT
#define INCLUDED_GUITOOLTIP
#define INCLUDED_GUIUTIL
#define INCLUDED_IGUIBUTTONBEHAVIOR
#define INCLUDED_IGUIOBJECT
#define INCLUDED_IGUISCROLLBAR
#define INCLUDED_IGUISCROLLBAROWNER
#define INCLUDED_IGUITEXTOWNER
#define INCLUDED_MINIMAP
Macro Detail |
#define ATTR(x) int attr_##x = pFile->GetAttributeID(#x)
#define BOOL(xml, mem) if (attr_name == xml) { effects.m_##mem = true; } else
#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
#define ELMT(x) int elmt_##x = pFile->GetElementID(#x)
#define GUI_OBJECT(obj) public: static IGUIObject *ConstructObject() { return new obj(); }
#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
#define X(n) (n##f/2.0f + 0.5f)
|
0 A.D.
Generated on September 04, 2007 at 18:13 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |