mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-19 14:51:31 +00:00
18 lines
431 B
C++
18 lines
431 B
C++
#ifndef _CTEXTINSTRUCTION
|
|
#define _CTEXTINSTRUCTION
|
|
|
|
#include "Kyoto/Text/CInstruction.hpp"
|
|
|
|
class CTextInstruction : public CInstruction {
|
|
public:
|
|
static CTextInstruction* Create(const wchar_t* str, const int len);
|
|
CTextInstruction(const wchar_t* str, int length);
|
|
void Invoke(CFontRenderState& state, CTextRenderBuffer* buffer) const override;
|
|
|
|
private:
|
|
int mLength;
|
|
wchar_t mString[1];
|
|
};
|
|
|
|
#endif // _CTEXTINSTRUCTION
|