summaryrefslogtreecommitdiff
path: root/apps/misc.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-07-29 12:37:48 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-07-29 12:37:48 +0000
commit2d31d77a8ba231cb03ec35863c4c4ce2024f6509 (patch)
treeb85ca1bede3e83695619064ee9a323f0a8da1865 /apps/misc.h
parente436483b66a931fef6436e9cd3e69eb2b3ff1f7b (diff)
downloadrockbox-2d31d77a8ba231cb03ec35863c4c4ce2024f6509.tar.gz
rockbox-2d31d77a8ba231cb03ec35863c4c4ce2024f6509.zip
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
Diffstat (limited to 'apps/misc.h')
-rw-r--r--apps/misc.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/apps/misc.h b/apps/misc.h
index 34f754bda3..58a9085d55 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -94,16 +94,7 @@ bool dir_exists(const char *path);
94char *strip_extension(char* buffer, int buffer_size, const char *filename); 94char *strip_extension(char* buffer, int buffer_size, const char *filename);
95 95
96#ifdef HAVE_LCD_BITMAP 96#ifdef HAVE_LCD_BITMAP
97/* A simplified scanf */ 97bool parse_color(char *text, int *value);
98/*
99 * Checks whether the value at position 'position' was really read
100 * during a call to 'parse_list'
101 * - position: 0-based number of the value
102 * - valid_vals: value after the call to 'parse_list'
103 */
104#define LIST_VALUE_PARSED(setvals, position) ((setvals) & BIT_N(position))
105const char* parse_list(const char *fmt, uint32_t *set_vals,
106 const char sep, const char* str, ...);
107 98
108/* only used in USB HID and set_time screen */ 99/* only used in USB HID and set_time screen */
109#if defined(USB_ENABLE_HID) || (CONFIG_RTC != 0) 100#if defined(USB_ENABLE_HID) || (CONFIG_RTC != 0)