gui/components/cc_item_text.cpp: set CTextBox save screen flag

Origin commit data
------------------
Commit: 86a236bc7e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
This commit is contained in:
[CST] Focus
2015-03-06 13:27:31 +03:00
parent 30393a526c
commit ad1e9042d3
2 changed files with 9 additions and 1 deletions

View File

@@ -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);
}
};