Crazy Eddie's GUI System
0.8.7
|
29 #ifndef _CEGUIWindowRenderer_h_
30 #define _CEGUIWindowRenderer_h_
32 #include "CEGUI/Window.h"
33 #include "CEGUI/Property.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
279 #if defined(_MSC_VER)
280 # pragma warning(pop)
283 #endif // _CEGUIWindowRenderer_h_
Class that encapsulates a typeface.
Definition: Font.h:62
std::pair< Property *, bool > PropertyEntry
type used for entries in the PropertyList.
Definition: WindowRenderer.h:219
virtual WindowRenderer * create()=0
Creates and returns a new window renderer object.
const String d_name
Name of the factory type used to create this window renderer.
Definition: WindowRenderer.h:215
Window * d_window
Pointer to the window this windowrenderer is assigned to.
Definition: WindowRenderer.h:214
struct that holds some context relating to a RenderingSurface object.
Definition: RenderingContext.h:41
virtual void onDetach()
Handler called when this windowrenderer is detached from its window.
virtual ~WindowRendererFactory()
Destructor.
Definition: WindowRenderer.h:253
std::vector< PropertyEntry CEGUI_VECTOR_ALLOC(PropertyEntry)> PropertyList
type to use for the property list.
Definition: WindowRenderer.h:222
Window * getWindow() const
Get the window this windowrenderer is attached to.
Definition: WindowRenderer.h:99
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
const String & getClass() const
Get the "minimum" Window class this renderer requires.
Definition: WindowRenderer.h:105
virtual bool handleFontRenderSizeChange(const Font *const font)
Perform any updates needed because the given font's render size has changed.
String d_factoryName
Our factory type name.
Definition: WindowRenderer.h:274
Definition: MemoryAllocatedObject.h:110
const String d_class
Name of the widget class that is the "minimum" requirement.
Definition: WindowRenderer.h:216
virtual void update(float)
perform any time based updates for this WindowRenderer.
Definition: WindowRenderer.h:135
void registerProperty(Property *property, const bool ban_from_xml)
Register a property class that will be properly managed by this window renderer.
const String & getName() const
Returns the type name of this window renderer factory.
Definition: WindowRenderer.h:259
virtual void onAttach()
Handler called when this windowrenderer is attached to a window.
virtual ~WindowRenderer()
Destructor.
const String & getName() const
Returns the factory type name of this window renderer.
Definition: WindowRenderer.h:93
const WidgetLookFeel & getLookNFeel() const
Get the Look'N'Feel assigned to our window.
Base-class for WindowRendererFactory.
Definition: WindowRenderer.h:238
void registerProperty(Property *property)
Register a property class that will be properly managed by this window renderer.
WindowRendererFactory(const String &name)
Contructor.
Definition: WindowRenderer.h:247
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
virtual void destroy(WindowRenderer *wr)=0
Destroys a window renderer object previously created by us.
Base-class for the assignable WindowRenderer object.
Definition: WindowRenderer.h:52
virtual void onLookNFeelUnassigned()
Handler called when a Look'N'Feel is removed/unassigned from our window.
Definition: WindowRenderer.h:209
virtual Rectf getUnclippedInnerRect() const
Get unclipped inner rectangle that our window should return from its member function with the same na...
String class used within the GUI system.
Definition: String.h:64
virtual void getRenderingContext(RenderingContext &ctx) const
update the RenderingContext as needed for our window. This is normally invoked via our window's membe...
An abstract class that defines the interface to access object properties by name.
Definition: Property.h:62
virtual void onLookNFeelAssigned()
Handler called when a Look'N'Feel is assigned to our window.
Definition: WindowRenderer.h:203
virtual void performChildWindowLayout()
Method called to perform extended laying out of the window's attached child windows.
Definition: WindowRenderer.h:125
WindowRenderer(const String &name, const String &class_name="Window")
Constructor.
virtual void render()=0
Populate render cache.
PropertyList d_properties
The list of properties that this windowrenderer will be handling.
Definition: WindowRenderer.h:223