mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-10 21:47:40 +00:00
Match and link CTextInstruction
This commit is contained in:
17
include/Kyoto/Text/CTextInstruction.hpp
Normal file
17
include/Kyoto/Text/CTextInstruction.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user