- rename customcolor.h -> color_custom.h; reduce unneeded inludes

This commit is contained in:
svenhoefer
2016-10-10 14:19:55 +02:00
parent 26e0926586
commit 104d21e784
21 changed files with 71 additions and 75 deletions

View File

@@ -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

View File

@@ -29,6 +29,7 @@
#include <global.h>
#include <neutrino.h>
#include <gui/color_custom.h>
#include <system/debug.h>
#include "cc_frm_button.h"

View File

@@ -26,6 +26,7 @@
#endif
#include <neutrino.h>
#include <gui/color_custom.h>
#include "cc_frm_footer.h"
#include <system/debug.h>

View File

@@ -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);

View File

@@ -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