metaforce/Runtime/GuiSys/CDrawStringOptions.hpp

25 lines
543 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-03-11 00:23:16 +00:00
#include <vector>
#include "Runtime/RetroTypes.hpp"
#include "Runtime/GuiSys/CGuiTextSupport.hpp"
2016-03-11 00:23:16 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
2016-03-11 00:23:16 +00:00
2018-12-08 05:30:43 +00:00
class CDrawStringOptions {
friend class CColorOverrideInstruction;
friend class CFontRenderState;
friend class CRasterFont;
friend class CTextExecuteBuffer;
friend class CBlockInstruction;
friend class CWordInstruction;
ETextDirection x0_direction = ETextDirection::Horizontal;
std::vector<CTextColor> x4_colors;
2016-03-21 00:25:53 +00:00
2016-03-11 00:23:16 +00:00
public:
2018-12-08 05:30:43 +00:00
CDrawStringOptions() { x4_colors.resize(16); }
2016-03-11 00:23:16 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde