12#ifndef HMICORE_WIDGETS_TABLE_TABLE_DYNAMIC_H_
13#define HMICORE_WIDGETS_TABLE_TABLE_DYNAMIC_H_
33 enum class SortType { kSortUnsorted = 0, kSortAscending, kSortDescending };
55 std::
string GetWidgetName() const final {
return "WidgetTableDynamic"; }
72 void AddRow(uint32_t foreground_colour, uint32_t background_colour, uint32_t outline_colour,
73 uint32_t highlight_colour, widget::WeightType font_weight) final;
86 void AddRow(widget::WeightType font_weight) final;
94 void AddCell(const std::
string text, uint32_t width) final;
103 void AddCell(const std::
string text, uint32_t width, uint32_t background_colour) final;
112 void AddCell(const std::
string text, uint32_t width, widget::CellAlignType align) final;
122 void AddCell(const std::
string text, uint32_t width, widget::CellAlignType align, uint32_t background_colour) final;
170 uint32_t background_colour_;
172 uint32_t outline_colour_ =
ConfigData::GetInstance()->GetThemeLabelBorderEnabled();
173 uint32_t highlight_colour_ =
ConfigData::GetInstance()->GetThemeLabelBorderEnabledSelected();
175 std::vector<
RowType> dynamic_rows_;
176 std::vector<
RowType> dynamic_rows_filtered_;
178 bool highlight_all_ = false;
179 bool hide_override_ = false;
Class defining the config data.
Definition config_reader.h:256
Class definition of the GVA renderer.
Definition renderer_gva.h:29
Class defining the renderer.
Definition renderer.h:61
This is the class describing a TableWidget row.
Definition row_type.h:28
Class defining the touch screen events.
Definition touch_gva.h:71
const gva::ColourType kHmiWhite
The RGB values for white.
Definition renderer.h:24