cc_draw: add methode to set bg image transparency mode

Origin commit data
------------------
Commit: 94c2e57d29
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-14 (Sun, 14 Nov 2021)
This commit is contained in:
2021-11-14 22:12:27 +01:00
committed by vanhofen
parent 5d5b260805
commit 9d489845d9

View File

@@ -455,6 +455,21 @@ class CCDraw : public COSDFader, public CComponentsSignals, public CCTypes
* @return std::string
*/
std::string getBodyBGSecondaryImage() {return cc_bg_sec_image;}
/**Sets tranparency mode body background image
*
* @param[in] mode as integer image transparency mode
* @li CFrameBuffer::TM_EMPTY
* @li CFrameBuffer::TM_NONE
* @li CFrameBuffer::TM_BLACK
* @li CFrameBuffer::TM_INI
*
* @see
* cc_body_image
* setBodyBGImage()
* drive/fb_generic.h
*/
void setBodyBGImageTranparencyMode(const int &mode) {cc_bg_image_tr_mode = mode;}
};
#endif