Files
Upsilon/escher/include/escher/pointer_text_view.h
Émilie Feral 0a6d822046 [escher] Create a class pointer text view inheriting
from text view

Change-Id: I10dd24ed9404e634e90f2bc7fecb6441f7a93550
2016-10-17 22:18:15 +02:00

18 lines
474 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();
PointerTextView(const char * text, float horizontalAlignment, float verticalAlignment,
KDColor textColor = KDColorBlack, KDColor backgroundColor = KDColorWhite);
void setText(const char * text);
protected:
const char * text() const override;
private:
const char * m_textPointer;
};
#endif