Pyrogenesis  trunk
Classes | Namespaces | Macros | Functions | Variables
CGUI.cpp File Reference
#include "precompiled.h"
#include "CGUI.h"
#include "graphics/Canvas2D.h"
#include "gui/IGUIScrollBar.h"
#include "gui/ObjectBases/IGUIObject.h"
#include "gui/ObjectTypes/CGUIDummyObject.h"
#include "gui/ObjectTypes/CTooltip.h"
#include "gui/Scripting/ScriptFunctions.h"
#include "gui/Scripting/JSInterface_GUIProxy.h"
#include "i18n/L10n.h"
#include "lib/allocators/DynamicArena.h"
#include "lib/allocators/STLAllocators.h"
#include "lib/bits.h"
#include "lib/input.h"
#include "lib/sysdep/sysdep.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "maths/Size2D.h"
#include "ps/CLogger.h"
#include "ps/Filesystem.h"
#include "ps/GameSetup/Config.h"
#include "ps/Globals.h"
#include "ps/Hotkey.h"
#include "ps/Profile.h"
#include "ps/Pyrogenesis.h"
#include "ps/VideoMode.h"
#include "ps/XML/Xeromyces.h"
#include "scriptinterface/ScriptContext.h"
#include "scriptinterface/ScriptInterface.h"
#include <string>
#include <unordered_map>
#include <unordered_set>
Include dependency graph for CGUI.cpp:

Classes

struct  anonymous_namespace{CGUI.cpp}::VisibleObject
 

Namespaces

 anonymous_namespace{CGUI.cpp}
 

Macros

#define ELMT(x)   int elmt_##x = xmb.GetElementID(#x)
 
#define ATTR(x)   int attr_##x = xmb.GetAttributeID(#x)
 
#define ELMT(x)   int elmt_##x = xmb.GetElementID(#x)
 
#define ATTR(x)   int attr_##x = xmb.GetAttributeID(#x)
 

Functions

template<class Container >
void anonymous_namespace{CGUI.cpp}::CollectVisibleObjectsRecursively (const std::vector< IGUIObject *> &objects, Container *visibleObjects)
 

Variables

const double SELECT_DBLCLICK_RATE = 0.5
 
const u32 MAX_OBJECT_DEPTH = 100
 

Macro Definition Documentation

◆ ATTR [1/2]

#define ATTR (   x)    int attr_##x = xmb.GetAttributeID(#x)

◆ ATTR [2/2]

#define ATTR (   x)    int attr_##x = xmb.GetAttributeID(#x)

◆ ELMT [1/2]

#define ELMT (   x)    int elmt_##x = xmb.GetElementID(#x)

◆ ELMT [2/2]

#define ELMT (   x)    int elmt_##x = xmb.GetElementID(#x)

Variable Documentation

◆ MAX_OBJECT_DEPTH

const u32 MAX_OBJECT_DEPTH = 100

◆ SELECT_DBLCLICK_RATE

const double SELECT_DBLCLICK_RATE = 0.5