ScummVM API documentation
Bagel::CBofTextBox Class Reference
Inheritance diagram for Bagel::CBofTextBox:
Bagel::CBofObject Bagel::CBofError

Public Member Functions

 CBofTextBox (CBofWindow *pWindow, const CBofRect *pRect, const CBofString &cText)
 
 CBofTextBox (CBofBitmap *pBitmap, const CBofRect *pRect, const CBofString &cText)
 
void setText (const CBofString &cText)
 
ErrorCode setBox (const CBofRect *pRect)
 
void setDisplay (CBofWindow *pWindow)
 
void setDisplay (CBofBitmap *pBitmap)
 
void setTextAttribs (int nSize, int nWeight, RGBCOLOR cColor=CTEXT_COLOR, int nFont=FONT_DEFAULT)
 
void setPointSize (const int nSize)
 
int getPointSize () const
 
void setWeight (const int nWeight)
 
int getWeight () const
 
void setPageLength (const int nSize)
 
int getPageLength () const
 
void setColor (const RGBCOLOR cColor)
 
RGBCOLOR getColor () const
 
void setFont (int nFont)
 
int getFont () const
 
ErrorCode lineUp ()
 
ErrorCode lineDown ()
 
ErrorCode pageUp ()
 
ErrorCode pageDown ()
 
ErrorCode scrollUp (int nLines)
 
ErrorCode scrollDown (const int nLines)
 
ErrorCode scrollTo (int nLine)
 
ErrorCode display ()
 
ErrorCode erase ()
 
void flushBackground ()
 
int getCurrLine ()
 
ErrorCode setCurrLine (const int nLine)
 
- Public Member Functions inherited from Bagel::CBofError
void reportError (ErrorCode errCode, const char *format,...)
 
bool errorOccurred () const
 
ErrorCode getErrorCode () const
 
void clearError ()
 

Protected Member Functions

int getIndex (int nLines)
 
- Protected Member Functions inherited from Bagel::CBofError
virtual void bofMessageBox (const Common::String &content, const Common::String &title)
 

Protected Attributes

CBofString _cBuffer
 
CBofText_pTextField
 
CBofWindow_pDestWindow
 
CBofBitmap_pDestBitmap
 
int _nCurrentLine
 
int _nCurrentIndex
 
int _nNumLines
 
int _nPageSize
 
RGBCOLOR _cTextColor
 
int _nPointSize
 
int _nWeight
 
int _nTextFont
 
- Protected Attributes inherited from Bagel::CBofError
ErrorCode _errCode
 

Additional Inherited Members

- Static Public Member Functions inherited from Bagel::CBofObject
static bool isValidObject (const CBofObject *pObject)
 
- Static Public Member Functions inherited from Bagel::CBofError
static void fatalError (ErrorCode errCode, const char *format,...)
 
static void initialize ()
 
static int getErrorCount ()
 
- Static Protected Attributes inherited from Bagel::CBofError
static int _count
 

The documentation for this class was generated from the following file: