mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
This commit is contained in:
@@ -231,7 +231,7 @@ class CCDraw : public COSDFader, public CComponentsSignals
|
||||
///set shadow color
|
||||
virtual void setColorShadow(fb_pixel_t color){col_shadow = color;}
|
||||
///set all basic framebuffer element colors at once
|
||||
///Note: Possible color values are defined in "gui/color.h" and "gui/customcolor.h"
|
||||
///Note: Possible color values are defined in "gui/color.h" and "gui/color_custom.h"
|
||||
virtual void setColorAll(fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow){col_frame = color_frame; col_body = color_body; col_shadow = color_shadow;};
|
||||
|
||||
///set corner types
|
||||
|
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
#include <gui/color_custom.h>
|
||||
#include <system/debug.h>
|
||||
#include "cc_frm_button.h"
|
||||
|
||||
|
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include <neutrino.h>
|
||||
#include <gui/color_custom.h>
|
||||
#include "cc_frm_footer.h"
|
||||
#include <system/debug.h>
|
||||
|
||||
|
@@ -142,7 +142,7 @@ class CComponentsText : public CCTextScreen, public CComponentsItem, public CBox
|
||||
///set text color
|
||||
virtual void setTextColor(const fb_pixel_t& color_text);
|
||||
///set all basic framebuffer element colors at once
|
||||
///Note: Possible color values are defined in "gui/color.h" and "gui/customcolor.h"
|
||||
///Note: Possible color values are defined in "gui/color.h" and "gui/color_custom.h"
|
||||
virtual void setColorAll(fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow = COL_SHADOW_PLUS_0, fb_pixel_t color_text = COL_MENUCONTENT_TEXT)
|
||||
{
|
||||
CCDraw::setColorAll(color_frame, color_body, color_shadow);
|
||||
|
@@ -54,7 +54,7 @@ class CComponentsPIP : public CComponentsItem
|
||||
CComponentsPIP( const int x_pos = 0, const int y_pos = 0, const int percent = 30,
|
||||
CComponentsForm *parent = NULL,
|
||||
int shadow_mode = CC_SHADOW_OFF,
|
||||
fb_pixel_t color_frame = COL_BLACK, fb_pixel_t color_body = COL_BACKGROUND_PLUS_0, fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
|
||||
fb_pixel_t color_frame = COL_SHADOW_PLUS_0, fb_pixel_t color_body = COL_BACKGROUND_PLUS_0, fb_pixel_t color_shadow = COL_SHADOW_PLUS_0);
|
||||
~CComponentsPIP();
|
||||
|
||||
///set property: width of tv box in pixel
|
||||
|
Reference in New Issue
Block a user