prime/include/Kyoto/Text/CDrawStringOptions.hpp

21 lines
553 B
C++
Raw Normal View History

#ifndef _CDRAWSTRINGOPTIONS
#define _CDRAWSTRINGOPTIONS
#include "Kyoto/Graphics/CColor.hpp"
#include "rstl/reserved_vector.hpp"
2023-01-11 23:17:26 +00:00
#include "Kyoto/Text/TextCommon.hpp"
class CDrawStringOptions {
public:
CDrawStringOptions();
void SetTextDirection(ETextDirection dir) { x0_direction = dir; }
2023-01-12 00:12:37 +00:00
ETextDirection GetTextDirection() const { return x0_direction; }
void SetPaletteEntry(int idx, uint color) { x4_colors[idx] = color; }
private:
ETextDirection x0_direction;
rstl::reserved_vector<u32, 16> x4_colors;
};
#endif // _CDRAWSTRINGOPTIONS