Add a rockbox kernel thread for simulator specific tasks, and use that for calling...
[maemo-rb.git] / tools / checkwps / checkwps.h
blob2ba8f5f59e1cac6788389b50113f3ca0285692e8
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2008 by 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 #ifndef _CHECKWPS_H_
23 #define _CHECKWPS_H_
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <stdbool.h>
27 #include <fcntl.h>
29 /* subset of global_settings needed to build checkwps. */
30 struct user_settings {
31 bool statusbar;
32 int bg_color; /* background color native format */
33 int fg_color; /* foreground color native format */
36 extern struct user_settings global_settings;
38 #define FONT_SYSFIXED 0
39 #define FONT_UI 1
40 #define SYSFONT_HEIGHT 8
42 #define MIN(x,y) ((x) > (y) ? (y) : (x))
44 #endif