CTextBox: move setTextRenderModeFullBG() into cpp file.

Origin commit data
------------------
Branch: ni/coolstream
Commit: e7f49dbfec
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-12-08 (Sat, 08 Dec 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2018-12-08 23:15:13 +01:00
committed by vanhofen
parent b39e939b9a
commit 532f79c238
2 changed files with 5 additions and 1 deletions

View File

@@ -947,4 +947,8 @@ void CTextBox::disableBackgroundPaint()
enableBackgroundPaint(false);
}
void CTextBox::setTextRenderModeFullBG(bool mode)
{
m_renderMode = (mode) ? 2 /*Font::FULLBG*/ : 0;
}

View File

@@ -191,7 +191,7 @@ class CTextBox : public sigc::trackable
void setTextBorderWidth(int Hborder, int Vborder);
void setTextFont(Font* font_text);
void setTextMode(const int text_mode){m_nMode = text_mode;};
void setTextRenderModeFullBG(bool mode){ m_renderMode = (mode) ? 2 /*Font::FULLBG*/ : 0; };
void setTextRenderModeFullBG(bool mode);
void setBackGroundColor(CFBWindow::color_t textBackgroundColor){m_textBackgroundColor = textBackgroundColor;};
void setWindowPos(const CBox* position){m_cFrame = *position;};
void setWindowMaxDimensions(const int width, const int height);