[tvision Index] [tvision Hierarchy] [Headers]
The interface to the system More...
#include <system.h>
Inherits: TDisplay
A low-level class used to interface to the system.
Since this class was written by me, it is not a standard class and you should not use it. Otherwise you may end with a non-portable program.
[public]
Constructor.
Reads enviroment variables, acquires screen size, opens mouse and screen devices, catches some useful signals and starts an interval timer.
[public]
Destructor.
Releases the resources allocated by the constructor.
[public static]
Returns the first available event.
[public static]
Emits a beep.
[public static]
Puts an event in the event queue.
Do not use it, use TProgram::putEvent() if you need.
[public static]
Recovers the execution of the application.
Resumes the execution of the process after the user stopped it. Called by TApplication::resume(). You should call the latter method.
[public static]
Stops the execution of the application.
Suspends execution of the process. Called by TApplication::suspend(). You should call the latter method.
[public static]
Shows or hides the cursor.
Flag `show' specifies the operation to perform.
[public static]
Shows or hides the mouse pointer.
Flag `show' specifies the operation to perform.
[public static]
Moves the cursor to another place.
Parameters `x' and `y' are 0-based.
[public static]
Writes a row of character & attribute pairs on the screen.
`dst' is the destination position, `src' is a pointer to the source buffer and `len' is the size of the buffer expressed as the number of pairs.
[public]
Holds the current screen mode.
It is initialized by the constructor if this class. It is read by TProgram::initScreen().
[public]
Holds the current screen width.
It is initialized by the constructor of this class.
[public]
Holds the current screen height.
It is initialized by the constructor of this class.
[public]
Holds the current screen buffer address.
It is initialized by the constructor of this class.
Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999 | Kdoc |