Generalization of nitpicker's graphics backend

This patch re-arranges nitpicker's graphics backend in a more modular
and expandable way. Generalized versions of the 'Canvas',
'Chunky_canvas', and 'Pixel_*' classes have been moved to
'os/include/util/' and 'os/include/os'. The only remaining parts that
are specific to nitpicker's needs are a few drawing functions, each
located in a distinct header at 'os/include/nitpicker_gfx/'.
This commit is contained in:
Norman Feske
2013-12-28 22:29:30 +01:00
committed by Christian Helmuth
parent 765053ea94
commit 8c8d53777f
35 changed files with 1112 additions and 785 deletions

View File

@ -24,6 +24,7 @@
#include <input/event.h>
#include <os/config.h>
#include <util/color.h>
#include <os/pixel_rgb565.h>
/* terminal includes */
#include <terminal/decoder.h>
@ -34,8 +35,11 @@
#include <terminal_session/terminal_session.h>
/* nitpicker graphic back end */
#include <nitpicker_gfx/font.h>
#include <nitpicker_gfx/pixel_rgb565.h>
#include <nitpicker_gfx/text_painter.h>
using Genode::Pixel_rgb565;
typedef Text_painter::Font Font;
static bool const verbose = false;