mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user