summaryrefslogtreecommitdiff
path: root/tools/checkwps/checkwps.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/checkwps/checkwps.h')
-rw-r--r--tools/checkwps/checkwps.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/checkwps/checkwps.h b/tools/checkwps/checkwps.h
index fa3b425500..2ba8f5f59e 100644
--- a/tools/checkwps/checkwps.h
+++ b/tools/checkwps/checkwps.h
@@ -23,20 +23,22 @@
23#define _CHECKWPS_H_ 23#define _CHECKWPS_H_
24#include <stdio.h> 24#include <stdio.h>
25#include <stdlib.h> 25#include <stdlib.h>
26#include <stdbool.h>
26#include <fcntl.h> 27#include <fcntl.h>
27 28
28/* subset of global_settings needed to build checkwps. */ 29/* subset of global_settings needed to build checkwps. */
29struct user_settings { 30struct user_settings {
30 bool statusbar; 31 bool statusbar;
31#ifdef HAVE_LCD_COLOR
32 int bg_color; /* background color native format */ 32 int bg_color; /* background color native format */
33 int fg_color; /* foreground color native format */ 33 int fg_color; /* foreground color native format */
34#endif
35}; 34};
36 35
37extern struct user_settings global_settings; 36extern struct user_settings global_settings;
38 37
38#define FONT_SYSFIXED 0
39#define FONT_UI 1
40#define SYSFONT_HEIGHT 8
39 41
40 42#define MIN(x,y) ((x) > (y) ? (y) : (x))
41 43
42#endif 44#endif