#include <storage_dev_win.h>
Public Types | |
enum | MouseActivity { kMouseNONE = 0x0000, kMouseDRAGGING = 0x0001 } |
Public Types inherited from Bagel::CBagParseObject | |
enum | KEYWORDS { UNKNOWN = 0, STORAGEDEV, START_WLD, VARIABLE, REMARK, DISKID, CURSOR, SHAREDPAL, DISKAUDIO, PDASTATE, SYSSCREEN, WIELDCURSOR } |
Public Member Functions | |
virtual ErrorCode | preFilter (CBofBitmap *pBmp, CBofRect *pRect, CBofList< CBagObject *> *pList=nullptr) |
void | makeListDirty (CBofList< CBagObject *> *pList) |
void | setDiskID (uint16 nDiskID) |
uint16 | getDiskID () const |
virtual ErrorCode | setloadFilePos (const CBofPoint) |
bool | isCloseup () const |
void | setCloseup (bool b=true) |
bool | isCIC () |
void | setCIC (bool b=true) |
bool | isCustom () const |
void | setCustom (bool b=true) |
int | getDeviceType () const |
int | getObjectCount () |
CBagObject * | getObjectByPos (int nIndex) |
CBagObject * | getObject (int nRefId, bool bActiveOnly=false) |
CBagObject * | getObject (const CBofPoint &xPoint, bool bActiveOnly=false) |
CBagObject * | getObject (const CBofString &sName, bool bActiveOnly=false) |
CBagObject * | getObjectByType (const CBofString &sType, bool bActiveOnly=false) |
CBofList< CBagObject * > * | getObjectList () const |
void | setObjectList (CBofList< CBagObject *> *pOList, CBofList< CBagExpression *> *pEList=nullptr) |
bool | contains (CBagObject *pObj, bool bActive=true) |
virtual CBofRect | getRect () |
virtual void | setRect (const CBofRect &xRect) |
virtual CBofPoint | getPosition () |
virtual void | setPosition (const CBofPoint &pos) |
virtual ErrorCode | addObject (CBagObject *pObj, int nPos=0) |
virtual ErrorCode | activateLocalObject (CBagObject *pObj) |
virtual ErrorCode | activateLocalObject (const CBofString &sName) |
virtual ErrorCode | attachActiveObjects () |
virtual ErrorCode | removeObject (CBagObject *pRObj) |
virtual ErrorCode | deactivateLocalObject (CBagObject *pObj) |
virtual ErrorCode | deactivateLocalObject (const CBofString &sName) |
virtual ErrorCode | detachActiveObjects () |
virtual void | setHelpFilename (const CBofString &) |
const CBofString & | getName () const |
void | setName (const CBofString &str) |
void | setFilterId (uint16 nId) |
uint16 | getFilterId () const |
void | setFadeId (uint16 nId) |
uint16 | getFadeId () const |
const CBofString & | getPrevSDev () const |
const CBofPoint | getPrevLoc () const |
void | setPrevSDev (const CBofString &str) |
bool | getCloseOnOpen () const |
void | setCloseOnOpen (bool bVal) |
uint16 | getExitOnEdge () const |
void | setExitOnEdge (uint16 nVal) |
CBagObject * | getLActiveObject () const |
ErrorCode | setLActiveObject (CBagObject *pObj) |
virtual ErrorCode | onLActiveObject (uint32, CBofPoint *, void *=nullptr) |
MouseActivity | getLActivity () const |
void | setLActivity (MouseActivity ma) |
ErrorCode | paintStorageDevice (CBofWindow *pWnd, CBofBitmap *pBmp=nullptr, CBofRect *=nullptr) |
virtual void | setAssociateWnd (CBofWindow *pWnd) |
virtual CBofWindow * | getAssociateWnd () |
ParseCodes | setInfo (CBagIfstream &fpInput) override |
virtual ErrorCode | setBackground (CBofBitmap *pBmp)=0 |
virtual CBofBitmap * | getBackground ()=0 |
const CBofString & | getBackgroundName () const |
ErrorCode | attach () override |
ErrorCode | detach () override |
virtual ErrorCode | close () |
virtual ErrorCode | loadObjects () |
virtual ErrorCode | releaseObjects () |
virtual ErrorCode | noObjectsUnderMouse () |
virtual const CBofPoint | devPtToViewPort (const CBofPoint &xPoint) |
virtual const CBofPoint | viewPortToDevPt (const CBofPoint &xPoint) |
virtual ErrorCode | loadFile (const CBofString &sWldName) |
virtual ErrorCode | loadFileFromStream (CBagIfstream &fpInput, const CBofString &sWldName, bool bAttach=true) |
virtual void | onMouseMove (uint32, CBofPoint *, void *=nullptr) |
virtual ErrorCode | onMouseOver (uint32, CBofPoint *, void *=nullptr) |
virtual void | onLButtonDown (uint32, CBofPoint *, void *=nullptr) |
virtual void | onLButtonUp (uint32, CBofPoint *, void *=nullptr) |
virtual ErrorCode | onCursorUpdate (int) |
virtual CBagObject * | onNewSpriteObject (const CBofString &sInit) |
virtual CBagObject * | onNewBitmapObject (const CBofString &sInit) |
virtual CBagObject * | onNewTextObject (const CBofString &sInit) |
virtual CBagObject * | onNewLinkObject (const CBofString &sInit) |
virtual CBagObject * | onNewRPObject (const CBofString &sInit) |
virtual CBagObject * | onNewEDObject (const CBofString &sInit) |
virtual CBagObject * | onNewDosObject (const CBofString &sInit) |
virtual CBagObject * | onNewSoundObject (const CBofString &sInit) |
virtual CBagObject * | onNewButtonObject (const CBofString &sInit) |
virtual CBagObject * | onNewCharacterObject (const CBofString &sInit) |
virtual CBagObject * | onNewMovieObject (const CBofString &) |
virtual CBagObject * | onNewCommandObject (const CBofString &sInit) |
virtual CBagObject * | onNewAreaObject (const CBofString &sInit) |
virtual CBagObject * | onNewExpressionObject (const CBofString &sInit) |
virtual CBagObject * | onNewVariableObject (const CBofString &sInit) |
virtual CBagObject * | onNewUserObject (const CBofString &sInit) |
virtual CBagObject * | onNewThingObject (const CBofString &sInit) |
virtual CBofPoint | arrangeFloater (CBofPoint &nPos, CBagObject *pObj) |
int | getNumFloatPages () const |
void | setNumFloatPages (int nFloatPages) |
void | onSetFilter (bool(*filterFunction)(uint16 nFilterId, CBofBitmap *, CBofRect *)) |
FilterFunction | getFilter () |
bool | isFiltered () const |
Public Member Functions inherited from Bagel::CBagParseObject | |
virtual bool | isAttached () |
int | getStringFromStream (CBagIfstream &istr, CBofString &sStr, const CBofString &sEndChars, bool bPutBack=false) |
int | getAlphaNumFromStream (CBagIfstream &istr, CBofString &sStr) |
int | getOperStrFromStream (CBagIfstream &istr, CBofString &sStr) |
int | getIntFromStream (CBagIfstream &istr, int &nNum) |
int | getRectFromStream (CBagIfstream &istr, CBofRect &rect) |
int | getKeywordFromStream (CBagIfstream &istr, KEYWORDS &keyword) |
int | putbackStringOnStream (CBagIfstream &istr, const CBofString &sStr) |
int | parseAlertBox (CBagIfstream &istr, const char *sTitle, const char *sFile, int nLine) |
Static Public Member Functions | |
static void | initialize () |
static void | shutdown () |
static CBofPoint & | getLastCursorLocation () |
static void | setDirtyAllObjects (bool b) |
static bool | getDirtyAllObjects () |
static void | setPreFiltered (bool b=true) |
static bool | getPreFiltered () |
static bool | preFilterPan () |
static void | setPreFilterPan (bool b=true) |
Static Public Member Functions inherited from Bagel::CBagParseObject | |
static void | initialize () |
Static Protected Attributes | |
static CBofPoint * | _xCursorLocation |
static CBofRect * | gRepaintRect |
static bool | _bHandledUpEvent |
static bool | _hidePdaFl |
static bool | _bPanPreFiltered |
static bool | _bDirtyAllObjects |
static bool | _bPreFilter |
CBagPanWindow is a window that contains a slide bitmap object. It has specialize functions for handling slide bitmaps and slide objects.
void Bagel::CBagStorageDev::makeListDirty | ( | CBofList< CBagObject *> * | pList | ) |
Make all the objects in a list dirty