23 #ifndef BAGEL_BAGLIB_PDA_H 24 #define BAGEL_BAGLIB_PDA_H 26 #include "bagel/spacebar/baglib/base_pda.h" 27 #include "bagel/spacebar/baglib/movie_object.h" 32 #define PDA_INCREMENT 13 38 static bool _flashingFl;
39 static bool _soundsPausedFl;
56 static void initialize();
58 ErrorCode attach()
override;
84 ErrorCode loadFile(
const CBofString &sFile)
override;
111 bool isInside(
const CBofPoint &xPoint)
override;
132 static bool isMoviePlaying() {
133 return _pdaMode == PDA_MOO_MODE;
136 static void runWaitingMovie();
158 ErrorCode attachActiveObjects()
override;
159 ErrorCode detachActiveObjects()
override;
bool hideCurDisplay() override
Definition: base_pda.h:53
bool hideInventory() override
CBagObject * onNewButtonObject(const CBofString &sInit) override
void onLButtonDown(uint32 nFlags, CBofPoint *xPoint, void *info=nullptr) override
void handleZoomButton(bool bButtonDown)
bool paintFGObjects(CBofBitmap *pBmp) override
void onLButtonUp(uint32 nFlags, CBofPoint *xPoint, void *info=nullptr) override
static bool isMovieWaiting()
Definition: movie_object.h:39
CBagPDA(CBofWindow *pParent=nullptr, const CBofRect &xRect=CBofRect(), bool bActivated=false)
static void removeFromMovieQueue(CBagMovieObject *)
void setPosInWindow(int cx, int cy, int nDist=13)
static void addToMovieQueue(CBagMovieObject *)
Definition: storage_dev_bmp.h:32
bool restoreCurDisplay() override
bool showInventory() override
ErrorCode update(CBofBitmap *pBmp, CBofPoint pt, CBofRect *pSrcRect=nullptr, int nMaskColor=-1) override