Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TStatusItem Class Reference

Represents a component of a linked list associated with a TStatusLine view. More...

#include <menus.h>

List of all members.

Public Methods

 TStatusItem (const char *aText, ushort key, ushort cmd, TStatusItem *aNext=0)
 ~TStatusItem ()

Public Attributes

TStatusItem* next
char* text
ushort keyCode
ushort command


Detailed Description

A TStatusItem object is not a view but represents a component (status item) of a linked list associated with a TStatusLine view.

TStatusItem serves two purposes: it controls the visual appearance of the status line, and it defines hot keys by mapping key codes to commands.

Definition at line 696 of file menus.h.


Constructor & Destructor Documentation

TStatusItem::TStatusItem ( const char * aText,
ushort key,
ushort cmd,
TStatusItem * aNext = 0 ) [inline]
 

Creates a TStatusItem object with the given values.

Definition at line 733 of file menus.h.

TStatusItem::~TStatusItem ( ) [inline]
 

Undocumented.

Definition at line 745 of file menus.h.


Member Data Documentation

ushort TStatusItem::command
 

The value of the command associated with this status item.

Definition at line 730 of file menus.h.

ushort TStatusItem::keyCode
 

This is the scan code for the associated hot key.

Definition at line 726 of file menus.h.

TStatusItem * TStatusItem::next
 

A nonzero next points to the next TStatusItem object in the linked list associated with a status line. A 0 value indicates that this is the last item in the list.

Definition at line 716 of file menus.h.

char * TStatusItem::text
 

The text string to be displayed for this status item. If 0, no legend will display, meaning that the status item is intended only to define a hot key using the keyCode member.

Definition at line 722 of file menus.h.


The documentation for this class was generated from the following file:
Generated at Sat Sep 22 20:19:35 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001