mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 14:48:28 +02:00
CComponentsForm: add define for default select frame
Origin commit data
------------------
Branch: ni/coolstream
Commit: 672b66f21d
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-03-01 (Thu, 01 Mar 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
#include "cc_base.h"
|
#include "cc_base.h"
|
||||||
#include "cc_item.h"
|
#include "cc_item.h"
|
||||||
|
|
||||||
|
#define DEFAULT_SEL_FRAME_WIDTH 1
|
||||||
|
|
||||||
class CComponentsForm : public CComponentsItem
|
class CComponentsForm : public CComponentsItem
|
||||||
{
|
{
|
||||||
@@ -217,16 +218,16 @@ class CComponentsForm : public CComponentsItem
|
|||||||
const fb_pixel_t& frame_col = COL_FRAME_PLUS_0,
|
const fb_pixel_t& frame_col = COL_FRAME_PLUS_0,
|
||||||
const fb_pixel_t& sel_body_col = COL_MENUCONTENT_PLUS_0,
|
const fb_pixel_t& sel_body_col = COL_MENUCONTENT_PLUS_0,
|
||||||
const fb_pixel_t& body_col = COL_MENUCONTENT_PLUS_0,
|
const fb_pixel_t& body_col = COL_MENUCONTENT_PLUS_0,
|
||||||
const int& frame_w = 3,
|
const int& frame_w = DEFAULT_SEL_FRAME_WIDTH,
|
||||||
const int& sel_frame_w = 3);
|
const int& sel_frame_w = DEFAULT_SEL_FRAME_WIDTH);
|
||||||
///select a definied item, parameter1 as CComponentsItem*
|
///select a definied item, parameter1 as CComponentsItem*
|
||||||
virtual void setSelectedItem( CComponentsItem* cc_item,
|
virtual void setSelectedItem( CComponentsItem* cc_item,
|
||||||
const fb_pixel_t& sel_frame_col = COL_MENUCONTENTSELECTED_PLUS_0,
|
const fb_pixel_t& sel_frame_col = COL_MENUCONTENTSELECTED_PLUS_0,
|
||||||
const fb_pixel_t& frame_col = COL_FRAME_PLUS_0,
|
const fb_pixel_t& frame_col = COL_FRAME_PLUS_0,
|
||||||
const fb_pixel_t& sel_body_col = COL_MENUCONTENT_PLUS_0,
|
const fb_pixel_t& sel_body_col = COL_MENUCONTENT_PLUS_0,
|
||||||
const fb_pixel_t& body_col = COL_MENUCONTENT_PLUS_0,
|
const fb_pixel_t& body_col = COL_MENUCONTENT_PLUS_0,
|
||||||
const int& frame_w = 3,
|
const int& frame_w = DEFAULT_SEL_FRAME_WIDTH,
|
||||||
const int& sel_frame_w = 3);
|
const int& sel_frame_w = DEFAULT_SEL_FRAME_WIDTH);
|
||||||
|
|
||||||
///exec main method, see also sub exec methods
|
///exec main method, see also sub exec methods
|
||||||
virtual int exec();
|
virtual int exec();
|
||||||
|
Reference in New Issue
Block a user