lcd-m6sp.c: remove \r
[kugel-rb.git] / apps / gui / skin_engine / skin_fonts.h
blob6e3634e7405a1abcbe4086dd3aea802847635a19
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2010 Jonathan Gordon
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #include "config.h"
23 #include <stdio.h>
24 #include <string.h>
25 #include <stdlib.h>
27 #include "file.h"
28 #include "settings.h"
29 #include "font.h"
30 #include "skin_buffer.h"
32 #ifndef _SKINFONTS_H_
33 #define _SKINFONTS_H_
35 #if LCD_HEIGHT > 160
36 #define SKIN_FONT_SIZE (1024*10)
37 #else
38 #define SKIN_FONT_SIZE (1024*3)
39 #endif
41 void skin_font_init(void);
43 /* load a font into the skin buffer. return the font id. */
44 int skin_font_load(char* font_name);
46 /* unload a skin font. If a font has been loaded more than once it wont actually
47 * be unloaded untill all references have been unloaded */
48 void skin_font_unload(int font_id);
49 #endif