MHSlider Class Reference

#include <Visible.h>

Inheritance diagram for MHSlider:
MHVisible MHInteractible MHPresentable MHIngredient MHRoot

List of all members.

Public Member Functions

 MHSlider ()
virtual ~MHSlider ()
virtual const char * ClassName ()
virtual void Initialise (MHParseNode *p, MHEngine *engine)
virtual void PrintMe (FILE *fd, int nTabs) const
virtual void Display (MHEngine *)
virtual void Preparation (MHEngine *engine)
virtual void Interaction (MHEngine *engine)
virtual void InteractionCompleted (MHEngine *engine)
virtual void KeyEvent (MHEngine *engine, int nCode)
virtual void SetInteractionStatus (bool newStatus, MHEngine *engine)
virtual bool GetInteractionStatus (void)
virtual void SetHighlightStatus (bool newStatus, MHEngine *engine)
virtual bool GetHighlightStatus (void)
virtual void Deactivation (MHEngine *engine)
virtual void Step (int nbSteps, MHEngine *engine)
virtual void SetSliderValue (int newValue, MHEngine *engine)
virtual int GetSliderValue (void)
virtual void SetPortion (int newPortion, MHEngine *engine)
virtual int GetPortion (void)
virtual void SetSliderParameters (int newMin, int newMax, int newStep, MHEngine *engine)

Static Public Member Functions

static int GetOrientation (const char *str)
static int GetStyle (const char *str)

Protected Types

enum  SliderOrientation { SliderLeft = 1, SliderRight, SliderUp, SliderDown }
enum  SliderStyle { SliderNormal = 1, SliderThermo, SliderProp }

Protected Member Functions

void Increment (MHEngine *engine)
void Decrement (MHEngine *engine)

Protected Attributes

enum MHSlider::SliderOrientation m_orientation
int initial_value
int initial_portion
int orig_max_value
int orig_min_value
int orig_step_size
enum MHSlider::SliderStyle m_style
MHColour m_sliderRefColour
int max_value
int min_value
int step_size
int slider_value
int portion

Detailed Description

Definition at line 164 of file Visible.h.


Member Enumeration Documentation

enum MHSlider::SliderOrientation [protected]
Enumerator:
SliderLeft 
SliderRight 
SliderUp 
SliderDown 

Definition at line 206 of file Visible.h.

enum MHSlider::SliderStyle [protected]
Enumerator:
SliderNormal 
SliderThermo 
SliderProp 

Definition at line 213 of file Visible.h.


Constructor & Destructor Documentation

MHSlider::MHSlider (  ) 

Definition at line 618 of file Visible.cpp.

MHSlider::~MHSlider (  )  [virtual]

Definition at line 627 of file Visible.cpp.


Member Function Documentation

virtual const char* MHSlider::ClassName (  )  [inline, virtual]

Implements MHRoot.

Definition at line 169 of file Visible.h.

void MHSlider::Initialise ( MHParseNode p,
MHEngine engine 
) [virtual]

Reimplemented from MHVisible.

Definition at line 631 of file Visible.cpp.

void MHSlider::PrintMe ( FILE *  fd,
int  nTabs 
) const [virtual]

Reimplemented from MHVisible.

Definition at line 765 of file Visible.cpp.

void MHSlider::Display ( MHEngine engine  )  [virtual]

Implements MHVisible.

Definition at line 835 of file Visible.cpp.

void MHSlider::Preparation ( MHEngine engine  )  [virtual]

Reimplemented from MHVisible.

Definition at line 825 of file Visible.cpp.

void MHSlider::Interaction ( MHEngine engine  )  [virtual]

Reimplemented from MHInteractible.

Definition at line 920 of file Visible.cpp.

void MHSlider::InteractionCompleted ( MHEngine engine  )  [virtual]

Reimplemented from MHInteractible.

Definition at line 928 of file Visible.cpp.

Referenced by KeyEvent().

void MHSlider::KeyEvent ( MHEngine engine,
int  nCode 
) [virtual]

Reimplemented from MHInteractible.

Definition at line 939 of file Visible.cpp.

virtual void MHSlider::SetInteractionStatus ( bool  newStatus,
MHEngine engine 
) [inline, virtual]

Reimplemented from MHRoot.

Definition at line 180 of file Visible.h.

virtual bool MHSlider::GetInteractionStatus ( void   )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 182 of file Visible.h.

virtual void MHSlider::SetHighlightStatus ( bool  newStatus,
MHEngine engine 
) [inline, virtual]

Reimplemented from MHRoot.

Definition at line 183 of file Visible.h.

virtual bool MHSlider::GetHighlightStatus ( void   )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 185 of file Visible.h.

virtual void MHSlider::Deactivation ( MHEngine engine  )  [inline, virtual]

Reimplemented from MHVisible.

Definition at line 186 of file Visible.h.

void MHSlider::Step ( int  nbSteps,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 1026 of file Visible.cpp.

void MHSlider::SetSliderValue ( int  newValue,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 1038 of file Visible.cpp.

virtual int MHSlider::GetSliderValue ( void   )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 191 of file Visible.h.

void MHSlider::SetPortion ( int  newPortion,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 1050 of file Visible.cpp.

virtual int MHSlider::GetPortion ( void   )  [inline, virtual]

Reimplemented from MHRoot.

Definition at line 193 of file Visible.h.

void MHSlider::SetSliderParameters ( int  newMin,
int  newMax,
int  newStep,
MHEngine engine 
) [virtual]

Reimplemented from MHRoot.

Definition at line 1063 of file Visible.cpp.

int MHSlider::GetOrientation ( const char *  str  )  [static]

Definition at line 732 of file Visible.cpp.

Referenced by MHParseText::NextSym().

int MHSlider::GetStyle ( const char *  str  )  [static]

Definition at line 752 of file Visible.cpp.

Referenced by MHParseText::NextSym().

void MHSlider::Increment ( MHEngine engine  )  [protected]

Definition at line 1006 of file Visible.cpp.

Referenced by KeyEvent().

void MHSlider::Decrement ( MHEngine engine  )  [protected]

Definition at line 1016 of file Visible.cpp.

Referenced by KeyEvent().


Member Data Documentation

int MHSlider::initial_value [protected]

Definition at line 208 of file Visible.h.

Referenced by Initialise(), MHSlider(), Preparation(), and PrintMe().

int MHSlider::initial_portion [protected]

Definition at line 208 of file Visible.h.

Referenced by Initialise(), MHSlider(), Preparation(), and PrintMe().

int MHSlider::orig_max_value [protected]

Definition at line 209 of file Visible.h.

Referenced by Initialise(), MHSlider(), Preparation(), and PrintMe().

int MHSlider::orig_min_value [protected]

Definition at line 209 of file Visible.h.

Referenced by Initialise(), MHSlider(), Preparation(), and PrintMe().

int MHSlider::orig_step_size [protected]

Definition at line 209 of file Visible.h.

Referenced by Initialise(), MHSlider(), Preparation(), and PrintMe().

Referenced by Display(), Initialise(), MHSlider(), and PrintMe().

Definition at line 215 of file Visible.h.

Referenced by Display(), Initialise(), and PrintMe().

int MHSlider::max_value [protected]

Definition at line 218 of file Visible.h.

Referenced by Display(), Increment(), Preparation(), and SetSliderParameters().

int MHSlider::min_value [protected]

Definition at line 218 of file Visible.h.

Referenced by Decrement(), Display(), Preparation(), and SetSliderParameters().

int MHSlider::step_size [protected]

Definition at line 218 of file Visible.h.

Referenced by Decrement(), Increment(), Preparation(), SetSliderParameters(), and Step().

int MHSlider::slider_value [protected]
int MHSlider::portion [protected]

Definition at line 219 of file Visible.h.

Referenced by Display(), GetPortion(), Preparation(), and SetPortion().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri May 25 06:42:10 2012 for MythTV by  doxygen 1.6.3