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