mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
28 lines
731 B
C++
28 lines
731 B
C++
#ifndef GRAPH_FUNCTION_TITLE_CELL_H
|
|
#define GRAPH_FUNCTION_TITLE_CELL_H
|
|
|
|
#include "../shared/function_title_cell.h"
|
|
|
|
namespace Graph {
|
|
|
|
class FunctionTitleCell : public Shared::FunctionTitleCell {
|
|
public:
|
|
FunctionTitleCell(Orientation orientation, KDText::FontSize size = KDText::FontSize::Large);
|
|
void setEven(bool even) override;
|
|
void setHighlighted(bool highlight) override;
|
|
void setColor(KDColor color) override;
|
|
void setText(const char * textContent);
|
|
const char * text() const override {
|
|
return m_bufferTextView.text();
|
|
}
|
|
private:
|
|
int numberOfSubviews() const override;
|
|
View * subviewAtIndex(int index) override;
|
|
void layoutSubviews() override;
|
|
EvenOddBufferTextCell m_bufferTextView;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|