diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_fonts.h')
-rw-r--r-- | apps/gui/skin_engine/skin_fonts.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/apps/gui/skin_engine/skin_fonts.h b/apps/gui/skin_engine/skin_fonts.h deleted file mode 100644 index 698ed4fe7c..0000000000 --- a/apps/gui/skin_engine/skin_fonts.h +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2010 Jonathan Gordon | ||
11 | * | ||
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. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | |||
22 | #include "config.h" | ||
23 | #include <stdio.h> | ||
24 | #include <string.h> | ||
25 | #include <stdlib.h> | ||
26 | |||
27 | #include "file.h" | ||
28 | #include "settings.h" | ||
29 | #include "font.h" | ||
30 | |||
31 | #ifndef _SKINFONTS_H_ | ||
32 | #define _SKINFONTS_H_ | ||
33 | |||
34 | #if LCD_HEIGHT > 160 | ||
35 | #define SKIN_FONT_SIZE (1024*10) | ||
36 | #else | ||
37 | #define SKIN_FONT_SIZE (1024*3) | ||
38 | #endif | ||
39 | #define GLYPHS_TO_CACHE 256 | ||
40 | |||
41 | void skin_font_init(void); | ||
42 | |||
43 | /* load a font into the skin buffer. return the font id. | ||
44 | * reserve room for glyphs glyphs */ | ||
45 | int skin_font_load(char* font_name, int glyphs); | ||
46 | |||
47 | /* unload a skin font. If a font has been loaded more than once it wont actually | ||
48 | * be unloaded untill all references have been unloaded */ | ||
49 | void skin_font_unload(int font_id); | ||
50 | #endif | ||