UI.LabelledImage Class Reference


Detailed Description

LabelledImage is a button that uses images for the background and overlays a text label in the foreground.

#include <class_u_i_1_1_labelled_image.h>

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

List of all members.

Public Member Functions

  __init__ ()
  __del__ ()
  contains ()
  Check to see if the visible portion of the control contains the position.
  image ()
  setLooks ()
  setText ()
  text ()
  setTextColor ()
  setTextAlignment ()
  textAlignment ()
  setTextOffset ()
  textOffset ()
  setTextHeight ()
  setTextWidth ()
  setState ()
  doPosition ()
  Apply the control's size and position to the node.
  setVisibleSize ()
  Some images might have blank space on the right hand side of the image.
  visibleSize ()

Member Function Documentation

UI.LabelledImage.__init__ ( )
UI.LabelledImage.__del__ ( )
UI.LabelledImage.contains ( )

Check to see if the visible portion of the control contains the position.

Reimplemented from UI.Control.

UI.LabelledImage.image ( )
UI.LabelledImage.setLooks ( )
UI.LabelledImage.setText ( )
UI.LabelledImage.text ( )
UI.LabelledImage.setTextColor ( )
UI.LabelledImage.setTextAlignment ( )
UI.LabelledImage.textAlignment ( )
UI.LabelledImage.setTextOffset ( )
UI.LabelledImage.textOffset ( )
UI.LabelledImage.setTextHeight ( )
UI.LabelledImage.setTextWidth ( )
UI.LabelledImage.setState ( )
UI.LabelledImage.doPosition ( )

Apply the control's size and position to the node.

Derived classes must override this method.

Reimplemented from UI.Control.

UI.LabelledImage.setVisibleSize ( )

Some images might have blank space on the right hand side of the image.

Use this to specify the pixel size of what the user can actually see.

UI.LabelledImage.visibleSize ( )

UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage
UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage UI.LabelledImage