2014-02-07 11:52:51 +01:00
|
|
|
#pragma once
|
|
|
|
|
2014-02-07 15:52:07 +01:00
|
|
|
#include "../Core/Core.h"
|
2014-02-07 11:52:51 +01:00
|
|
|
|
|
|
|
namespace Oyster
|
|
|
|
{
|
|
|
|
namespace Graphics
|
|
|
|
{
|
|
|
|
namespace Render
|
|
|
|
{
|
2014-02-11 13:29:19 +01:00
|
|
|
class Gui
|
2014-02-07 11:52:51 +01:00
|
|
|
{
|
2014-02-11 13:29:19 +01:00
|
|
|
public:
|
|
|
|
static void Begin2DRender();
|
2014-02-12 09:24:37 +01:00
|
|
|
static void Render(ID3D11ShaderResourceView* tex, Math::Float2 pos, Math::Float2 size, Math::Float3 tint = Math::Float3(1,1,1));
|
2014-02-11 13:29:19 +01:00
|
|
|
static void Begin2DTextRender();
|
2014-02-12 09:24:37 +01:00
|
|
|
static void RenderText(std::wstring text, Math::Float2 pos, Math::Float2 size, Math::Float3 tint = Math::Float3(1,1,1));
|
2014-02-11 13:29:19 +01:00
|
|
|
};
|
2014-02-07 11:52:51 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|