mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
gui/components/cc_item_text.cpp: set CTextBox save screen flag
This commit is contained in:
@@ -155,6 +155,13 @@ class CComponentsText : public CComponentsItem, public CBox
|
||||
|
||||
///returns count of lines from a text box page
|
||||
virtual int getTextLinesAutoHeight(const int& textMaxHeight, const int& textWidth, const int& mode);
|
||||
// overload function from cc_base CComponents
|
||||
void enableTboxSaveScreen(bool mode)
|
||||
{
|
||||
save_tbox_screen = mode;
|
||||
if (ct_textbox)
|
||||
ct_textbox->enableSaveScreen(mode);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user