18#ifndef INCLUDED_GUIRENDERER
19#define INCLUDED_GUIRENDERER
Definition: Canvas2D.h:36
The GUI sprite, is actually several real sprites (images) like a collage.
Definition: CGUISprite.h:113
The main object that represents a whole GUI page.
Definition: CGUI.h:61
Rectangle class used for screen rectangles.
Definition: Rect.h:31
Definition: GUIRenderer.h:59
DrawCalls()
Definition: GUIRenderer.cpp:37
DrawCalls & operator=(const DrawCalls &)
Definition: GUIRenderer.cpp:53
std::shared_ptr< CTexture > CTexturePtr
Definition: Texture.h:23
Definition: GUIRenderer.h:38
void Draw(DrawCalls &Calls, CCanvas2D &canvas)
Definition: GUIRenderer.cpp:314
void UpdateDrawCallCache(const CGUI &pGUI, DrawCalls &Calls, const CStr8 &SpriteName, const CRect &Size, std::map< CStr8, std::unique_ptr< const CGUISprite > > &Sprites)
Same as the CColor class, but this one can also parse colors predefined in the GUI page (such as "yel...
Definition: CGUIColor.h:30
Definition: GUIRenderer.h:40
SDrawCall(const SGUIImage *image)
Definition: GUIRenderer.h:41
CRect m_Vertices
Definition: GUIRenderer.h:49
CTexturePtr m_Texture
Definition: GUIRenderer.h:46
CRect m_ObjectSize
Definition: GUIRenderer.h:48
float m_GrayscaleFactor
Definition: GUIRenderer.h:55
const SGUIImage * m_Image
Definition: GUIRenderer.h:44
CColor m_ColorAdd
Definition: GUIRenderer.h:53
CColor m_ColorMultiply
Definition: GUIRenderer.h:54
CGUIColor * m_BackColor
Definition: GUIRenderer.h:51
CRect ComputeTexCoords() const
Definition: GUIRenderer.cpp:257
A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprit...
Definition: CGUISprite.h:52