mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled outside of relevant objects.
This commit is contained in:
@@ -211,6 +211,23 @@ class CComponentsHeader : public CComponentsForm, public CCTextScreen
|
||||
///returns the text object
|
||||
virtual CComponentsText* getTextObject(){return cch_text_obj;}
|
||||
|
||||
/**Member to modify background behavior of embeded title
|
||||
* @param[in] mode
|
||||
* @li bool, default = true
|
||||
* @return
|
||||
* void
|
||||
* @see
|
||||
* Parent member: CCTextScreen::enableTboxSaveScreen()
|
||||
* CTextBox::enableSaveScreen()
|
||||
* disableTboxSaveScreen()
|
||||
*/
|
||||
void enableTboxSaveScreen(bool mode)
|
||||
{
|
||||
cc_txt_save_screen = mode;
|
||||
if (cch_text_obj->getCTextBoxObject())
|
||||
cch_text_obj->getCTextBoxObject()->enableSaveScreen(cc_txt_save_screen);
|
||||
}
|
||||
|
||||
///returns the clock object
|
||||
virtual CComponentsFrmClock* getClockObject(){return cch_cl_obj;}
|
||||
|
||||
|
Reference in New Issue
Block a user