mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 06:38:28 +02:00
cc_types: add text color with default value to type button_label_cc
Origin commit data
------------------
Branch: ni/coolstream
Commit: 597fcb7832
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-12-07 (Mon, 07 Dec 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
#include <driver/neutrino_msg_t.h>
|
#include <driver/neutrino_msg_t.h>
|
||||||
#include <driver/fb_generic.h>
|
#include <driver/fb_generic.h>
|
||||||
#include <gui/color_custom.h>
|
#include <gui/color_custom.h>
|
||||||
|
#include <gui/color.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
@@ -200,12 +201,14 @@ typedef struct button_label_cc
|
|||||||
int btn_alias;
|
int btn_alias;
|
||||||
std::string bg_image;
|
std::string bg_image;
|
||||||
std::string hint;
|
std::string hint;
|
||||||
|
fb_pixel_t text_color;
|
||||||
uint32_t sort_id;
|
uint32_t sort_id;
|
||||||
//defaults
|
//defaults
|
||||||
button_label_cc(): button(NULL),
|
button_label_cc(): button(NULL),
|
||||||
text(std::string()),
|
text(std::string()),
|
||||||
locale(NONEXISTANT_LOCALE),
|
locale(NONEXISTANT_LOCALE),
|
||||||
directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/),
|
directKeys(0, RC_NOKEY /*CRCInput::RC_nokey*/),
|
||||||
|
text_color(COL_MENUCONTENTSELECTED_PLUS_0),
|
||||||
sort_id(0){}
|
sort_id(0){}
|
||||||
bool operator< (const button_label_cc& i) const
|
bool operator< (const button_label_cc& i) const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user