23 #ifndef BAGEL_BAGLIB_STORAGE_DEV_BMP_H 24 #define BAGEL_BAGLIB_STORAGE_DEV_BMP_H 26 #include "bagel/spacebar/baglib/bmp_object.h" 27 #include "bagel/spacebar/baglib/storage_dev_win.h" 47 ErrorCode setWorkBmp();
48 ErrorCode killWorkBmp();
51 return CBagStorageDev::getRect();
53 void setRect(
const CBofRect &xRect)
override {
54 CBagStorageDev::setRect(xRect);
57 return CBagStorageDev::getPosition();
59 void setPosition(
const CBofPoint &pos)
override {
60 CBagStorageDev::setPosition(pos);
63 bool getTransparent()
const {
66 void setTransparent(
bool bTrans =
true)
override {
70 ErrorCode setBackground(
CBofBitmap *pBmp)
override;
75 ErrorCode loadFileFromStream(
CBagIfstream &fpInput,
const CBofString &sWldName,
bool bAttach =
true)
override;
77 bool isAttached()
override {
78 return CBagBmpObject::isAttached();
85 ErrorCode attach()
override;
86 ErrorCode detach()
override;
void onLButtonDown(uint32 nFlags, CBofPoint *xPoint, void *info=nullptr) override
Definition: ifstream.h:32
Definition: bmp_object.h:34
void onLButtonUp(uint32 nFlags, CBofPoint *xPoint, void *info) override
Definition: storage_dev_win.h:79
Definition: storage_dev_bmp.h:32