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
|
@ -28,8 +28,12 @@ extern "C"
|
|||
{
|
||||
#endif
|
||||
|
||||
#if !defined(ROCKBOX) || defined(__PCTOOL__)
|
||||
#define SKINPARSER_DEBUG
|
||||
#endif
|
||||
|
||||
#include "skin_parser.h"
|
||||
#ifndef ROCKBOX
|
||||
#ifdef SKINPARSER_DEBUG
|
||||
/* Debugging functions */
|
||||
void skin_error(enum skin_errorcode error, char* cursor);
|
||||
int skin_error_line(void);
|
||||
|
@ -37,6 +41,7 @@ int skin_error_col(void);
|
|||
char* skin_error_message(void);
|
||||
void skin_clear_errors(void);
|
||||
void skin_debug_tree(struct skin_element* root);
|
||||
void skin_error_format_message();
|
||||
|
||||
/* Auxiliary debug functions */
|
||||
void skin_debug_params(int count, struct skin_tag_parameter params[]);
|
||||
|
@ -46,7 +51,7 @@ void skin_debug_indent(void);
|
|||
#define skin_error(...)
|
||||
#define skin_clear_errors()
|
||||
|
||||
#endif /* !ROCKBOX */
|
||||
#endif /* SKINPARSER_DEBUG */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue