29 #include "CEGUI/CEGUI.h"
30 #include "CEGUI/ScriptModules/Lua/ScriptModule.h"
31 #include "CEGUI/ScriptModules/Lua/Functor.h"
32 #include "CEGUI/RenderingContext.h"
33 #include "CEGUI/RenderingWindow.h"
34 #include "CEGUI/GeometryBuffer.h"
35 #include "CEGUI/Vertex.h"
36 #include "CEGUI/RenderEffect.h"
37 #include "CEGUI/PropertyHelper.h"
40 #define __operator_increment operator++
41 #define __operator_decrement operator--
42 #define __operator_dereference operator*
44 #define LuaFunctorSubscribeEvent CEGUI::LuaFunctor::SubscribeEvent
47 #define CEGUIDeadException(e) &
49 #if defined(_MSC_VER) && !defined(snprintf)
50 # define snprintf _snprintf
54 #define tolua_pushutf8string(x,y) tolua_pushstring(x,y)
55 #define tolua_isutf8string tolua_isstring
56 #define tolua_isutf8stringarray tolua_isstringarray
57 #define tolua_pushfieldutf8string(L,lo,idx,s) tolua_pushfieldstring(L, lo, idx, s)
58 #define tolua_toutf8string tolua_tostring
59 #define tolua_tofieldutf8string tolua_tofieldstring
77 bool connected()
const;
84 void ceguiLua_Thumb_getHorzRange(
Thumb* wnd,
float* min,
float* max);
85 void ceguiLua_Thumb_getVertRange(
Thumb* wnd,
float* min,
float* max);
91 ListboxTextItem* ceguiLua_createListboxTextItem(
const String& text, uint item_id,
void* item_data,
bool disabled,
bool auto_delete);
96 TreeItem* ceguiLua_createTreeItem(
const String& text, uint item_id,
void* item_data,
bool disabled,
bool auto_delete);
112 template <
typename T>
113 inline PropertyIterator ceguiLua_getPropertyIterator(
const T*
self)
115 return static_cast<const PropertySet*
>(
self)->getPropertyIterator();
118 template <
typename T>
119 inline EventIterator ceguiLua_getEventIterator(
const T*
self)
121 return static_cast<const EventSet*
>(
self)->getEventIterator();
128 typedef std::ofstream FileStream;
129 void ceguiLua_FileStream_open(FileStream*,
const char* filename);
138 static float stringToFloat(
const String& str);
139 static unsigned int stringToUint(
const String& str);
140 static bool stringToBool(
const String& str);
144 static const Image* stringToImage(
const String& str);
153 static String floatToString(
float val);
154 static String uintToString(
unsigned int val);
155 static String boolToString(
bool val);
173 #if defined(_MSC_VER)
174 # pragma warning(disable : 4800)
AspectMode
How aspect ratio should be maintained.
Definition: cegui/include/CEGUI/Size.h:45
Interface for Image.
Definition: cegui/include/CEGUI/Image.h:158
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42
iterator for vectors
Definition: cegui/include/CEGUI/IteratorBase.h:287
Definition: required.h:71
Class that holds details of colours for the four corners of a rectangle.
Definition: cegui/include/CEGUI/ColourRect.h:43
Base class for tree items.
Definition: cegui/include/CEGUI/widgets/TreeItem.h:57
Class that contains a collection of Property objects.
Definition: cegui/include/CEGUI/PropertySet.h:56
Base class for Thumb widget.
Definition: cegui/include/CEGUI/widgets/Thumb.h:55
struct used to hold mapping information required to create a falagard based window.
Definition: cegui/include/CEGUI/WindowFactoryManager.h:70
utf8 encoded_char
encoded char signifies that it's a char (8bit) with encoding (in this case utf8)
Definition: cegui/include/CEGUI/String.h:50
Class used for textual items in a list box.
Definition: cegui/include/CEGUI/widgets/ListboxTextItem.h:42
Definition: required.h:135
Class representing colour values within the system.
Definition: cegui/include/CEGUI/Colour.h:44
iterator class for maps
Definition: cegui/include/CEGUI/IteratorBase.h:196
Dimension that has both a relative 'scale' portion and and absolute 'offset' portion.
Definition: cegui/include/CEGUI/UDim.h:92
std::pair< Image *, ImageFactory * > ImagePair
One entry in the image container.
Definition: cegui/include/CEGUI/ImageManager.h:190
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62