mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 00:30:46 +01:00
18 lines
553 B
C++
18 lines
553 B
C++
#ifndef ESCHER_POINTER_TEXT_VIEW_H
|
|
#define ESCHER_POINTER_TEXT_VIEW_H
|
|
|
|
#include <escher/text_view.h>
|
|
#include <escher/i18n.h>
|
|
|
|
class PointerTextView : public TextView {
|
|
public:
|
|
PointerTextView(const KDFont * font = KDFont::LargeFont, const char * text = nullptr, float horizontalAlignment = 0.0f, float verticalAlignment = 0.0f,
|
|
KDColor textColor = KDColorBlack, KDColor backgroundColor = KDColorWhite);
|
|
const char * text() const override { return m_text; }
|
|
void setText(const char * text) override;
|
|
private:
|
|
const char * m_text;
|
|
};
|
|
|
|
#endif
|