genode/repos/demo/src/app/scout/styles.h
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

55 lines
1.8 KiB
C++

/*
* \brief Document styles
* \date 2005-10-24
* \author Norman Feske <norman.feske@genode-labs.com>
*/
/*
* Copyright (C) 2005-2013 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.
*/
#ifndef _STYLES_H_
#define _STYLES_H_
#include "elements.h"
extern char _binary_mono16_tff_start[];
extern char _binary_verabi10_tff_start[];
extern char _binary_vera16_tff_start[];
extern char _binary_verai16_tff_start[];
extern char _binary_vera18_tff_start[];
extern char _binary_vera20_tff_start[];
extern char _binary_vera24_tff_start[];
namespace Scout {
static Font label_font (&_binary_verabi10_tff_start[0]);
static Font default_font (&_binary_vera16_tff_start[0]);
static Font italic_font (&_binary_verai16_tff_start[0]);
static Font mono_font (&_binary_mono16_tff_start[0]);
static Font chapter_font (&_binary_vera24_tff_start[0]);
static Font section_font (&_binary_vera20_tff_start[0]);
static Font subsection_font (&_binary_vera18_tff_start[0]);
static Color default_color (0, 0, 0);
static Color text_color (20, 20, 20);
static Color verbatim_bgcol (0, 0, 0, 26);
static Style plain_style (&default_font, text_color, 0);
static Style bold_style (&default_font, text_color, Style::ATTR_BOLD);
static Style mono_style (&mono_font, text_color, 0);
static Style italic_style (&italic_font, text_color, 0);
static Style link_style (&default_font, Color(0, 0, 255), 0);
static Style chapter_style (&chapter_font, default_color, 0);
static Style section_style (&section_font, default_color, 0);
static Style subsection_style (&subsection_font, default_color, 0);
static Style navbar_style (&default_font, Color(0, 0, 0, 127), 0);
}
#endif /* _STYLES_H_ */