2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-03-11 00:23:16 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include "RetroTypes.hpp"
|
2016-03-19 03:58:01 +00:00
|
|
|
#include "CGuiTextSupport.hpp"
|
2016-03-11 00:23:16 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CDrawStringOptions
|
|
|
|
{
|
2016-03-19 00:07:31 +00:00
|
|
|
friend class CColorOverrideInstruction;
|
|
|
|
friend class CFontRenderState;
|
|
|
|
friend class CRasterFont;
|
2016-03-20 06:37:08 +00:00
|
|
|
friend class CTextExecuteBuffer;
|
|
|
|
friend class CBlockInstruction;
|
2016-03-21 00:25:53 +00:00
|
|
|
friend class CWordInstruction;
|
|
|
|
|
2016-03-20 06:37:08 +00:00
|
|
|
ETextDirection x0_direction = ETextDirection::Horizontal;
|
2016-03-21 00:25:53 +00:00
|
|
|
std::vector<CTextColor> x4_colors;
|
2016-03-11 00:23:16 +00:00
|
|
|
public:
|
|
|
|
CDrawStringOptions()
|
|
|
|
{
|
2016-03-21 00:25:53 +00:00
|
|
|
x4_colors.resize(16);
|
2016-03-11 00:23:16 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|