CTextBox: move setTextRenderModeFullBG() into cpp file.

This commit is contained in:
2018-12-07 21:41:19 +01:00
parent b13a2a3b9a
commit d9e66f4142
2 changed files with 5 additions and 1 deletions

View File

@@ -947,4 +947,8 @@ void CTextBox::disableBackgroundPaint()
enableBackgroundPaint(false); 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 setTextBorderWidth(int Hborder, int Vborder);
void setTextFont(Font* font_text); void setTextFont(Font* font_text);
void setTextMode(const int text_mode){m_nMode = text_mode;}; 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 setBackGroundColor(CFBWindow::color_t textBackgroundColor){m_textBackgroundColor = textBackgroundColor;};
void setWindowPos(const CBox* position){m_cFrame = *position;}; void setWindowPos(const CBox* position){m_cFrame = *position;};
void setWindowMaxDimensions(const int width, const int height); void setWindowMaxDimensions(const int width, const int height);