skin: don't calculate id3->elapsed+state->ff_rewind_count each time. remove trailing...
[kugel-rb.git] / apps / gui / skin_engine / skin_fonts.h
blob778be0a73a5d09f3590ee2a99bb847ca11e052c7
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_
36 void skin_font_init(void);
38 /* load a font into the skin buffer. return the font id. */
39 int skin_font_load(char* font_name);
41 /* unload a skin font. If a font has been loaded more than once it wont actually
42 * be unloaded untill all references have been unloaded */
43 void skin_font_unload(int font_id);
44 #endif