From b16528de87e80dcd1ae9f70c8c76fd8da722d2da Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 10 Jan 2015 22:56:28 +0100 Subject: [PATCH] Make use of API instead of hardcoded default font --- src/FbWinFrameTheme.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/FbWinFrameTheme.cc b/src/FbWinFrameTheme.cc index f01c5465..e1ec708e 100644 --- a/src/FbWinFrameTheme.cc +++ b/src/FbWinFrameTheme.cc @@ -20,11 +20,11 @@ // DEALINGS IN THE SOFTWARE. #include "FbWinFrameTheme.hh" +#include "IconbarTheme.hh" + #include "FbTk/App.hh" #include "FbTk/Util.hh" -#include "IconbarTheme.hh" - #include FbWinFrameTheme::FbWinFrameTheme(int screen_num, const std::string &extra, @@ -49,8 +49,7 @@ FbWinFrameTheme::FbWinFrameTheme(int screen_num, const std::string &extra, "Window.Label" + altextra) { *m_title_height = 0; - // set defaults - m_font->load("__DEFAULT__"); + m_font->load(FbTk::Font::DEFAULT_FONT); // create cursors Display *disp = FbTk::App::instance()->display();