My Project
GDIBrush.h
1 #pragma once
2 namespace ParaEngine
3 {
4  struct GUITextureElement;
9  class CGDIBrush {
10  public:
11  virtual int GetBrushType()const {return m_eType;}
12  virtual CGDIBrush *Clone()const;
13  void SetTexture(TextureEntity* pTex) {m_pTexture=pTex;}
14  TextureEntity* GetTexture()const {return m_pTexture;}
15  void GetRect(RECT *rect)const{*rect=m_rect;}
16  ~CGDIBrush();
17  CGDIBrush &operator =(const CGDIBrush& brush);
18  bool operator ==(const CGDIBrush& brush);
19  friend class CGDIPen;
20  protected:
21  //we do not allow direct creation of a brush
22  CGDIBrush(){};
23  TextureEntity *m_pTexture;
24  RECT m_rect;
25  //brush type
26  int m_eType;
27 
28  };
34  {
35  public:
36  CGDISolidBrush(const Color &color);
37  Color GetColor()const{return m_color;}
38  void SetColor(const Color &color){m_color=color;}
39  protected:
40  Color m_color;
41  };
47  {
48  public:
49  CGDITextureBrush(TextureEntity *pTexture, const RECT *rect);
50  };
51 }
Which DXT Compression to Use? Obviously, there are some trade-offs between the different formats whic...
Definition: TextureEntity.h:29
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: ManagedDef.h:18
The CGDITextureBrush class defines a CGDIBrush object that contains an texture object that is used fo...
Definition: GDIBrush.h:46
CGDIBrush is an abstract base class that defines a CGDIBrush object.
Definition: GDIBrush.h:9
a pen object in the GDI class
Definition: GDIPen.h:9
The CGDISolidBrush class defines a solid color CGDIBrush object.
Definition: GDIBrush.h:33
Definition: ParaColor.h:275