#include <Vector3Attribute.h>
Public Types | |
typedef MemberCaller < Vector3Attribute,&Vector3Attribute::apply > | ApplyCaller |
typedef MemberCaller < Vector3Attribute,&Vector3Attribute::update > | UpdateCaller |
Public Member Functions | |
Vector3Attribute (const std::string &classname, const std::string &key) | |
GtkWidget * | getWidget () const |
void | apply (void) |
void | update (void) |
Private Attributes | |
std::string | m_classname |
std::string | m_key |
Vector3Entry | m_vector3 |
NonModalEntry | m_nonModal |
GtkBox * | m_hbox |
Definition at line 18 of file Vector3Attribute.h.
typedef MemberCaller<Vector3Attribute, &Vector3Attribute::apply> Vector3Attribute::ApplyCaller |
Definition at line 62 of file Vector3Attribute.h.
typedef MemberCaller<Vector3Attribute, &Vector3Attribute::update> Vector3Attribute::UpdateCaller |
Definition at line 91 of file Vector3Attribute.h.
Vector3Attribute::Vector3Attribute | ( | const std::string & | classname, | |
const std::string & | key | |||
) | [inline] |
Definition at line 26 of file Vector3Attribute.h.
References NonModalEntry::connect(), m_hbox, m_nonModal, m_vector3, Vector3Entry::m_x, Vector3Entry::m_y, Vector3Entry::m_z, and EntityAttribute::numeric_entry_new().
void Vector3Attribute::apply | ( | void | ) | [inline] |
Definition at line 55 of file Vector3Attribute.h.
References EntityAttribute::entitySetValue(), entry_get_float(), m_classname, m_key, m_vector3, Vector3Entry::m_x, Vector3Entry::m_y, and Vector3Entry::m_z.
GtkWidget* Vector3Attribute::getWidget | ( | ) | const [inline, virtual] |
void Vector3Attribute::update | ( | void | ) | [inline, virtual] |
Implements EntityAttribute.
Definition at line 64 of file Vector3Attribute.h.
References EntityAttribute::entityGetValueForKey(), m_key, m_vector3, Vector3Entry::m_x, Vector3Entry::m_y, Vector3Entry::m_z, string, BasicVector3< Element >::x(), BasicVector3< Element >::y(), and BasicVector3< Element >::z().
std::string Vector3Attribute::m_classname [private] |
Definition at line 20 of file Vector3Attribute.h.
Referenced by apply().
GtkBox* Vector3Attribute::m_hbox [private] |
Definition at line 24 of file Vector3Attribute.h.
Referenced by getWidget(), and Vector3Attribute().
std::string Vector3Attribute::m_key [private] |
Definition at line 21 of file Vector3Attribute.h.
NonModalEntry Vector3Attribute::m_nonModal [private] |
Definition at line 23 of file Vector3Attribute.h.
Referenced by Vector3Attribute().
Vector3Entry Vector3Attribute::m_vector3 [private] |
Definition at line 22 of file Vector3Attribute.h.
Referenced by apply(), update(), and Vector3Attribute().