#include <Visible.h>

Definition at line 164 of file Visible.h.
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 |
enum MHSlider::SliderOrientation [protected] |
enum MHSlider::SliderStyle [protected] |
| MHSlider::MHSlider | ( | ) |
Definition at line 421 of file Visible.cpp.
| MHSlider::~MHSlider | ( | ) | [virtual] |
Definition at line 430 of file Visible.cpp.
| virtual const char* MHSlider::ClassName | ( | ) | [inline, virtual] |
| void MHSlider::Initialise | ( | MHParseNode * | p, | |
| MHEngine * | engine | |||
| ) | [virtual] |
| void MHSlider::PrintMe | ( | FILE * | fd, | |
| int | nTabs | |||
| ) | const [virtual] |
| void MHSlider::Display | ( | MHEngine * | engine | ) | [virtual] |
| void MHSlider::Preparation | ( | MHEngine * | engine | ) | [virtual] |
| void MHSlider::Interaction | ( | MHEngine * | engine | ) | [virtual] |
| void MHSlider::InteractionCompleted | ( | MHEngine * | engine | ) | [virtual] |
Reimplemented from MHInteractible.
Definition at line 635 of file Visible.cpp.
Referenced by KeyEvent().
| void MHSlider::KeyEvent | ( | MHEngine * | engine, | |
| int | nCode | |||
| ) | [virtual] |
| virtual bool MHSlider::GetInteractionStatus | ( | void | ) | [inline, virtual] |
| virtual bool MHSlider::GetHighlightStatus | ( | void | ) | [inline, virtual] |
| virtual void MHSlider::Deactivation | ( | MHEngine * | engine | ) | [inline, virtual] |
| void MHSlider::Step | ( | int | nbSteps, | |
| MHEngine * | engine | |||
| ) | [virtual] |
| void MHSlider::SetSliderValue | ( | int | newValue, | |
| MHEngine * | engine | |||
| ) | [virtual] |
| virtual int MHSlider::GetSliderValue | ( | void | ) | [inline, virtual] |
| void MHSlider::SetPortion | ( | int | newPortion, | |
| MHEngine * | engine | |||
| ) | [virtual] |
| virtual int MHSlider::GetPortion | ( | void | ) | [inline, virtual] |
| void MHSlider::SetSliderParameters | ( | int | newMin, | |
| int | newMax, | |||
| int | newStep, | |||
| MHEngine * | engine | |||
| ) | [virtual] |
| int MHSlider::GetOrientation | ( | const char * | str | ) | [static] |
| int MHSlider::GetStyle | ( | const char * | str | ) | [static] |
| void MHSlider::Increment | ( | MHEngine * | engine | ) | [protected] |
| void MHSlider::Decrement | ( | MHEngine * | engine | ) | [protected] |
enum MHSlider::SliderOrientation
MHSlider::m_orientation [protected] |
Referenced by Display(), Initialise(), KeyEvent(), MHSlider(), and PrintMe().
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().
enum MHSlider::SliderStyle
MHSlider::m_style [protected] |
Referenced by Display(), Initialise(), MHSlider(), and PrintMe().
MHColour MHSlider::m_sliderRefColour [protected] |
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] |
Definition at line 219 of file Visible.h.
Referenced by Decrement(), Display(), GetSliderValue(), Increment(), Preparation(), SetSliderParameters(), and SetSliderValue().
int MHSlider::portion [protected] |
Definition at line 219 of file Visible.h.
Referenced by Display(), GetPortion(), Preparation(), and SetPortion().
1.5.5