CountIndicator

From Pointui

Inherits Control.

This control is used on the primary navigation buttons on the home screen to display counts of how many missed calls, unread emails etc are present. As it inherits from Label it can display any text, although is designed to show a number.

Methods

void SetImagesName(String firstPartOfName)

Specifies which images should be used for the background of the indicator. Three images are required:

  1. Left cap
  2. Middle repeat (repeated horizontally)
  3. Right cap

The default theme contains a few variations of graphics – ones if showing in the bottom left of a button, bottom right etc.

PARAMETERS

  • firstPartOfName – must be a string containing the first part of the filename where three files will exist in the following format (assuming the firstPartOfName value was “Count.Bottom.Left”):
    • Count.Bottom.Left.Left.Cap.jif
    • Count.Bottom.Left.Middle.Repeat.jif
    • Count.Bottom.Left.Right.Cap.jif

NOTE: The firstPartOfName can begin with a full path, and if no path is supplied then the image will be loaded from the current theme folder.