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