![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#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>
Classes | |
| struct | anonymous_namespace{CGUI.cpp}::VisibleObject |
Namespaces | |
| namespace | 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 |
| #define ATTR | ( | x | ) | int attr_##x = xmb.GetAttributeID(#x) |
| #define ATTR | ( | x | ) | int attr_##x = xmb.GetAttributeID(#x) |
| #define ELMT | ( | x | ) | int elmt_##x = xmb.GetElementID(#x) |
| #define ELMT | ( | x | ) | int elmt_##x = xmb.GetElementID(#x) |
| const u32 MAX_OBJECT_DEPTH = 100 |
| const double SELECT_DBLCLICK_RATE = 0.5 |