47 #ifndef _MIRA_HIGHLIGHTPROPERTY_H_ 48 #define _MIRA_HIGHLIGHTPROPERTY_H_ 68 Ogre::ColourValue
color = Ogre::ColourValue(1.0f, 0.0f, 1.0f, 1.0f),
73 template <
typename Class>
75 Ogre::ColourValue
color = Ogre::ColourValue(1.0f, 0.0f, 1.0f, 1.0f),
80 template <
typename Reflector>
85 "Activate selection of an element",
90 r.property(
"Color",
mColor,
92 "The color for drawing the element",
93 Ogre::ColourValue(1.0f, 0.0f, 1.0f, 1.0f));
101 const Ogre::ColourValue&
color()
const;
HighlightProperty(boost::function< void()> callback, bool enable=false, Ogre::ColourValue color=Ogre::ColourValue(1.0f, 0.0f, 1.0f, 1.0f), float textsize=0.1f)
Definition: HighlightProperty.h:67
#define MIRA_REFLECT_BASE(reflector, BaseClass)
const Ogre::ColourValue & color() const
Ogre::ColourValue mColor
Definition: HighlightProperty.h:106
boost::function< void()> mNotifyChange
bool mEnable
Definition: HighlightProperty.h:105
float mTextsize
Definition: HighlightProperty.h:107
PropertyHint minimum(const T &min)
HighlightProperty(void(Class::*f)(), Class *obj, bool enable=false, Ogre::ColourValue color=Ogre::ColourValue(1.0f, 0.0f, 1.0f, 1.0f), float textsize=0.1f)
Definition: HighlightProperty.h:74
Setter< T > setterNotify(T &member, boost::function< void()> notifyFn)
void reflect(Reflector &r)
Definition: HighlightProperty.h:81
Definition: HighlightProperty.h:64