ScummVM API documentation
Bagel::CBagDossierObject Class Reference
Inheritance diagram for Bagel::CBagDossierObject:
Bagel::CBagTextObject Bagel::CBagObject Bagel::CBagParseObject Bagel::CBofObject Bagel::CBofError

Public Member Functions

ParseCodes setInfo (CBagIfstream &istr) override
 
ErrorCode attach () override
 
ErrorCode detach () override
 
ErrorCode update (CBofBitmap *, CBofPoint, CBofRect *=nullptr, int=-1) override
 
void onLButtonUp (uint32, CBofPoint *, void *=nullptr) override
 
CBofRect getRect () override
 
void setNotActive (bool b)
 
bool getNotActive () const
 
void activateDossierObject (CBagLog *logWld)
 
void deactivateDossierObject (CBagLog *logWld)
 
void setResiduePrintedObject (CBagObject *p)
 
void showDossierText ()
 
- Public Member Functions inherited from Bagel::CBagTextObject
CBofRect getRect () override
 
CBofSize getSize () const
 
void setSize (const CBofSize &xSize) override
 
int getPointSize () const
 
void setPointSize (int xSize)
 
int getColor () const
 
void setColor (int nColor)
 
int getFont () const
 
void setFont (int nFont)
 
bool runObject () override
 
const CBofStringgetInitInfo () const override
 
void setInitInfo (const CBofString &info) override
 
CBofStringgetPSText () const
 
void setPSText (CBofString *p)
 
const CBofStringgetText ()
 
void setText (const CBofString &s)
 
void recalcTextRect (bool bTextFromFile)
 
ErrorCode update (CBofBitmap *pBmp, CBofPoint pt, CBofRect *=nullptr, int=-1) override
 
ErrorCode attach () override
 
ErrorCode detach () override
 
ParseCodes setInfo (CBagIfstream &istr) override
 
void setProperty (const CBofString &sProp, int nVal) override
 
int getProperty (const CBofString &sProp) override
 
bool isCaption () const
 
void setTitle (bool b=true)
 
bool isTitle () const
 
void onLButtonUp (uint32, CBofPoint *, void *=nullptr) override
 
void setRPObject (CBagObject *prp)
 
CBagObjectgetRPObject () const
 
- Public Member Functions inherited from Bagel::CBagObject
bool isInteractive ()
 
void setInteractive (bool b)
 
virtual bool runCallBack ()
 
virtual BagFuncPtr getCallBack ()
 
void setExpression (CBagExpression *pExpr)
 
CBagExpressiongetExpression () const
 
BagObjectType getType ()
 
void setType (BagObjectType nType)
 
virtual bool isInside (const CBofPoint &xPoint)
 
bool isMovable ()
 
void setMovable (bool b=true)
 
bool isStretchable ()
 
void setStretchable (bool b=true)
 
bool isModal ()
 
void setModal (bool b=true)
 
virtual bool isModalDone ()
 
bool isVisible ()
 
void setVisible (bool b=true)
 
bool isHighlight ()
 
void setHighlight (bool b=true)
 
bool isActive ()
 
void setActive (bool b=true)
 
bool isTransparent ()
 
virtual void setTransparent (bool b=true)
 
bool isHideOnClick ()
 
void setHideOnClick (bool b=true)
 
bool isImmediateRun ()
 
void setImmediateRun (bool b=true)
 
bool isLocal ()
 
void setLocal (bool b=true)
 
bool isNegative ()
 
void setNegative (bool b=true)
 
bool isConstantUpdate ()
 
void setConstantUpdate (bool b=true)
 
bool isTimeless ()
 
void setTimeless (bool b=true)
 
bool isFloating ()
 
void setFloating (bool b=true)
 
bool isPreload ()
 
void setPreload (bool b=true)
 
bool isForeGround ()
 
void setForeGround (bool b=true)
 
int getProperties ()
 
void setProperties (int nProperties)
 
bool isDirty ()
 
void setDirty (bool b=true)
 
bool isMsgWaiting ()
 
void setMsgWaiting (bool b=true)
 
bool isAlwaysUpdate ()
 
void setAlwaysUpdate (bool b=true)
 
bool isNoMenu ()
 
void setNoMenu (bool b=true)
 
virtual CBofPoint getPosition ()
 
virtual int getRefId ()
 
virtual int getOverCursor ()
 
virtual int getState ()
 
virtual const CBofStringgetFileName ()
 
CBagMenugetMenuPtr ()
 
virtual const CBofStringgetRefName ()
 
virtual void setRefName (const CBofString &s)
 
virtual void setFileName (const CBofString &s)
 
virtual void setRefId (int id)
 
virtual void setOverCursor (int curs)
 
virtual void setState (int state)
 
virtual void setMenuPtr (CBagMenu *pm)
 
virtual void setPosition (const CBofPoint &pos)
 
virtual bool onObjInteraction (CBagObject *, CBagStorageDev *)
 
virtual void onLButtonDown (uint32, CBofPoint *, void *=nullptr)
 
virtual bool onMouseMove (uint32, CBofPoint, void *=nullptr)
 
virtual bool onMouseOver (uint32, CBofPoint, void *=nullptr)
 
- 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)
 
- Public Member Functions inherited from Bagel::CBofError
void reportError (ErrorCode errCode, const char *format,...)
 
bool errorOccurred () const
 
ErrorCode getErrorCode () const
 
void clearError ()
 

Static Public Member Functions

static void deactivateCurDossier ()
 
static void initialize ()
 
- Static Public Member Functions inherited from Bagel::CBagParseObject
static void initialize ()
 
- 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 ()
 

Public Attributes

CBofString _sSuspectVar
 

Static Public Attributes

static CBagDossierObject_curDossier
 

Additional Inherited Members

- Public Types inherited from Bagel::CBagParseObject
enum  KEYWORDS {
  UNKNOWN = 0, STORAGEDEV, START_WLD, VARIABLE,
  REMARK, DISKID, CURSOR, SHAREDPAL,
  DISKAUDIO, PDASTATE, SYSSCREEN, WIELDCURSOR
}
 
- Protected Member Functions inherited from Bagel::CBagObject
bool isProperty (BAG_OBJECT_PROPERTIES xProp)
 
void setProperty (BAG_OBJECT_PROPERTIES xProp, bool bVal)
 
- Protected Member Functions inherited from Bagel::CBofError
virtual void bofMessageBox (const Common::String &content, const Common::String &title)
 
- Protected Attributes inherited from Bagel::CBagTextObject
bool _bCaption: true
 
bool _bTitle: true
 
bool _bReAttach: true
 
CBofString_psText
 
- Protected Attributes inherited from Bagel::CBagObject
uint16 _xObjType = AREA_OBJ
 
byte _bInteractive = 0
 
- Protected Attributes inherited from Bagel::CBofError
ErrorCode _errCode
 
- Static Protected Attributes inherited from Bagel::CBofError
static int _count
 

Member Function Documentation

◆ setInfo()

ParseCodes Bagel::CBagDossierObject::setInfo ( CBagIfstream istr)
overridevirtual

Takes in info and then removes the relative information and returns the info without the relevant info.

Reimplemented from Bagel::CBagParseObject.


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