mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 15:43:56 +00:00
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:
committed by
Christian Helmuth
parent
765053ea94
commit
8c8d53777f
@ -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;
|
||||
|
Reference in New Issue
Block a user