Programming Reference:StatusBar Class

From BCI2000 Wiki
Revision as of 16:14, 11 September 2008 by Mellinger (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search




A StatusBar is a GraphObject that consists of two stacked text fields, separated with a separator bar.

The top field is termed GoalText, and the bottom field is termed ResultText. For an empty GoalText, ResultText occupies the top as well, and the separator bar is not displayed.



To the constructor, provide the target GraphDisplay.


string GoalText (rw)

The text displayed in the status bar's top GoalText field.

string ResultText (rw)

The text displayed in the status bar's bottom ResultText field.

float TextHeight (rw)

Text height, given in units of a single line's height. Typical text height values are between 0.6 and 0.8.

RGBColor TextColor (rw)

The text's color.

RGBColor Color (rw)

The status bar's background color.

See also

Programming Reference:GraphObject Class, Programming Reference:GraphDisplay Class, Programming Reference:TextField Class