mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
vertically. We add an option to decide which subviews should overlap on top of the other if there is not enough space
19 lines
652 B
C++
19 lines
652 B
C++
#ifndef ESCHER_EXPRESSION_TABLE_CELL_WITH_POINTER_H
|
|
#define ESCHER_EXPRESSION_TABLE_CELL_WITH_POINTER_H
|
|
|
|
#include <escher/expression_table_cell.h>
|
|
#include <escher/i18n.h>
|
|
#include <escher/message_text_view.h>
|
|
|
|
class ExpressionTableCellWithPointer : public ExpressionTableCell {
|
|
public:
|
|
ExpressionTableCellWithPointer(Responder * responder = nullptr, I18n::Message accessoryMessage = (I18n::Message)0, Layout layout = Layout::HorizontalRightOverlap);
|
|
View * accessoryView() const override;
|
|
void setHighlighted(bool highlight) override;
|
|
void setAccessoryMessage(I18n::Message messageBody);
|
|
private:
|
|
MessageTextView m_accessoryView;
|
|
};
|
|
|
|
#endif
|