#include <colour.h>
Public Types | |
typedef MemberCaller1< Colour, const std::string &,&Colour::colourChanged > | ColourChangedCaller |
Public Member Functions | |
Colour (const Callback &colourChanged) | |
~Colour () | |
void | colourChanged (const std::string &value) |
void | write (Entity *entity) const |
Shader * | state () const |
Data Fields | |
Vector3 | m_colour |
Private Member Functions | |
void | capture_state () |
void | release_state () |
Private Attributes | |
Callback | m_colourChanged |
Shader * | m_state |
Definition at line 50 of file colour.h.
typedef MemberCaller1<Colour, const std::string&, &Colour::colourChanged> Colour::ColourChangedCaller |
Colour::Colour | ( | const Callback & | colourChanged | ) | [inline] |
Definition at line 67 of file colour.h.
References capture_state(), default_colour(), and m_colour.
Colour::~Colour | ( | ) | [inline] |
Definition at line 73 of file colour.h.
References release_state().
void Colour::capture_state | ( | ) | [inline, private] |
Definition at line 55 of file colour.h.
References colour_capture_state_fill(), m_colour, and m_state.
Referenced by Colour(), and colourChanged().
void Colour::colourChanged | ( | const std::string & | value | ) | [inline] |
Definition at line 78 of file colour.h.
References capture_state(), m_colour, m_colourChanged, read_colour(), and release_state().
void Colour::release_state | ( | ) | [inline, private] |
Definition at line 59 of file colour.h.
References colour_release_state_fill(), and m_colour.
Referenced by colourChanged(), and ~Colour().
Shader* Colour::state | ( | ) | const [inline] |
void Colour::write | ( | Entity * | entity | ) | const [inline] |
Definition at line 88 of file colour.h.
References m_colour, and write_colour().
Definition at line 65 of file colour.h.
Referenced by capture_state(), Colour(), colourChanged(), release_state(), and write().
Callback Colour::m_colourChanged [private] |
Definition at line 52 of file colour.h.
Referenced by colourChanged().
Shader* Colour::m_state [private] |
Definition at line 53 of file colour.h.
Referenced by capture_state(), and state().