replace fontrenderer.h include with forward declaration

in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough
This commit is contained in:
Stefan Seyfried
2017-02-05 13:37:53 +01:00
committed by M. Liebmann
parent e490f84ea8
commit 2303d94300
46 changed files with 43 additions and 18 deletions

View File

@@ -65,6 +65,7 @@
#define TRACE printf
#define TRACE_1 printf
class Font;
class CBox
{
public:
@@ -190,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) ? Font::FULLBG : 0; };
void setTextRenderModeFullBG(bool mode){ m_renderMode = (mode) ? 2 /*Font::FULLBG*/ : 0; };
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);