2 * Copyright(C) 2009 Samsung Electronics
3 * InKi Dae <inki.dae@samsung.com>
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file COPYING in the main directory of this archive
13 #include <linux/types.h>
15 struct fbcon_font_desc {
23 /* define 8 index color table */
39 /* Max. length for the name of a predefined font */
40 #define MAX_FONT_NAME 32
42 /* max index color count */
43 #define MAX_INDEX_TABLE (8 + 1)
45 /* initialize font module and then create color table. */
48 /* exit font module. */
52 void set_font_color(unsigned char index);
54 /* set coordinates for x and y axis */
55 void set_font_xy(unsigned int x, unsigned int y);
57 /* get coordinates for x and y axis */
58 void get_font_xy(unsigned int *x, unsigned int *y);
60 /* draw string with user-requested color */
61 void fb_printf(char *s);
64 void draw_wheel(int x, int y, unsigned char color);
67 void draw_progress(int y, int per, unsigned char color);