CComponentsInfoBox: add switch to enable gradient for info box

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
[CST] Focus
2015-04-27 09:54:33 +02:00
committed by Thilo Graf
parent 53ce471af8
commit 7016a86ca2
2 changed files with 6 additions and 1 deletions

View File

@@ -83,7 +83,8 @@ class CComponentsInfoBox : public CComponentsText
void setPicture(const std::string& picture_name);
///set property: path or name of displayed image, parameter as const char*
void setPicture(const char* picture_name);
///set property: gradient behavior
void enableGradient(bool enable) { col_body_gradient = enable; }
///paint item
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
};