mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
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:
@@ -137,7 +137,7 @@ void CBEBouquetWidget::paintItems()
|
||||
|
||||
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[] =
|
||||
|
@@ -2239,7 +2239,7 @@ void CChannelList::paintHead()
|
||||
(bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked))
|
||||
header->setIcon(NEUTRINO_ICON_LOCK);
|
||||
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;
|
||||
fb_pixel_t header_txt_col = (edit_state ? COL_RED : COL_MENUHEAD_TEXT);
|
||||
|
@@ -185,7 +185,7 @@ CKeyboardInput::CKeyboardInput(const neutrino_locale_t Name, std::string* Value,
|
||||
valueString = Value;
|
||||
inputSize = Size;
|
||||
|
||||
iconfile = Icon ? Icon : "";
|
||||
iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
|
||||
|
||||
observ = Observ;
|
||||
hint_1 = Hint_1;
|
||||
@@ -208,7 +208,7 @@ CKeyboardInput::CKeyboardInput(const std::string &Name, std::string *Value, int
|
||||
valueString = Value;
|
||||
inputSize = Size;
|
||||
|
||||
iconfile = Icon ? Icon : "";
|
||||
iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
|
||||
|
||||
observ = Observ;
|
||||
hint_1 = Hint_1;
|
||||
@@ -231,7 +231,7 @@ CKeyboardInput::CKeyboardInput(const std::string &Name, std::string *Value, int
|
||||
valueString = Value;
|
||||
inputSize = Size;
|
||||
|
||||
iconfile = Icon ? Icon : "";
|
||||
iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
|
||||
|
||||
observ = Observ;
|
||||
hint_1 = NONEXISTANT_LOCALE;
|
||||
|
@@ -88,7 +88,7 @@ void CStringInput::init(const std::string &Name, std::string *Value, int Size, c
|
||||
hint_1 = Hint_1;
|
||||
hint_2 = Hint_2;
|
||||
validchars = Valid_Chars;
|
||||
iconfile = Icon ? Icon : "";
|
||||
iconfile = Icon ? Icon : NEUTRINO_ICON_EDIT;
|
||||
|
||||
observ = Observ;
|
||||
|
||||
|
@@ -327,7 +327,7 @@ void CExtendedInput::hide()
|
||||
|
||||
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);
|
||||
|
||||
frameBuffer->paintBoxRel(x, y + hheight, width, bheight, COL_MENUCONTENT_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);
|
||||
|
Reference in New Issue
Block a user