6 #include "CEGUI/CEGUI.h" 7 #include "CEGUI/falagard/XMLEnumHelper.h" 39 static float stringToFloat(
const String& str)
43 static unsigned int stringToUint(
const String& str)
47 static bool stringToBool(
const String& str)
63 static const Image* stringToImage(
const String& str)
92 static String floatToString(
float val)
96 static String uintToString(
unsigned int val)
100 static String boolToString(
bool val)
248 typedef ::CEGUI::RefCounted< CEGUI::FormattedRenderedString > RefCountedFormattedRenderedString;
250 typedef ::CEGUI::NamedXMLResourceManager<CEGUI::Font, CEGUI::Font_xmlHandler> NamedXMLResourceManagerFont;
251 typedef ::CEGUI::NamedXMLResourceManager<CEGUI::Scheme, CEGUI::Scheme_xmlHandler> NamedXMLResourceManagerScheme;
253 typedef ::CEGUI::Vector2<float>
Vector2;
254 typedef ::CEGUI::Vector3<float>
Vector3;
255 typedef ::CEGUI::Size<float>
Size;
256 typedef ::CEGUI::Rect<float>
Rect;
257 typedef ::CEGUI::Vector2<CEGUI::UDim>
UVector2;
258 typedef ::CEGUI::Rect<CEGUI::UDim>
URect;
259 typedef ::CEGUI::Size<CEGUI::UDim>
USize;
271 typedef ::CEGUI::Event::Connection Connection;
272 typedef ::CEGUI::Event::Subscriber Subscriber;
275 typedef ::CEGUI::FontManager::FontIterator
FontIterator;
278 typedef ::CEGUI::Scheme::LoadableUIElementIterator LoadableUIElementIterator;
281 typedef ::CEGUI::WindowFactoryManager::TypeAliasIterator TypeAliasIterator;
284 typedef ::CEGUI::WidgetLookFeel::PropertyDefinitionIterator PropertyDefinitionIterator;
286 typedef std::pair<float, float> StdPairFloatFloat;
287 typedef std::pair<CEGUI::String, CEGUI::String> StdPairCEGUIStringString;
288 typedef std::pair<CEGUI::Image*, CEGUI::ImageFactory*> StdPairCEGUIImageImageFactory;
290 typedef std::map<std::string, std::string
291 CEGUI_MAP_ALLOC(std::string, std::string)> StringMap;
292 typedef std::vector<std::string
293 CEGUI_VECTOR_ALLOC(std::string)> StringVector;
309 typedef unsigned int Group;
311 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> ResourceGroupMap;
314 typedef std::multimap<Group, Connection
315 CEGUI_MULTIMAP_ALLOC(Group, Connection)> SlotContainer;
317 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> EventMap;
319 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::Font*)> FontRegistry;
320 typedef std::pair<CEGUI::Window*, bool> WindowStackEntry;
321 typedef std::vector<WindowStackEntry
322 CEGUI_VECTOR_ALLOC(WindowStackEntry)> WindowStack;
324 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::Property*)> PropertyRegistry;
326 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> UserStringMap;
327 typedef std::set<CEGUI::String, CEGUI::StringFastLessCompare> StringSet;
328 typedef std::vector<CEGUI::String
329 CEGUI_VECTOR_ALLOC(CEGUI::String)> TargetTypeStack;
331 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::Window*)> WindowRegistry;
332 typedef std::vector<CEGUI::Window*
333 CEGUI_VECTOR_ALLOC(CEGUI::Window*)> WindowVector;
334 typedef std::vector<CEGUI::Property*
335 CEGUI_VECTOR_ALLOC(CEGUI::Property*)> PropertyList;
337 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::WindowRendererFactory*)> WR_Registry;
339 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> AttributeMap;
349 namespace python_CEGUI
353 inline void instantiate()
355 sizeof( ::std::pair<float, float>);
378 sizeof( ::std::pair<float, float> );
379 sizeof( ::std::pair<CEGUI::String, CEGUI::String> );
380 sizeof( ::std::pair<CEGUI::Image*, CEGUI::ImageFactory*> );
Definition: python_CEGUI.h:36
Functor that can be used as comparator in a std::map with String keys. It's faster than using the def...
Definition: cegui/include/CEGUI/String.h:5579
Definition: python_CEGUI.h:147
Class that encapsulates a single layer of imagery.
Definition: cegui/include/CEGUI/falagard/LayerSpecification.h:45
Base-class for WindowRendererFactory.
Definition: cegui/include/CEGUI/WindowRenderer.h:237
Definition: python_CEGUI.h:9
regular iterator for String.
Definition: cegui/include/CEGUI/String.h:98
VerticalFormatting
Enumeration of possible values to indicate the vertical formatting to be used for an image component...
Definition: cegui/include/CEGUI/falagard/Enums.h:58
Class used as a three dimensional vector.
Definition: cegui/include/CEGUI/ForwardRefs.h:123
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
ConstMapIterator< ImageMap > ImageIterator
ConstBaseIterator type definition.
Definition: cegui/include/CEGUI/ImageManager.h:198
DimensionOperator
Enumeration of values representing mathematical operations on dimensions.
Definition: cegui/include/CEGUI/falagard/Enums.h:122
ConstMapIterator< ObjectRegistry > SchemeIterator
Definition of SchemeIterator type.
Definition: cegui/include/CEGUI/SchemeManager.h:64
iterator for vectors
Definition: cegui/include/CEGUI/IteratorBase.h:287
Class that holds details of colours for the four corners of a rectangle.
Definition: cegui/include/CEGUI/ColourRect.h:43
SubscriberSlot class which is used when subscribing to events.
Definition: cegui/include/CEGUI/SubscriberSlot.h:51
HorizontalTextFormatting
Enumeration of possible values to indicate the horizontal formatting to be used for a text component...
Definition: cegui/include/CEGUI/falagard/Enums.h:95
Class that holds information about a property and it's required initial value.
Definition: cegui/include/CEGUI/falagard/PropertyInitialiser.h:40
CEGUI::SubscriberSlot Subscriber
Subscriber object type. This is now just a typedef to SubscriberSlot, the use of the name Event::Subs...
Definition: cegui/include/CEGUI/Event.h:76
Class encapsulating the 'Unified Box' - this is usually used for margin.
Definition: cegui/include/CEGUI/UDim.h:247
Definition: cegui/include/CEGUI/Singleton.h:55
Class that encapsulates a typeface.
Definition: cegui/include/CEGUI/Font.h:58
RefCounted< BoundSlot > Connection
Connection object. This is a thin 'smart pointer' wrapper around the actual BoundSlot that represents...
Definition: cegui/include/CEGUI/Event.h:68
DimensionType
Enumeration of possible values to indicate what a given dimension represents.
Definition: cegui/include/CEGUI/falagard/Enums.h:39
Definition: cegui/include/CEGUI/falagard/XMLEnumHelper.h:37
VerticalTextFormatting
Enumeration of possible values to indicate the vertical formatting to be used for a text component...
Definition: cegui/include/CEGUI/falagard/Enums.h:84
HorizontalFormatting
Enumeration of possible values to indicate the horizontal formatting to be used for an image componen...
Definition: cegui/include/CEGUI/falagard/Enums.h:71
FrameImageComponent
Enumeration of values referencing available images forming a frame component.
Definition: cegui/include/CEGUI/falagard/Enums.h:135
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: cegui/include/CEGUI/Window.h:149
Base class for list box items.
Definition: cegui/include/CEGUI/widgets/ListboxItem.h:51
Helper class used to convert various data types to and from the format expected in Property strings...
Definition: cegui/include/CEGUI/ForwardRefs.h:84
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
ChildEventAction
Enumeration of actions a WidgetLook can take in response to some event firing on a child WidgetCompon...
Definition: cegui/include/CEGUI/falagard/Enums.h:154
Definition: python_CEGUI.h:244
Defines an 'event' which can be subscribed to by interested parties.
Definition: cegui/include/CEGUI/Event.h:57
Dimension that has both a relative 'scale' portion and and absolute 'offset' portion.
Definition: cegui/include/CEGUI/UDim.h:92
An abstract class that defines the interface to access object properties by name. ...
Definition: cegui/include/CEGUI/Property.h:60
VerticalAlignment
Enumerated type used when specifying vertical alignments for Element.
Definition: cegui/include/CEGUI/Element.h:130
ConstMapIterator< ObjectRegistry > FontIterator
ConstBaseIterator type definition.
Definition: cegui/include/CEGUI/FontManager.h:189
FontMetricType
Enumeration of possible values to indicate a particular font metric.
Definition: cegui/include/CEGUI/falagard/Enums.h:111
HorizontalAlignment
Enumerated type used when specifying horizontal alignments for Element.
Definition: cegui/include/CEGUI/Element.h:52
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62