#4256 Update fonts in Project and views when changing preferences

This commit is contained in:
Gaute Lindkvist
2019-04-10 12:49:20 +02:00
parent 0e0d78104b
commit 798e3ff19e
32 changed files with 411 additions and 129 deletions

View File

@@ -87,6 +87,14 @@ namespace caf {
m_textColor = color;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void TitledOverlayFrame::setFont(cvf::Font* font)
{
m_font = font;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -62,6 +62,7 @@ namespace caf {
cvf::Vec2ui renderSize() const;
void setTextColor(const cvf::Color3f& color);
void setFont(cvf::Font* font);
void setLineColor(const cvf::Color3f& lineColor);
void setLineWidth(int lineWidth);