mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
21 lines
346 B
C++
21 lines
346 B
C++
#include <escher/table_view_cell.h>
|
|
|
|
TableViewCell::TableViewCell() :
|
|
View(),
|
|
m_highlighted(false)
|
|
{
|
|
}
|
|
|
|
void TableViewCell::setHighlighted(bool highlight) {
|
|
m_highlighted = highlight;
|
|
reloadCell();
|
|
}
|
|
|
|
bool TableViewCell::isHighlighted() const {
|
|
return m_highlighted;
|
|
}
|
|
|
|
void TableViewCell::reloadCell() {
|
|
markRectAsDirty(bounds());
|
|
}
|