summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_fonts.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_fonts.h')
-rw-r--r--apps/gui/skin_engine/skin_fonts.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_fonts.h b/apps/gui/skin_engine/skin_fonts.h
new file mode 100644
index 0000000000..3b43012de3
--- /dev/null
+++ b/apps/gui/skin_engine/skin_fonts.h
@@ -0,0 +1,46 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: skin_tokens.c 24526 2010-02-05 23:58:53Z jdgordon $
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#include "skin_buffer.h"
31
32#ifndef _SKINFONTS_H_
33#define _SKINFONTS_H_
34
35#define MAXUSERFONTS (MAXFONTS - SYSTEMFONTCOUNT)
36
37void skin_font_init(void);
38
39/* load a font into the skin buffer. return the font id. */
40int skin_font_load(char* font_name);
41
42/* unload a skin font. If a font has been loaded more than once it wont actually
43 * be unloaded untill all references have been unloaded */
44void skin_font_unload(int font_id);
45
46#endif