|
ErrorCode | loadBitmaps (const char *pszBack, const char *pszThumb, const char *pszLeftUp=nullptr, const char *pszRightUp=nullptr, const char *pszLeftDown=nullptr, const char *pszRightDown=nullptr) |
|
ErrorCode | setPos (int nPos, bool bRepaint=true, bool isInitial=false) |
|
int | getPos () const |
|
ErrorCode | lineLeft () |
|
ErrorCode | lineRight () |
|
ErrorCode | pageLeft () |
|
ErrorCode | pageRight () |
|
ErrorCode | home () |
|
ErrorCode | end () |
|
int | getScrollMin () const |
|
int | getScrollMax () const |
|
void | setLineDelta (const int nDelta) |
|
int | getLineDelta () const |
|
void | setPageDelta (const int nDelta) |
|
int | getPageDelta () const |
|
void | getScrollRange (int &nMin, int &nMax) |
|
void | setScrollRange (int nMin, int nMax, bool bRepaint=true) |
|
ErrorCode | setText (const char *pszText, int nFlags=JUSTIFY_CENTER) |
|
void | setRepeatTimer (uint32 nMilliSeconds) |
|
ErrorCode | paint (CBofRect *pRect=nullptr) |
|
| CBofWindow () |
|
| CBofWindow (const char *pszName, int x, int y, int nWidth, int nHeight, CBofWindow *pParent) |
|
virtual | ~CBofWindow () |
|
virtual ErrorCode | create (const char *pszName, int x, int y, int nWidth, int nHeight, CBofWindow *pParent, uint32 nControlID=0) |
|
virtual ErrorCode | create (const char *pszName, CBofRect *pRect, CBofWindow *pParent, uint32 nControlID=0) |
|
virtual void | destroy () |
|
virtual void | destroyWindow () |
|
void | show () |
|
void | select () |
|
void | hide () |
|
void | center () |
|
void | move (int x, int y, bool bRepaint=false) |
|
void | reSize (CBofRect *pRect, bool bRepaint=false) |
|
virtual ErrorCode | close () |
|
void | postMessage (uint32 nMessage, uint32 lParam1, uint32 lParam2) |
|
void | postUserMessage (uint32 lMessage, uint32 lExtraInfo) |
|
void | setTimer (uint32 nID, uint32 nInterval, BofCallback pCallBack=nullptr) |
|
void | killTimer (uint32 nID) |
|
void | killMyTimers () |
|
CBofWindow * | getParent () const |
|
void | validateAnscestors (CBofRect *pRect=nullptr) |
|
void | setActive () |
|
CBofRect | getWindowRect () const |
|
CBofRect | getClientRect () |
|
CBofRect | getRect () const |
|
int | width () const |
|
int | height () const |
|
void | screenToClient (CBofPoint *pPoint) |
|
void | selectPalette (CBofPalette *pPal) |
|
ErrorCode | setBackdrop (CBofBitmap *pNewBitmap, bool bRefresh=false) |
|
ErrorCode | setBackdrop (const char *pszFileName, bool bRefresh=false) |
|
void | clearBackdrop () |
|
CBofBitmap * | getBackdrop () const |
|
bool | hasBackdrop () const |
|
void | killBackdrop () |
|
ErrorCode | paintBackdrop (CBofRect *pRect=nullptr, int nTransparentColor=-1) |
|
void | setControlID (uint32 nID) |
|
uint32 | getControlID () const |
|
void | setBkColor (RGBCOLOR cColor) |
|
RGBCOLOR | getBkColor () const |
|
void | setFgColor (RGBCOLOR cColor) |
|
RGBCOLOR | getFgColor () const |
|
void | setPrevMouseDown (CBofPoint p) |
|
CBofPoint | getPrevMouseDown () const |
|
void | setCapture () |
|
void | releaseCapture () |
|
bool | hasCapture () const |
|
void | setFocus () |
|
void | releaseFocus () |
|
bool | hasFocus () const |
|
void | flushAllMessages () |
|
void | validateRect (const CBofRect *pRect) |
|
void | invalidateRect (const CBofRect *pRect) |
|
virtual void | onBofButton (CBofObject *pButton, int nExtraInfo) |
|
virtual void | onBofScrollBar (CBofObject *pButton, int nNewPos) |
|
virtual void | onBofListBox (CBofObject *pListBox, int nItemIndex) |
|
virtual void | onMainLoop () |
|
virtual void | onSoundNotify (CBofObject *pObject, uint32 lParam2) |
|
virtual void | onMovieNotify (uint32 lParam1, uint32 lParam2) |
|
virtual void | onMCINotify (uint32 wParam, uint32 lParam) |
|
virtual void | handleEvent (const Common::Event &event) |
|
Graphics::ManagedSurface * | getSurface () |
|
bool | isCreated () const |
|
virtual void | enable () |
|
virtual void | disable () |
|
bool | isVisible () const |
|
bool | isEnabled () const |
|
void | updateWindow () |
|
void | setParent (CBofWindow *parent) |
|
void | handleEvents () |
|
virtual void | onKeyHit (uint32 lKey, uint32 lRepCount) |
|
void | fillWindow (byte iColor) |
|
void | fillRect (CBofRect *pRect, byte iColor) |
|
ErrorCode | paintBeveledText (CBofRect *rect, const CBofString &string, int size, int weight, RGBCOLOR color, int justify, uint32 format) |
|
| CLList () |
|
| CLList (void *pObj) |
|
virtual | ~CLList () |
|
void | Insert (CLList *pNewList) |
|
void | Delete () |
|
void | addToHead (CLList *pNewList) |
|
void | addToTail (CLList *pNewList) |
|
void | MoveToHead () |
|
void | MoveToTail () |
|
void | MoveLeft () |
|
void | MoveRight () |
|
CLList * | getHead () |
|
CLList * | getTail () |
|
CLList * | getPrev () const |
|
CLList * | getNext () const |
|
void * | getData () const |
|
void | PutData (void *pObj) |
|
void | FlushList () |
|
void | reportError (ErrorCode errCode, const char *format,...) |
|
bool | errorOccurred () const |
|
ErrorCode | getErrorCode () const |
|
void | clearError () |
|
|
int | pointToPos (CBofPoint *pPoint) |
|
void | onPaint (CBofRect *pDirtyRect) override |
|
void | onLButtonDown (uint32 nFlags, CBofPoint *pPoint, void *=nullptr) override |
|
void | onLButtonUp (uint32 nFlags, CBofPoint *pPoint, void *=nullptr) override |
|
void | onMouseMove (uint32 nFlags, CBofPoint *pPoint, void *=nullptr) override |
|
void | onTimer (uint32) override |
|
void | checkTimers () |
|
virtual void | onLButtonDblClk (uint32 nFlags, CBofPoint *pPoint) |
|
virtual void | onRButtonDown (uint32 nFlags, CBofPoint *pPoint) |
|
virtual void | onRButtonUp (uint32 nFlags, CBofPoint *pPoint) |
|
virtual void | onRButtonDblClk (uint32 nFlags, CBofPoint *pPoint) |
|
virtual void | onReSize (CBofSize *pSize) |
|
virtual void | onClose () |
|
virtual void | onUserMessage (uint32 nMessage, uint32 lParam) |
|
virtual void | onActivate () |
|
virtual void | onDeActivate () |
|
virtual void | bofMessageBox (const Common::String &content, const Common::String &title) |
|