MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Data Structures | Functions
mh5button.h File Reference

Implement the MHEG5 Button Class Description Defines functionality associated with the rendering and interaction with one-state and two-state buttons. Base class: Visible , Interactible Subclasses: Hotspot , PushButton Status: Abstract class. More...

#include "mh5visible.h"
#include "mh5interactible.h"

Go to the source code of this file.

Data Structures

struct  MHEG5Button
 

Functions

void MHEG5buttonInit (MHEG5Button *button)
 <Function description>=""> More...
 
void MHEG5buttonFree (MHEG5Button *button)
 Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed. More...
 
void MHEG5buttonPrepare (MHEG5Button *button)
 Apply the preparation behaviour of the button class Apply the preparation behaviour of the button class. As this class has no own preparation behaviour this function just invokes the preparation behaviour from the base class. More...
 
void MHEG5buttonActivate (MHEG5Button *button)
 Apply the activation behaviour of the button class. As this class has no own activation behaviour this function just invokes the activation behaviour from the base class. More...
 
void MHEG5buttonDeactivate (MHEG5Button *button)
 Apply the deactivation behaviour of the button class. As this class has no own deactivation behaviour this function just invokes the deactivation behaviour from the base class. More...
 
void MHEG5buttonDestruct (MHEG5Button *button)
 Destruct a button object. More...
 
MHEG5ErrorCode MHEG5select (MHEG5Root *target, MHEG5GList *params)
 The effect of this action is to select a button. Implementation of the Select action of the button class. More...
 
MHEG5ErrorCode MHEG5deselect (MHEG5Root *target, MHEG5GList *params)
 The effect of this action is to deselect the button. Implementation of the Deselect action of the button class. More...
 

Detailed Description

Implement the MHEG5 Button Class Description Defines functionality associated with the rendering and interaction with one-state and two-state buttons. Base class: Visible , Interactible Subclasses: Hotspot , PushButton Status: Abstract class.

Date
29/04/2002
Author
iwillis

Function Documentation

void MHEG5buttonActivate ( MHEG5Button button)

Apply the activation behaviour of the button class. As this class has no own activation behaviour this function just invokes the activation behaviour from the base class.

Parameters
MHEG5Button*button
Returns
void
void MHEG5buttonDeactivate ( MHEG5Button button)

Apply the deactivation behaviour of the button class. As this class has no own deactivation behaviour this function just invokes the deactivation behaviour from the base class.

Parameters
MHEG5Button*button
Returns
void
void MHEG5buttonDestruct ( MHEG5Button button)

Destruct a button object.

Parameters
MHEG5Button*button
Returns
void
void MHEG5buttonFree ( MHEG5Button button)

Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed.

Parameters
buttonPointer to object to free.
Returns
Void
void MHEG5buttonInit ( MHEG5Button button)

<Function description>="">

Returns
<Return value>=""> Initialise a button object with default values.
Parameters
buttonPointer to object to initialise.
Returns
Void
void MHEG5buttonPrepare ( MHEG5Button button)

Apply the preparation behaviour of the button class Apply the preparation behaviour of the button class. As this class has no own preparation behaviour this function just invokes the preparation behaviour from the base class.

Parameters
MHEG5Button*button
Returns
void
MHEG5ErrorCode MHEG5deselect ( MHEG5Root target,
MHEG5GList params 
)

The effect of this action is to deselect the button. Implementation of the Deselect action of the button class.

Parameters
MHEG5Root*target
MHEG5GList*params
Returns
MHEG5ErrorCode MHEG5ErrorCode
MHEG5ErrorCode MHEG5select ( MHEG5Root target,
MHEG5GList params 
)

The effect of this action is to select a button. Implementation of the Select action of the button class.

Parameters
MHEG5Root*target
MHEG5GList*params
Returns
MHEG5ErrorCode MHEG5ErrorCode