Changeset View
Changeset View
Standalone View
Standalone View
source/gui/GUIRenderer.h
Show All 21 Lines | |||||
#include "graphics/ShaderTechnique.h" | #include "graphics/ShaderTechnique.h" | ||||
#include "graphics/Texture.h" | #include "graphics/Texture.h" | ||||
#include "lib/res/handle.h" | #include "lib/res/handle.h" | ||||
#include "ps/CStr.h" | #include "ps/CStr.h" | ||||
#include "ps/Shapes.h" | #include "ps/Shapes.h" | ||||
#include <vector> | #include <vector> | ||||
class CGUI; | |||||
struct SGUIImageEffects; | struct SGUIImageEffects; | ||||
struct SGUIImage; | struct SGUIImage; | ||||
namespace GUIRenderer | namespace GUIRenderer | ||||
{ | { | ||||
class IGLState | class IGLState | ||||
{ | { | ||||
public: | public: | ||||
Show All 36 Lines | public: | ||||
DrawCalls& operator=(const DrawCalls&); | DrawCalls& operator=(const DrawCalls&); | ||||
}; | }; | ||||
} | } | ||||
#include "gui/CGUISprite.h" | #include "gui/CGUISprite.h" | ||||
namespace GUIRenderer | namespace GUIRenderer | ||||
{ | { | ||||
void UpdateDrawCallCache(DrawCalls& Calls, const CStr& SpriteName, const CRect& Size, int CellID, std::map<CStr, CGUISprite*>& Sprites); | void UpdateDrawCallCache(const CGUI* guiPage, DrawCalls& Calls, const CStr& SpriteName, const CRect& Size, int CellID, std::map<CStr, CGUISprite*>& Sprites); | ||||
void Draw(DrawCalls& Calls, float Z); | void Draw(DrawCalls& Calls, float Z); | ||||
} | } | ||||
#endif // INCLUDED_GUIRENDERER | #endif // INCLUDED_GUIRENDERER |
Wildfire Games · Phabricator