- Inherits from:
- DTextDrawable
- Declared in:
- DTextScreen.h
Object
|
+---DTextDrawable
|
+---DTextSurface
Class Description
The DTextSurface class implements a class for off-screen drawing to a text
surface. This surface can then be blit to the text screen.
- Last modified:
- 13-Dec-2005 (DTextScreen.h)
Instance Variables
- private DIntArray *_characters
- the characters in the surface
- private DIntArray *_attributes
- the attributes in the surface
- commonly used methods
- - (DTextSurface *) init
- Initialise to an text surface object
- Returns:
- the object
- Copy related methods
- - deepen
- Deepen a copy of the text surface object (not implemented)
- Returns:
- the object
- Deconstructor
- - free
- Free the text surface
- Returns:
- the object
- Surface control methods
- - (DTextSurface *) close
- Close the surface
- Returns:
- the object
- - (BOOL) isOpen
- Check if the surface is open
- Returns:
- is it ?
- - (BOOL) open :(unsigned) columns :(unsigned) lines :(DColor *) fgc :(DColor *) bgc
- Open a text screen surface
- Parameters:
- columns - the number of columns
lines - the number of lines
fgc - the initial foreground color
bgc - the initial backgrounc color
- Returns:
- success
generated 08-Jan-2006 by ObjcDoc 3.0.0