6 #include "CEGUI/CEGUI.h" 7 #include "CEGUI/falagard/XMLEnumHelper.h" 8 #include "CEGUI/falagard/PropertyDefinition.h" 9 #include "CEGUI/falagard/PropertyLinkDefinition.h" 41 static float stringToFloat(
const String& str)
45 static unsigned int stringToUint(
const String& str)
49 static bool stringToBool(
const String& str)
65 static const Image* stringToImage(
const String& str)
121 static const Font* stringToFont(
const String& str)
130 static String floatToString(
float val)
134 static String uintToString(
unsigned int val)
138 static String boolToString(
bool val)
367 typedef ::CEGUI::RefCounted< CEGUI::FormattedRenderedString > RefCountedFormattedRenderedString;
369 typedef ::CEGUI::NamedXMLResourceManager<CEGUI::Font, CEGUI::Font_xmlHandler> NamedXMLResourceManagerFont;
370 typedef ::CEGUI::NamedXMLResourceManager<CEGUI::Scheme, CEGUI::Scheme_xmlHandler> NamedXMLResourceManagerScheme;
372 typedef ::CEGUI::Vector2<float>
Vector2;
373 typedef ::CEGUI::Vector3<float>
Vector3;
374 typedef ::CEGUI::Size<float>
Size;
375 typedef ::CEGUI::Rect<float>
Rect;
376 typedef ::CEGUI::Vector2<CEGUI::UDim>
UVector2;
377 typedef ::CEGUI::Rect<CEGUI::UDim>
URect;
378 typedef ::CEGUI::Size<CEGUI::UDim>
USize;
390 typedef std::vector<CEGUI::TextComponent* CEGUI_VECTOR_ALLOC(CEGUI::TextComponent*)> TextComponentVector;
391 typedef std::vector<CEGUI::ImageryComponent* CEGUI_VECTOR_ALLOC(CEGUI::ImageryComponent*)> ImageryComponentVector;
392 typedef std::vector<CEGUI::FrameComponent* CEGUI_VECTOR_ALLOC(CEGUI::FrameComponent*)> FrameComponentVector;
393 typedef std::vector<CEGUI::LayerSpecification* CEGUI_VECTOR_ALLOC(CEGUI::LayerSpecification*)> LayerSpecificationVector;
394 typedef std::vector<CEGUI::SectionSpecification* CEGUI_VECTOR_ALLOC(CEGUI::SectionSpecification*)> SectionSpecificationVector;
396 typedef ::CEGUI::Event::Connection Connection;
397 typedef ::CEGUI::Event::Subscriber Subscriber;
400 typedef ::CEGUI::FontManager::FontIterator
FontIterator;
403 typedef ::CEGUI::Scheme::LoadableUIElementIterator LoadableUIElementIterator;
406 typedef ::CEGUI::WindowFactoryManager::TypeAliasIterator TypeAliasIterator;
409 typedef ::CEGUI::WidgetLookFeel::PropertyDefinitionIterator PropertyDefinitionIterator;
411 typedef std::pair<float, float> StdPairFloatFloat;
412 typedef std::pair<CEGUI::String, CEGUI::String> StdPairCEGUIStringString;
413 typedef std::pair<CEGUI::Image*, CEGUI::ImageFactory*> StdPairCEGUIImageImageFactory;
415 typedef std::map<std::string, std::string
416 CEGUI_MAP_ALLOC(std::string, std::string)> StringMap;
417 typedef std::vector<std::string
418 CEGUI_VECTOR_ALLOC(std::string)> StringVector;
434 typedef unsigned int Group;
436 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> ResourceGroupMap;
439 typedef std::multimap<Group, Connection
440 CEGUI_MULTIMAP_ALLOC(Group, Connection)> SlotContainer;
442 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> EventMap;
444 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::Font*)> FontRegistry;
445 typedef std::pair<CEGUI::Window*, bool> WindowStackEntry;
446 typedef std::vector<WindowStackEntry
447 CEGUI_VECTOR_ALLOC(WindowStackEntry)> WindowStack;
449 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::Property*)> PropertyRegistry;
451 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> UserStringMap;
452 typedef std::set<CEGUI::String, CEGUI::StringFastLessCompare> StringSet;
453 typedef std::vector<CEGUI::String
454 CEGUI_VECTOR_ALLOC(CEGUI::String)> TargetTypeStack;
456 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::Window*)> WindowRegistry;
457 typedef std::vector<CEGUI::Window*
458 CEGUI_VECTOR_ALLOC(CEGUI::Window*)> WindowVector;
459 typedef std::vector<CEGUI::Property*
460 CEGUI_VECTOR_ALLOC(CEGUI::Property*)> PropertyList;
462 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::WindowRendererFactory*)> WR_Registry;
464 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::String)> AttributeMap;
468 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::EventLinkDefinition*)> EventLinkDefinitionMap;
470 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::ImagerySection*)> ImagerySectionMap;
472 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::NamedArea*)> NamedAreaMap;
474 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::PropertyDefinitionBase*)> PropertyDefinitionBaseMap;
476 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::PropertyInitialiser*)> PropertyInitialiserMap;
478 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::StateImagery*)> StateImageryMap;
480 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::WidgetComponent*)> WidgetComponentMap;
482 CEGUI_MAP_ALLOC(CEGUI::String, CEGUI::WidgetLookFeel*)> WidgetLookFeelMap;
485 CEGUI_VECTOR_ALLOC(CEGUI::PropertyInitialiser)> > PropertyInitialiserVectorIterator;
590 namespace python_CEGUI
594 inline void instantiate()
596 sizeof( ::std::pair<float, float>);
619 sizeof( ::std::pair<float, float> );
620 sizeof( ::std::pair<CEGUI::String, CEGUI::String> );
621 sizeof( ::std::pair<CEGUI::Image*, CEGUI::ImageFactory*> );
AspectMode
How aspect ratio should be maintained.
Definition: cegui/include/CEGUI/Size.h:45
Definition: python_CEGUI.h:38
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:222
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:11
common base class used for types representing a new property to be available on all widgets that use ...
Definition: cegui/include/CEGUI/falagard/PropertyDefinitionBase.h:42
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
NamedArea defines an area for a component which may later be obtained and referenced by a name unique...
Definition: cegui/include/CEGUI/falagard/NamedArea.h:40
SubscriberSlot class which is used when subscribing to events.
Definition: cegui/include/CEGUI/SubscriberSlot.h:51
Class the encapsulates imagery for a given widget state.
Definition: cegui/include/CEGUI/falagard/StateImagery.h:46
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
Definition: python_CEGUI.h:316
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:363
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
Class that encapsulates a re-usable collection of imagery specifications.
Definition: cegui/include/CEGUI/falagard/ImagerySection.h:47
VerticalAlignment
Enumerated type used when specifying vertical alignments for Element.
Definition: cegui/include/CEGUI/Element.h:130
Definition: cegui/include/CEGUI/falagard/EventLinkDefinition.h:43
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