This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

55
pop/DRGSPRT.HPP Normal file
View File

@@ -0,0 +1,55 @@
#ifndef _POP_DRAGSPRITE_HPP_
#define _POP_DRAGSPRITE_HPP_
#ifndef _COMMON_PUREBITMAP_HPP_
#include <common/purebmp.hpp>
#endif
#ifndef _SPRITE_PURESPRITE_HPP_
#include <pop/sprite.hpp>
#endif
class DragSprite : public PureBitmap, public PureSprite
{
public:
DragSprite(void);
virtual ~DragSprite();
void setBitmap(HBITMAP hBitmap);
protected:
virtual operator PureBitmap&(void);
private:
DragSprite(const DragSprite &someDragSprite);
DragSprite &operator=(const DragSprite &someDragSprite);
};
inline
DragSprite::DragSprite(void)
{
}
inline
DragSprite::DragSprite(const DragSprite &/*someDragSprite*/)
{ // private implementation
}
inline
DragSprite::~DragSprite()
{
}
inline
DragSprite::operator PureBitmap&(void)
{
return *this;
}
inline
DragSprite &DragSprite::operator=(const DragSprite &/*someDragSprite*/)
{ // private implementation
return *this;
}
inline
void DragSprite::setBitmap(HBITMAP hBitmap)
{
(PureBitmap&)*this=hBitmap;
}
#endif