2 * pslash - a lightweight framebuffer splashscreen for embedded devices.
4 * Copyright (c) 2006 Matthew Allum <mallum@o-hand.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #ifndef _HAVE_PSPLASH_FB_H
19 #define _HAVE_PSPLASH_FB_H
21 typedef struct PSplashFB
24 struct termios save_termios;
37 psplash_fb_destroy (PSplashFB *fb);
40 psplash_fb_new (void);
43 psplash_fb_plot_pixel (PSplashFB *fb,
51 psplash_fb_draw_rect (PSplashFB *fb,
61 psplash_fb_draw_image (PSplashFB *fb,
66 int img_bytes_pre_pixel,
70 psplash_fb_text_size (PSplashFB *fb,
73 const PSplashFont *font,
77 psplash_fb_draw_text (PSplashFB *fb,
83 const PSplashFont *font,