use new edit icon in several headers

Origin commit data
------------------
Branch: ni/coolstream
Commit: a96e1d3ccd
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-12-16 (Sun, 16 Dec 2018)

Origin message was:
------------------
- use new edit icon in several headers

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-12-16 02:15:58 +01:00
parent 585fc2df16
commit 80f47013a3
5 changed files with 7 additions and 7 deletions

View File

@@ -137,7 +137,7 @@ void CBEBouquetWidget::paintItems()
void CBEBouquetWidget::paintHead() void CBEBouquetWidget::paintHead()
{ {
CBEGlobals::paintHead(g_Locale->getText(LOCALE_BOUQUETLIST_HEAD), NEUTRINO_ICON_SETTINGS); CBEGlobals::paintHead(g_Locale->getText(LOCALE_BOUQUETLIST_HEAD), NEUTRINO_ICON_EDIT);
} }
const struct button_label CBEBouquetWidgetButtons[] = const struct button_label CBEBouquetWidgetButtons[] =

View File

@@ -2239,7 +2239,7 @@ void CChannelList::paintHead()
(bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked)) (bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked))
header->setIcon(NEUTRINO_ICON_LOCK); header->setIcon(NEUTRINO_ICON_LOCK);
else else
header->setIcon(NULL); header->setIcon(edit_state ? NEUTRINO_ICON_EDIT : NULL);
std::string header_txt = !edit_state ? name : std::string(g_Locale->getText(LOCALE_CHANNELLIST_EDIT)) + ": " + name; std::string header_txt = !edit_state ? name : std::string(g_Locale->getText(LOCALE_CHANNELLIST_EDIT)) + ": " + name;
fb_pixel_t header_txt_col = (edit_state ? COL_RED : COL_MENUHEAD_TEXT); fb_pixel_t header_txt_col = (edit_state ? COL_RED : COL_MENUHEAD_TEXT);

View File

@@ -185,7 +185,7 @@ CKeyboardInput::CKeyboardInput(const neutrino_locale_t Name, std::string* Value,
valueString = Value; valueString = Value;
inputSize = Size; inputSize = Size;
iconfile = Icon ? Icon : ""; iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
observ = Observ; observ = Observ;
hint_1 = Hint_1; hint_1 = Hint_1;
@@ -208,7 +208,7 @@ CKeyboardInput::CKeyboardInput(const std::string &Name, std::string *Value, int
valueString = Value; valueString = Value;
inputSize = Size; inputSize = Size;
iconfile = Icon ? Icon : ""; iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
observ = Observ; observ = Observ;
hint_1 = Hint_1; hint_1 = Hint_1;
@@ -231,7 +231,7 @@ CKeyboardInput::CKeyboardInput(const std::string &Name, std::string *Value, int
valueString = Value; valueString = Value;
inputSize = Size; inputSize = Size;
iconfile = Icon ? Icon : ""; iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
observ = Observ; observ = Observ;
hint_1 = NONEXISTANT_LOCALE; hint_1 = NONEXISTANT_LOCALE;

View File

@@ -88,7 +88,7 @@ void CStringInput::init(const std::string &Name, std::string *Value, int Size, c
hint_1 = Hint_1; hint_1 = Hint_1;
hint_2 = Hint_2; hint_2 = Hint_2;
validchars = Valid_Chars; validchars = Valid_Chars;
iconfile = Icon ? Icon : ""; iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
observ = Observ; observ = Observ;

View File

@@ -327,7 +327,7 @@ void CExtendedInput::hide()
void CExtendedInput::paint() void CExtendedInput::paint()
{ {
CComponentsHeader header(x, y, width, hheight, g_Locale->getText(name)); CComponentsHeader header(x, y, width, hheight, g_Locale->getText(name), NEUTRINO_ICON_EDIT);
header.paint(CC_SAVE_SCREEN_NO); header.paint(CC_SAVE_SCREEN_NO);
frameBuffer->paintBoxRel(x, y + hheight, width, bheight, COL_MENUCONTENT_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM); frameBuffer->paintBoxRel(x, y + hheight, width, bheight, COL_MENUCONTENT_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);