29#ifndef _TplWindowRendererProperty_h_
30#define _TplWindowRendererProperty_h_
32#include "CEGUI/TplProperty.h"
38template<
class C,
typename T>
64 C* instance =
static_cast<C*
>(
67 CEGUI_CALL_MEMBER_FN(*instance, this->d_setter)(
value);
74 const C* instance =
static_cast<const C*
>(
77 return this->d_getter(instance);
90#define CEGUI_DEFINE_WINDOW_RENDERER_PROPERTY(class_type, property_native_type, name, help, setter, getter, default_value)\
92 static ::CEGUI::TplWindowRendererProperty<class_type, property_native_type> sProperty(\
93 name, help, TypeName, setter, getter, default_value);\
95 this->registerProperty(&sProperty);\
110#define CEGUI_DEFINE_WINDOW_RENDERER_PROPERTY_NO_XML(class_type, property_native_type, name, help, setter, getter, default_value)\
112 static ::CEGUI::TplWindowRendererProperty<class_type, property_native_type> sProperty(\
113 name, help, TypeName, setter, getter, default_value, false);\
115 this->registerProperty(&sProperty,true);\
Dummy base class to ensure correct casting of receivers.
Definition Property.h:46
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
Definition TplProperty.h:40
Definition TplWindowRendererProperty.h:40
void setNative_impl(PropertyReceiver *receiver, typename TplProperty< C, T >::Helper::pass_type value)
Definition TplWindowRendererProperty.h:61
TplProperty< C, T >::Helper::safe_method_return_type getNative_impl(const PropertyReceiver *receiver) const
Definition TplWindowRendererProperty.h:72
base class for properties able to do native set/get
Definition TypedProperty.h:50
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
Definition TplProperty.h:50