Files
pico-launcher/arm9/source/themes/custom/CustomTextElementInfo.h

22 lines
643 B
C++

#pragma once
#include "core/math/Point.h"
#include "core/math/Rgb.h"
class CustomTopTextElementInfo
{
public:
CustomTopTextElementInfo(const Point& position, u32 width, const Rgb8& textColor, const Rgb8& blendColor)
: _position(position), _width(width), _textColor(textColor), _blendColor(blendColor) { }
const Point& GetPosition() const { return _position; }
const u32 GetWidth() const { return _width; }
const Rgb8& GetTextColor() const { return _textColor; }
const Rgb8& GetBlendColor() const { return _blendColor; }
private:
Point _position;
u32 _width;
Rgb8 _textColor;
Rgb8 _blendColor;
};