#ifndef __URDE_CFONTRENDERSTATE_HPP__ #define __URDE_CFONTRENDERSTATE_HPP__ #include "CGuiTextSupport.hpp" #include "CSaveableState.hpp" #include "CDrawStringOptions.hpp" namespace urde { class CLineInstruction; class CBlockInstruction; class CFontRenderState : public CSaveableState { friend class CLineInstruction; friend class CBlockInstruction; friend class CTextInstruction; CBlockInstruction* x54_curBlock = nullptr; CDrawStringOptions x58_drawOpts; s32 x6c_curX = 0; s32 x70_curY; const CLineInstruction* x74_currentLineInst = nullptr; bool xa0_ = true; std::vector xa4_pushedStates; public: CFontRenderState(); zeus::CColor ConvertToTextureSpace(const CTextColor& col) const; void PopState(); void PushState(); void SetColor(EColorType tp, const CTextColor& col); void RefreshPalette(); void RefreshColor(EColorType tp); }; } #endif // __URDE_CFONTRENDERSTATE_HPP__