Match and link CGuiSys

Former-commit-id: b3dbdac91a
This commit is contained in:
2022-12-31 11:59:30 -08:00
parent 5af0e9b47a
commit 8ac75a38d8
12 changed files with 140 additions and 48 deletions

View File

@@ -1,6 +1,34 @@
#ifndef _CTEXTEXECUTEBUFFER
#define _CTEXTEXECUTEBUFFER
class CTextExecuteBuffer {};
#include "rstl/list.hpp"
#include "rstl/rc_ptr.hpp"
#include "Kyoto/Text/CSaveableState.hpp"
class CInstruction;
class CBlockInstruction;
class CLineInstruction;
class CTextExecuteBuffer {
typedef rstl::list< rstl::ncrc_ptr< CInstruction > > InstList;
public:
CTextExecuteBuffer();
private:
InstList x0_instructions;
CSaveableState x18_;
CBlockInstruction* xa0_curBlock;
CLineInstruction* xa4_curLine;
InstList::const_iterator xa8_curWordIt;
int xac_curY;
int xb0_curX;
int xb4_curWordX;
int xb8_curWordY;
int xbc_spaceDistance;
bool xc0_imageBaseline;
rstl::list<CSaveableState> xc4_stateStack;
};
#endif // _CTEXTEXECUTEBUFFER