Simple text editor
Inheritance:
Public Methods
-
XtTextEditor(XRect __r, const char* __FileName, const char* __Title)
- Constructs a new XtTextEditor using the specified bounds, file name and title
-
~XtTextEditor()
- Destructs the object's instance
-
virtual void Draw()
- Draws the object
-
virtual bool ProcessKeyboardEvent(XKeyboardEvent* __Event)
- Process keyboard events
-
virtual bool ProcessMessage(XMessage* __Event)
- Process messages
-
virtual int Run()
- "Runs" the text editor.
-
virtual void SetState(unsigned long __Mask, bool __BoolValue)
- Sets the object's state
Protected Methods
-
virtual void InitScrollBar()
- Initialize the associated scroll bars
Public Methods
-
virtual void Close()
-
virtual void MoveTo(XPoint __p)
-
virtual bool ProcessMouseEvent(XMouseEvent* __Event)
-
virtual void Resize(XPoint __delta)
-
virtual void SetFrame(char* __Frame)
-
virtual void SetTitle(const char* __Title)
Protected Fields
-
chtype* Buffer
-
char* Title
-
char Frame[10]
Protected Methods
-
void FrameUpdate()
Inherited from XObject:
Public Methods
-
virtual void CalculateBounds()
-
XRect GetBounds()
-
virtual XEvent* GetEvent()
-
unsigned long GetId()
-
char* GetObjClass()
-
XPoint GetOrigin()
-
virtual char* GetPalette()
-
virtual unsigned GetPalEntry(unsigned __Index)
-
XPoint GetSize()
-
unsigned long GetState()
-
virtual bool GetState(unsigned long __Mask)
-
virtual void HandleEvent(XEvent* __Event)
-
virtual bool ProcessEvent(XEvent* __Event)
-
virtual void RegisterClient(XObject* __Client)
-
virtual void SetPalette(char* __Pal, unsigned __PalLen)
-
virtual void UnregisterClient(XObject* __Client)
Protected Fields
-
unsigned long Id
-
unsigned long State
-
XPoint Origin
-
XPoint Size
-
XPoint Cursor
-
XRect Bounds
-
char ObjClass[40]
-
char Pal[80]
-
unsigned PalLen
-
XObject* Server
-
ClientList Clients
Protected Methods
-
bool SendMessage(unsigned long __Receiver, unsigned long __Class, long __Message)
-
bool SendMessage(unsigned long __Receiver, unsigned long __Class, void* __Body, unsigned long __Size)
Public Methods
-
virtual void AddListener(unsigned long __Listener, unsigned __Class)
-
virtual void DelListener(unsigned long __Listener, unsigned __Class)
-
virtual void DelListener(unsigned long __Listener)
Protected Fields
-
Map __map
Public Methods
-
virtual bool ProcessCommand(XMessage* __Event)
-
virtual bool ProcessSignal(XEvent* __Event)
-
virtual bool ProcessBroadcast(XEvent* __Event)
Documentation
Simple text editor
- XtTextEditor(XRect __r, const char* __FileName, const char* __Title)
- Constructs a new XtTextEditor using the specified bounds, file name and title
- ~XtTextEditor()
- Destructs the object's instance
- virtual void Draw()
- Draws the object
- virtual bool ProcessKeyboardEvent(XKeyboardEvent* __Event)
- Process keyboard events
- virtual bool ProcessMessage(XMessage* __Event)
- Process messages
- virtual int Run()
- "Runs" the text editor.
Listens for events, process them, until the editor window is closed
(e.g. the CM_CLOSE command is received)
- virtual void SetState(unsigned long __Mask, bool __BoolValue)
- Sets the object's state
- virtual void InitScrollBar()
- Initialize the associated scroll bars
- This class has no child classes.
Alphabetic index Hierarchy of classes
Go to the hierarchy of classes.
Copyright ©2001 Dragos Acostachioaie
Last update on October 18, 2001
This page was generated with the help of DOC++.