UI.LabelledImageAnimation Class Reference


Detailed Description

The LabelledImageAnimation class implements a non-selectable labelled looping image animation.

The animation is on the left, the label is next to it, and everything is superimposed on a background image.

The class is based in part upon the class LabelledImage.

#include <class_u_i_1_1_labelled_image_animation.h>

Inheritance diagram for UI.LabelledImageAnimation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  __del__ ()
  setBackground ()
  Sets the background image to "image", an image file name.
  setImages ()
  Sets the animation.
  nextImage ()
  Changes to the next image in the animation sequence.
  image ()
  Returns the file name of the current image, or None.
  setText ()
  text ()
  setTextColor ()
  doPosition ()
  Positions the children of this control.

Member Function Documentation

UI.LabelledImageAnimation.__init__ ( )

Reimplemented from UI.Control.

Reimplemented in BusyLabel.BusyLabel.

UI.LabelledImageAnimation.__del__ ( )

Reimplemented from UI.Control.

Reimplemented in BusyLabel.BusyLabel.

UI.LabelledImageAnimation.setBackground ( )

Sets the background image to "image", an image file name.

UI.LabelledImageAnimation.setImages ( )

Sets the animation.

"images" is a list of image file names that make up the animation. The order the images appear in the list is the order that they will appear in the animation.

UI.LabelledImageAnimation.nextImage ( )

Changes to the next image in the animation sequence.

If we've reached the end of the animation, then we re-start.

UI.LabelledImageAnimation.image ( )

Returns the file name of the current image, or None.

UI.LabelledImageAnimation.setText ( )
UI.LabelledImageAnimation.text ( )
UI.LabelledImageAnimation.setTextColor ( )
UI.LabelledImageAnimation.doPosition ( )

Positions the children of this control.

The overall size and position of the control must already have been set.

Reimplemented from UI.Control.


UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation
UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation UI.LabelledImageAnimation