genode/repos/gems/src/app/decorator/default_font.cc
Norman Feske afac1e86bb decorator: window colors and controls
This patch improves the decorator in two ways. First, it enables the
assignment of window colors depending on the window labels. This
configuration can be changed dynamically. Second, it adds the handling
of window controls for closing, maximizing, minimizing windows.

Issue #1689
Fixes #1688
2015-10-06 12:18:54 +02:00

35 lines
557 B
C++

/*
* \brief Accessor for the default font
* \author Norman Feske
* \date 2015-09-16
*/
/*
* Copyright (C) 2015 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* local includes */
#include "canvas.h"
/**
* Statically linked binary data
*/
extern char _binary_droidsansb10_tff_start[];
/**
* Return default font
*/
Decorator::Font &Decorator::default_font()
{
static Font font(_binary_droidsansb10_tff_start);
return font;
}