#include <AngleAttribute.h>
Public Types | |
typedef MemberCaller < AngleAttribute,&AngleAttribute::apply > | ApplyCaller |
typedef MemberCaller < AngleAttribute,&AngleAttribute::update > | UpdateCaller |
Public Member Functions | |
AngleAttribute (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 |
GtkEntry * | m_entry |
NonModalEntry | m_nonModal |
Definition at line 4 of file AngleAttribute.h.
typedef MemberCaller<AngleAttribute, &AngleAttribute::apply> AngleAttribute::ApplyCaller |
Definition at line 29 of file AngleAttribute.h.
typedef MemberCaller<AngleAttribute, &AngleAttribute::update> AngleAttribute::UpdateCaller |
Definition at line 42 of file AngleAttribute.h.
AngleAttribute::AngleAttribute | ( | const std::string & | classname, | |
const std::string & | key | |||
) | [inline] |
Definition at line 11 of file AngleAttribute.h.
References NonModalEntry::connect(), m_entry, m_nonModal, and EntityAttribute::numeric_entry_new().
void AngleAttribute::apply | ( | void | ) | [inline] |
Definition at line 23 of file AngleAttribute.h.
References EntityAttribute::angle_normalised(), EntityAttribute::entitySetValue(), entry_get_float(), m_classname, m_entry, and m_key.
GtkWidget* AngleAttribute::getWidget | ( | ) | const [inline, virtual] |
void AngleAttribute::update | ( | void | ) | [inline, virtual] |
Implements EntityAttribute.
Definition at line 31 of file AngleAttribute.h.
References EntityAttribute::angle_normalised(), EntityAttribute::entityGetValueForKey(), m_entry, m_key, and string.
std::string AngleAttribute::m_classname [private] |
Definition at line 6 of file AngleAttribute.h.
Referenced by apply().
GtkEntry* AngleAttribute::m_entry [private] |
Definition at line 8 of file AngleAttribute.h.
Referenced by AngleAttribute(), apply(), getWidget(), and update().
std::string AngleAttribute::m_key [private] |
Definition at line 7 of file AngleAttribute.h.
NonModalEntry AngleAttribute::m_nonModal [private] |
Definition at line 9 of file AngleAttribute.h.
Referenced by AngleAttribute().