Files
Upsilon/apps/shared/buffer_function_title_cell.h
2018-05-29 15:34:49 +02:00

25 lines
663 B
C++

#ifndef SHARED_BUFFER_FUNCTION_TITLE_CELL_H
#define SHARED_BUFFER_FUNCTION_TITLE_CELL_H
#include "function_title_cell.h"
namespace Shared {
class BufferFunctionTitleCell : public FunctionTitleCell {
public:
BufferFunctionTitleCell(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);
int numberOfSubviews() const override;
View * subviewAtIndex(int index) override;
void layoutSubviews() override;
private:
EvenOddBufferTextCell m_bufferTextView;
};
}
#endif