32 lines
499 B
C++
32 lines
499 B
C++
#include "kotgui/kotgui.h"
|
|
|
|
class CKotUIManager: public IKotUIManager
|
|
{
|
|
public:
|
|
virtual void BeginDrawing() = 0;
|
|
virtual void EndDrawing() = 0;
|
|
|
|
virtual IRenderContext *GetContext() = 0;
|
|
virtual IShader *GetShader( EKotUIShader eShader ) = 0;
|
|
virtual IRenderCommandList *GetCommandList() = 0;
|
|
};
|
|
|
|
namespace kotgui
|
|
{
|
|
void DrawText(
|
|
Alignment_t position,
|
|
Alignment_t offset,
|
|
float fRotation,
|
|
|
|
Color4 color,
|
|
|
|
uint32_t *pText,
|
|
uint32_t uSize,
|
|
IRenderFont *pFont,
|
|
float fTextSize
|
|
)
|
|
{
|
|
|
|
}
|
|
}
|