forked from len0rd/rockbox
FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27613 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e436483b66
commit
2d31d77a8b
44 changed files with 2105 additions and 3326 deletions
|
@ -25,11 +25,15 @@
|
|||
#include <stdlib.h>
|
||||
#ifndef _SKIN_BUFFFER_H_
|
||||
#define _SKIN_BUFFFER_H_
|
||||
void skin_buffer_init(size_t size);
|
||||
void skin_buffer_init(char* buffer, size_t size);
|
||||
/* Allocate size bytes from the buffer */
|
||||
void* skin_buffer_alloc(size_t size);
|
||||
|
||||
/* get the number of bytes currently being used */
|
||||
size_t skin_buffer_usage(void);
|
||||
size_t skin_buffer_freespace(void);
|
||||
|
||||
/* save and restore a buffer position incase a skin fails to load */
|
||||
void skin_buffer_save_position(void);
|
||||
void skin_buffer_restore_position(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue