additions
This commit is contained in:
31
engine/kotgui.cpp
Normal file
31
engine/kotgui.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
#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
|
||||
)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user