Make use of API instead of hardcoded default font
This commit is contained in:
parent
c47280236f
commit
b16528de87
1 changed files with 3 additions and 4 deletions
|
@ -20,11 +20,11 @@
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
#include "FbWinFrameTheme.hh"
|
#include "FbWinFrameTheme.hh"
|
||||||
|
#include "IconbarTheme.hh"
|
||||||
|
|
||||||
#include "FbTk/App.hh"
|
#include "FbTk/App.hh"
|
||||||
#include "FbTk/Util.hh"
|
#include "FbTk/Util.hh"
|
||||||
|
|
||||||
#include "IconbarTheme.hh"
|
|
||||||
|
|
||||||
#include <X11/cursorfont.h>
|
#include <X11/cursorfont.h>
|
||||||
|
|
||||||
FbWinFrameTheme::FbWinFrameTheme(int screen_num, const std::string &extra,
|
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) {
|
"Window.Label" + altextra) {
|
||||||
|
|
||||||
*m_title_height = 0;
|
*m_title_height = 0;
|
||||||
// set defaults
|
m_font->load(FbTk::Font::DEFAULT_FONT);
|
||||||
m_font->load("__DEFAULT__");
|
|
||||||
|
|
||||||
// create cursors
|
// create cursors
|
||||||
Display *disp = FbTk::App::instance()->display();
|
Display *disp = FbTk::App::instance()->display();
|
||||||
|
|
Loading…
Reference in a new issue