mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CTextBox: move setTextRenderModeFullBG() into cpp file.
This commit is contained in:
@@ -947,4 +947,8 @@ void CTextBox::disableBackgroundPaint()
|
|||||||
enableBackgroundPaint(false);
|
enableBackgroundPaint(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CTextBox::setTextRenderModeFullBG(bool mode)
|
||||||
|
{
|
||||||
|
m_renderMode = (mode) ? 2 /*Font::FULLBG*/ : 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user