74 void MHEG5sliderPrint(
MHEG5Slider *slider,
char *out)
76 MHEG5visiblePrint(&slider->
visible, out);
81 MHEG_PRINT(out,
":Orientation: ");
85 MHEG_PRINT(out,
"LEFT");
88 MHEG_PRINT(out,
"RIGHT");
91 MHEG_PRINT(out,
"UP");
94 MHEG_PRINT(out,
"DOWN");
97 MHEG_PRINT(out,
"<Internal Error>");
103 MHEG_PRINT(out,
":InitialValue ");
108 MHEG_PRINT(out,
":OriginalMinValue: ");
113 MHEG_PRINT(out,
":OriginalMaxValue: ");
118 MHEG_PRINT(out,
":InitialPortion: ");
123 MHEG_PRINT(out,
":OriginalStepSize: ");
128 MHEG_PRINT(out,
":SliderStyle: ");
132 MHEG_PRINT(out,
"NORMAL");
135 MHEG_PRINT(out,
"THERMOMETER");
138 MHEG_PRINT(out,
"PROPORTIONAL");
141 MHEG_PRINT(out,
"<Internal Error>");
147 MHEG_PRINT(out,
"SliderRefColour: ");
153 MHEG_PRINT(out,
"// Value:\t");
158 MHEG_PRINT(out,
"// Portion:\t");
159 MHEG5intPrint(slider->
portion, out);
163 MHEG_PRINT(out,
"// MinValue:\t");
164 MHEG5intPrint(slider->
minValue, out);
168 MHEG_PRINT(out,
"// MaxValue:\t");
169 MHEG5intPrint(slider->
maxValue, out);
173 MHEG_PRINT(out,
"// StepSize:\t");
174 MHEG5intPrint(slider->
stepSize, out);
329 if (newValue < slider->minValue)
367 if (newValue < slider->minValue)
528 if (newMinValue >= newMaxValue)
530 if (((newMaxValue - newMinValue) % newStepSize) != 0)
532 if ((newMaxValue - newMinValue) < slider->
portion)
568 if (newValue < slider->minValue)
604 if (newValue < slider->minValue)
640 if (newValue < slider->minValue)
676 if (newValue < slider->minValue)
MHEG5Bool availabilityStatus
void MHEG5visibleActivate(MHEG5Visible *visible)
Apply the activation behaviour of the visible class. Apply the activation behaviour off the visible c...
MHEG5ErrorCode MHEG5getSliderValue(MHEG5Root *target, MHEG5GList *params)
This action retrieves the SliderValue from the target and stores it in the variable, passed as the second parameter of this action. Implementation of the GetSliderValue (Target, SliderValueVar) action of the slider class.
void MHEG5sliderInit(MHEG5Slider *slider)
<Function description>="">
void MHEG5sliderLEFT(MHEG5Slider *slider)
Perform action of left arrow key on interacting Slider.
MHEG5Int originalStepSize
MHEG5GList * MHEG5resolveGenericInteger(MHEG5GList *params, MHEG5Int *value)
void MHEG5interactibleDestruct(MHEG5Interactible *interactible)
MHEG5Colour sliderRefColour
void MHEG5visibleFree(MHEG5Visible *visible)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
void MHEG5sliderEXIT(MHEG5Slider *slider)
Perform action of exit key on interacting Slider.
void MHEG5sliderUP(MHEG5Slider *slider)
Perform action of up arrow key on interacting Slider.
void MHEG5visiblePrepare(MHEG5Visible *visible)
Apply the preparation behaviour off the visible class Apply the preparation behaviour of the visible ...
Implement the MHEG5 Slider Class. Slider Class. Defines the behaviour of sliders. Base class: Visible...
void MHEG5sliderActivate(MHEG5Slider *slider)
Apply the activation behaviour of the slider class. As this class has no own activation behaviour thi...
void MHEG5sliderDOWN(MHEG5Slider *slider)
Perform action of down arrow key on interacting Slider.
Implement the MHEG5 Variable Class 21 Variable Class Defines a variable within the context of a Group...
void MHEG5visibleDestruct(MHEG5Visible *visible)
Destruct a visible object.
void MHEG5interactibleDeactivate(MHEG5Interactible *interactible)
Implementation of the deactivation behaviour of the interactible class. This behaviour was introduced...
void MHEG5sliderPrepare(MHEG5Slider *slider)
Apply the preparation behaviour of the slider class Apply the preparation behaviour of the slider cla...
#define MHEG5displayRedraw(v)
MHEG5ErrorCode MHEG5setSliderParameters(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to set the MinValue, MaxValue and StepSize to the given values...
MHEG5ErrorCode MHEG5setSliderValue(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to set the SliderValue to the given value. Implementation of the SetSlid...
#define MHEG5colourDestruct
MHEG5ErrorCode MHEG5step(MHEG5Root *target, MHEG5GList *params)
The effect of this action is to modify the SliderValue of the target by the number given...
Event handling. Implementation of a combined queue for events and actions. This is the eventsystem wh...
void MHEG5sliderDestruct(MHEG5Slider *slider)
Destruct a slider object.
MHEG5Bool interactionStatus
void MHEG5sliderRIGHT(MHEG5Slider *slider)
Perform action of right arrow key on interacting Slider.
MHEG5Int originalMinValue
Implement functions to retrieve MHEG5objects by GroupID and ID.
Implementation of the MHEG5 Application Class Defines a set of Ingredient objects, which are shared within an application scope. Base class: Group Subclasses: None Status: Concrete class.
Implementation of the MHEG5 Scene Class Scene Class Defines a set of Ingredient objects to be activat...
Mheg5 logging and debug printing.
void MHEG5interactibleInteractionCompleted(MHEG5Interactible *interactible, MHEG5Root *item)
MHEG5Ingredient ingredient
void MHEG5interactibleInit(MHEG5Interactible *interactible)
<Function description>="">
MHEG5Int originalMaxValue
MHEG5Orientation orientation
MHEG5Interactible interactible
MHEG5Scene * MHEG5getCurrentScene(void)
<Function description>="">
void MHEG5sendEvent(MHEG5Root *source, MHEG5EventType event, MHEG5Int data)
Store an event in the asynchronous event queue.
MHEG5ErrorCode MHEG5getPortion(MHEG5Root *target, MHEG5GList *params)
This action retrieves the size of the slider portion and stores it in the PortionVar, which is passed to this action as the second parameter. Implementation of the GetPortion (Target, PortionVar) action of the slider class.
MHEG5Root * currentInteractible
void MHEG5sliderFree(MHEG5Slider *slider)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
void MHEG5interactibleFree(MHEG5Interactible *interactible)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
MHEG5ErrorCode MHEG5setPortion(MHEG5Root *target, MHEG5GList *params)
This action sets the portion of the slider to a new value, given as the second parameter to this acti...
MHEG5GList * MHEG5resolveORef(MHEG5GList *params, MHEG5Root **object)
void MHEG5sliderDeactivate(MHEG5Slider *slider)
Apply the deactivation behaviour of the slider class. As this class has no own deactivation behaviour...
Implement generic MHEG5-display functions - independent from the OSD These are generic functions used...
void MHEG5visibleDeactivate(MHEG5Visible *visible)
Apply the deactivation behaviour of the visible class. As this class has no own deactivation behaviou...
void MHEG5interactiblePrepare(MHEG5Interactible *interactible)
Sets all internal attributes for the specified object to their default values.
void MHEG5sliderSELECT(MHEG5Slider *slider)
Perform action of select key on interacting Slider.
MHEG5SliderStyle sliderStyle
void MHEG5visibleInit(MHEG5Visible *visible)
Initialise a visible object with default values.