From 532f79c238331ea24676e376bd98c12c82d19d7b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 8 Dec 2018 23:15:13 +0100 Subject: [PATCH] CTextBox: move setTextRenderModeFullBG() into cpp file. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e7f49dbfecd4bb78659410ceefdf6bd02e57179c Author: Thilo Graf Date: 2018-12-08 (Sat, 08 Dec 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/textbox.cpp | 4 ++++ src/gui/widget/textbox.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index fc3f1fd43..d169d92b6 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -947,4 +947,8 @@ void CTextBox::disableBackgroundPaint() enableBackgroundPaint(false); } +void CTextBox::setTextRenderModeFullBG(bool mode) +{ + m_renderMode = (mode) ? 2 /*Font::FULLBG*/ : 0; +} diff --git a/src/gui/widget/textbox.h b/src/gui/widget/textbox.h index d30c4f7f2..c9b69e2e3 100644 --- a/src/gui/widget/textbox.h +++ b/src/gui/widget/textbox.h @@ -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);