mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
[escher] Add setter on EvenOddBufferTextCell
This commit is contained in:
@@ -8,6 +8,12 @@ class EvenOddBufferTextCell : public EvenOddCell {
|
||||
public:
|
||||
EvenOddBufferTextCell(KDText::FontSize size = KDText::FontSize::Small, float horizontalAlignment = 1.0f, float verticalAlignment = 0.5f);
|
||||
const char * text();
|
||||
void setFontSize(KDText::FontSize fontSize) {
|
||||
m_bufferTextView.setFontSize(fontSize);
|
||||
}
|
||||
void setAlignment(float horizontalAlignment, float verticalAlignment) {
|
||||
m_bufferTextView.setAlignment(horizontalAlignment, verticalAlignment);
|
||||
}
|
||||
void setEven(bool even) override;
|
||||
void setHighlighted(bool highlight) override;
|
||||
void setText(const char * textContent);
|
||||
|
||||
Reference in New Issue
Block a user