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;
34 int real_width, real_height;
39 psplash_fb_destroy (PSplashFB *fb);
42 psplash_fb_new (int angle);
45 psplash_fb_plot_pixel (PSplashFB *fb,
53 psplash_fb_draw_rect (PSplashFB *fb,
63 psplash_fb_draw_image (PSplashFB *fb,
68 int img_bytes_pre_pixel,
72 psplash_fb_text_size (PSplashFB *fb,
75 const PSplashFont *font,
79 psplash_fb_draw_text (PSplashFB *fb,
85 const PSplashFont *font,