Numworks Epsilon  1.4.1
Graphing Calculator Operating System
message_table_cell_with_gauge.cpp
Go to the documentation of this file.
2 #include <escher/palette.h>
3 
5  MessageTableCell(message, size),
6  m_accessoryView()
7 {
8 }
9 
11  return (View *)&m_accessoryView;
12 }
13 
16  KDColor backgroundColor = highlight? Palette::Select : KDColorWhite;
17  m_accessoryView.setBackgroundColor(backgroundColor);
18 }
void setHighlighted(bool highlight) override
void setBackgroundColor(KDColor color)
Definition: gauge_view.cpp:37
MessageTableCellWithGauge(I18n::Message message=(I18n::Message) 0, KDText::FontSize size=KDText::FontSize::Small)
constexpr KDColor KDColorWhite
Definition: color.h:42
static constexpr KDColor Select
Definition: palette.h:17
virtual void setHighlighted(bool highlight) override
Definition: color.h:6
Definition: view.h:23
FontSize
Definition: text.h:10