#include <CGfxScreen.h>
Public Methods | |
| CGfxScreen () | |
| Constructor. More... | |
| CGfxScreen (int ScreenID, int xsize, int ysize) | |
| Constructor. More... | |
| ~CGfxScreen () | |
| Destructor. More... | |
| void | setScreen (int ScreenID, int xsize, int ysize) |
| Set the paramets of the screen. More... | |
| void | drawText (string str, int x, int y, int style=TS_NOSTYLE) |
| Draws text to the display. More... | |
| void | putPixel (int x, int y) |
| Puts a pixel on the screen at (x,y). More... | |
| void | drawLine (int x1, int y1, int x2, int y2) |
| Draws a line on the screen. More... | |
| void | drawBox (int x1, int y1, int x2, int y2) |
| Draws a box on the screen. More... | |
| void | clear () |
| Clears the screen. More... | |
| int | getXSize () |
| Returns x size of screen. More... | |
| int | getYSize () |
| Returns y size of screen. More... | |
| void | drawGrid (int x1, int y1, int x2, int y2, int rows, int cols) |
| Draws a grid from (x1,y1) to (x2,y2) with given # of rows and columns. More... | |
|
|
Constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
Clears the screen.
|
|
||||||||||||||||||||
|
Draws a box on the screen.
|
|
||||||||||||||||||||||||||||
|
Draws a grid from (x1,y1) to (x2,y2) with given # of rows and columns.
|
|
||||||||||||||||||||
|
Draws a line on the screen.
|
|
||||||||||||||||||||
|
Draws text to the display.
|
|
|
Returns x size of screen.
|
|
|
Returns y size of screen.
|
|
||||||||||||
|
Puts a pixel on the screen at (x,y).
|
|
||||||||||||||||
|
Set the paramets of the screen.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001