23 #ifndef BAGEL_BAGLIB_STORAGE_DEV_BMP_H 24 #define BAGEL_BAGLIB_STORAGE_DEV_BMP_H 26 #include "bagel/baglib/bmp_object.h" 27 #include "bagel/baglib/storage_dev_win.h" 46 ErrorCode setWorkBmp();
47 ErrorCode killWorkBmp();
50 return CBagStorageDev::getRect();
52 void setRect(
const CBofRect &xRect)
override {
53 CBagStorageDev::setRect(xRect);
56 return CBagStorageDev::getPosition();
58 void setPosition(
const CBofPoint &pos)
override {
59 CBagStorageDev::setPosition(pos);
62 bool getTransparent()
const {
65 void setTransparent(
bool bTrans =
true)
override {
69 ErrorCode setBackground(
CBofBitmap *pBmp)
override;
74 ErrorCode loadFileFromStream(
CBagIfstream &fpInput,
const CBofString &sWldName,
bool bAttach =
true)
override;
76 bool isAttached()
override {
77 return CBagBmpObject::isAttached();
84 ErrorCode attach()
override;
85 ErrorCode detach()
override;
99 void onLButtonDown(uint32 nFlags, CPoint *xPoint,
void *info =
nullptr)
override;
void onLButtonDown(uint32 nFlags, CPoint *xPoint, void *info=nullptr) override
Definition: ifstream.h:31
void onLButtonUp(uint32 nFlags, CBofPoint *xPoint, void *info) override
Definition: storage_dev_win.h:78
Definition: bmp_object.h:33
Definition: storage_dev_bmp.h:31