2023-01-08 02:31:19 +00:00
|
|
|
#ifndef _CFONTRENDERSTATE
|
|
|
|
#define _CFONTRENDERSTATE
|
|
|
|
|
|
|
|
#include "Kyoto/Text/CSaveableState.hpp"
|
|
|
|
#include "Kyoto/Text/CDrawStringOptions.hpp"
|
|
|
|
|
|
|
|
class CBlockInstruction;
|
|
|
|
|
|
|
|
class CFontRenderState : private CSaveableState {
|
|
|
|
public:
|
|
|
|
void SetLineSpacing(float spacing) { CSaveableState::SetLineSpacing(spacing); }
|
2023-01-10 23:03:07 +00:00
|
|
|
void SetExtraLineSpace(int spacing) { CSaveableState::SetLineExtraSpace(spacing); }
|
2023-01-08 02:31:19 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
CBlockInstruction* x88_curBlock;
|
|
|
|
CDrawStringOptions x8c_drawOpts;
|
|
|
|
int xd4_curX;
|
|
|
|
int xd8_curY;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CFONTRENDERSTATE
|