Files
Upsilon/escher/include/escher/pointer_text_view.h
Émilie Feral c0dc33cfbd [escher] Make one constructor only for views
Change-Id: I304a49995beb59071dd88fcfad8715bdb58e6685
2016-12-13 15:10:02 +01:00

17 lines
477 B
C++

#ifndef ESCHER_POINTER_TEXT_VIEW_H
#define ESCHER_POINTER_TEXT_VIEW_H
#include <escher/text_view.h>
class PointerTextView : public TextView {
public:
PointerTextView(const char * text = nullptr, float horizontalAlignment = 0.0f, float verticalAlignment = 0.0f,
KDColor textColor = KDColorBlack, KDColor backgroundColor = KDColorWhite);
void setText(const char * text);
protected:
const char * text() const override;
private:
const char * m_textPointer;
};
#endif