00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef LIBGUI_CGRAPHICSWG19232_H_
00011 #define LIBGUI_CGRAPHICSWG19232_H_
00012
00013 #include "CGraphics.h"
00014
00015 class CImage;
00016
00020 class CGraphicsWG19232 : public CGraphics
00021 {
00022 public:
00023 CGraphicsWG19232(INT16 width, INT16 height);
00024 CGraphicsWG19232(void* mem_addr, INT16 width, INT16 height);
00025 ~CGraphicsWG19232();
00026
00027 virtual void FillRectangle(INT16 x, INT16 y, INT16 width, INT16 height);
00028
00029 virtual void DrawImage(CImage* img, INT16 x, INT16 y, INT8 anchor);
00030 protected:
00031 virtual INT32 GetPixel(INT16 x, INT16 y);
00032 private:
00033 static const UINT8 m_maskset[8];
00034 static const UINT8 m_maskclear[8];
00035 static const UINT8 m_maskrem[8];
00036 INT16 m_dYoffset;
00037 };
00038
00039 #endif