MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
#include <ParameterController.h>
Public Member Functions | |
void | SetBigText (bool value) |
virtual void | SetParameter (ElementParameter< CC > *pb) |
void | SetParameter (Parameter< CC > *pb, T *patom) |
virtual void | Init ()=0 |
Parameter< CC > * | GetParameter () |
const Parameter< CC > * | GetParameter () const |
![]() | |
Panel (u32 width=0, u32 height=0) | |
void | Insert (Panel *child, Panel *afterOrNull) |
Panel * | Pop () |
void | Remove (Panel *child) |
void | SetVisibility (bool value) |
void | ToggleVisibility () |
bool | IsVisible () |
u32 | GetWidth () const |
u32 | GetHeight () const |
void | SetDimensions (u32 width, u32 height) |
void | SetDesiredSize (u32 width, u32 height) |
const UPoint & | GetDimensions () const |
const UPoint & | GetDesiredSize () const |
void | SetRenderPoint (const SPoint &renderPt) |
const SPoint & | GetRenderPoint () const |
const char * | GetName () const |
void | SetName (const char *name) |
void | Print (ByteSink &sink, u32 indent=0) const |
u32 | GetBackground () const |
u32 | SetBackground (const u32 color) |
u32 | GetBorder () const |
u32 | SetBorder (const u32 color) |
u32 | GetForeground () const |
u32 | SetForeground (const u32 color) |
TTF_Font * | GetFont () const |
TTF_Font * | SetFont (TTF_Font *newFont) |
SPoint | GetAbsoluteLocation () |
virtual void | Paint (Drawing &config) |
virtual void | PaintUpdateVisibility (Drawing &config) |
virtual void | PaintComponent (Drawing &config) |
virtual void | PaintBorder (Drawing &config) |
virtual void | PaintChildren (Drawing &config) |
virtual bool | Dispatch (MouseEvent &event, const Rect &rect) |
virtual bool | Handle (MouseButtonEvent &event) |
virtual bool | Handle (MouseMotionEvent &event) |
virtual void | OnMouseExit () |
virtual void | HandleResize (const UPoint &parentSize) |
void | SetAnchor (const GUIAnchor anchor) |
SPoint | GetTextSize (TTF_Font *font, const char *text) |
Protected Types | |
typedef CC::ATOM_TYPE | T |
Protected Attributes | |
Parameter< CC > * | m_parameter |
T * | m_patom |
bool | m_bigText |
![]() | |
OString16 | m_name |
Rect | m_rect |
u32 | m_bdColor |
u32 | m_bgColor |
u32 | m_fgColor |
TTF_Font * | m_font |
UPoint | m_desiredSize |
SPoint | m_desiredLocation |
Panel * | m_parent |
Panel * | m_top |
Panel * | m_forward |
Panel * | m_backward |
Panel * | m_focusedChild |
bool | m_visible |
Additional Inherited Members | |
![]() | |
static void | Indent (ByteSink &sink, u32 count) |
An abstraction used for displaying every Element and Atom Parameter .