From eb8e7372c230665359d8f117125ea205103637ed Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 7 Dec 2016 15:24:45 +0100 Subject: [PATCH] bouquetlist: add "menu", "left" and "right" context buttons to header Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0842a7ac353c2f9bb0dd895d022a961fbbc60f5d Author: vanhofen Date: 2016-12-07 (Wed, 07 Dec 2016) Origin message was: ------------------ - bouquetlist: add "menu", "left" and "right" context buttons to header ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/bouquetlist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index 49c0cbd1b..51b61d544 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -690,7 +690,8 @@ void CBouquetList::paintItem(int pos) void CBouquetList::paintHead() { - CComponentsHeader header(x, y, width, theight, name); + std::string icon = ""; + CComponentsHeader header(x, y, width, theight, name, icon, CComponentsHeader::CC_BTN_LEFT | CComponentsHeader::CC_BTN_RIGHT | CComponentsHeader::CC_BTN_MENU); header.paint(CC_SAVE_SCREEN_NO); }