prime/include/Kyoto/Text/CRemoveColorOverrideInstruction.hpp
Phillip Stephens dbf90286dc Match and link CRemoveColorOverrideInstruction
Former-commit-id: d0b7837042e8439dc847e95aa993d750e79f69b9
2023-01-11 12:16:02 -08:00

17 lines
477 B
C++

#ifndef _CREMOVECOLOROVERRIDEINSTRUCTION
#define _CREMOVECOLOROVERRIDEINSTRUCTION
#include "Kyoto/Text/CInstruction.hpp"
class CRemoveColorOverrideInstruction : public CInstruction {
public:
explicit CRemoveColorOverrideInstruction(int idx) : x4_idx(idx) {}
void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
void PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const;
private:
int x4_idx;
};
#endif // _CREMOVECOLOROVERRIDEINSTRUCTION