Add simple column headers to recents list views.

This commit is contained in:
Jared Boone 2016-01-26 17:25:51 -08:00
parent bd829d7d85
commit cac9f02c48
4 changed files with 43 additions and 0 deletions

View file

@ -71,6 +71,15 @@ void ERTRecentEntry::update(const ert::Packet& packet) {
namespace ui {
template<>
void RecentEntriesView<ERTRecentEntries>::draw_header(
const Rect& target_rect,
Painter& painter,
const Style& style
) {
painter.draw_string(target_rect.pos, style, " ID | Consumpt |Cnt ");
}
template<>
void RecentEntriesView<ERTRecentEntries>::draw(
const Entry& entry,