Xterminal Home Page Main page

class XtStatusLine : public XObject

Status line

Inheritance:

XtStatusLine - XObject - XEventBroker


Public Methods

virtual void Draw()
Draws the object
virtual StatusItem* GetValue()
Returns the status line content
virtual int ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events
virtual int ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events
virtual void SetValue(StatusItem* __Items)
Sets a new status line content
XtStatusLine(XRect __r, unsigned long __Flags, StatusItem *__Items)
Constructs a new XtStatusLine
~XtStatusLine()
Destructs the object's instance

Inherited from XObject:

Public Methods

virtual void CalculateBounds()
XRect GetBounds()
virtual XEvent* GetEvent()
unsigned long GetId()
char* GetObjClass()
XPoint GetOrigin()
virtual unsigned GetPalEntry(unsigned __Index)
virtual char* GetPalette()
XPoint GetSize()
virtual unsigned GetState(unsigned long __Mask)
unsigned long GetState()
virtual void HandleEvent(XEvent *__Ev)
virtual void MoveTo(XPoint __p)
virtual void RegisterClient(XObject *__NewClient)
virtual void SetPalette(char *__Pal, unsigned __PalLen)
virtual void SetState(unsigned long __Mask, unsigned __BoolValue)

Protected Fields

XRect Bounds
SLList < XObject * > Clients
XPoint Cursor
unsigned long Id
char ObjClass[40]
XPoint Origin
char Pal[80]
unsigned PalLen
XObject* Server
XPoint Size
unsigned long State

Protected Methods

int SendMessage(unsigned long __Receiver, unsigned long __Class, void *__Body, unsigned long __Size)
int SendMessage(unsigned long __Receiver, unsigned long __Class, long __Message)

Inherited from XEventBroker:

Public Methods

void AddListener(unsigned long __Listener, unsigned __Class)
void DelListener(unsigned long __Listener)
void DelListener(unsigned long __Listener, unsigned __Class)

Protected Fields

Map __map

Inherited from XObjectEventListener:

Public Methods

virtual int ProcessBroadcast(XEvent *__Event)
virtual int ProcessCommand(XMessage *__Event)
virtual int ProcessEvent(XEvent *__Event)
virtual int ProcessMessage(XMessage *__Event)
virtual int ProcessSignal(XEvent *__Event)

Inherited from XEventListener:


Documentation

Status line
XtStatusLine(XRect __r, unsigned long __Flags, StatusItem *__Items)
Constructs a new XtStatusLine
Parameters:
__r - status line bounds
__Flags - options, which can be:

HIDE_DISABLED_ITEMS - to hide the items that are disabled
__Items - linked list of items:

struct StatusItem {
char *Text;
char *KeyText;
int Key, Command;
unsigned Value;
StatusItem *Next;
};

This list can be constructed using the following function:

StatusItem *NewStatusItem(char *__Text, int __Key, int __Command, StatusItem *__ANextItem) which builds the entire list

~XtStatusLine()
Destructs the object's instance

virtual void Draw()
Draws the object

virtual StatusItem* GetValue()
Returns the status line content

virtual int ProcessKeyboardEvent(XKeyboardEvent *__Event)
Process keyboard events

virtual int ProcessMouseEvent(XMouseEvent *__Event)
Process mouse events

virtual void SetValue(StatusItem* __Items)
Sets a new status line content


This class has no child classes.

Go to the
hierarchy of classes.


Copyright ©1998 Dragos Acostachioaie
Last update on June 10, 1998

This page was generated with the help of doc++.