Solution refactoring and restructuring, removed Boost dependency, removed unused tools

This commit is contained in:
2022-11-21 23:42:01 +02:00
parent 33f19f9ff6
commit 9ef9f39e88
817 changed files with 326 additions and 59698 deletions

38
src/EterLib/GrpSubImage.h Normal file
View File

@ -0,0 +1,38 @@
#pragma once
#include "GrpImage.h"
class CGraphicSubImage : public CGraphicImage
{
public:
typedef CRef<CGraphicImage> TRef;
public:
static TType Type();
static char m_SearchPath[256];
public:
CGraphicSubImage(const char* c_szFileName);
virtual ~CGraphicSubImage();
bool CreateDeviceObjects();
bool SetImageFileName(const char* c_szFileName);
void SetRectPosition(int left, int top, int right, int bottom);
void SetRectReference(const RECT& c_rRect);
static void SetSearchPath(const char * c_szFileName);
protected:
void SetImagePointer(CGraphicImage* pImage);
bool OnLoad(int iSize, const void* c_pvBuf);
void OnClear();
bool OnIsEmpty() const;
bool OnIsType(TType type);
protected:
CGraphicImage::TRef m_roImage;
};