1#ifndef KEST_INT_PARAMETER_WIDGET_H_
2#define KEST_INT_PARAMETER_WIDGET_H_
4#define PARAM_WIDGET_LABEL_BUFSIZE 32
6#define PARAMETER_WIDGET_RANGE_SIZE 1000.0
8#define PARAM_WIDGET_VIRTUAL_POT 0
9#define PARAM_WIDGET_HSLIDER 1
10#define PARAM_WIDGET_VSLIDER 2
11#define PARAM_WIDGET_VSLIDER_TALL 3
13#define PARAM_WIDGET_SIZE_H ((int)(0.16 * DISPLAY_VRES))
14#define PARAM_WIDGET_SIZE_W PARAM_WIDGET_SIZE_H
16#define VIRTUAL_POT_SIZE_H ((int)(0.13 * DISPLAY_VRES))
17#define VIRTUAL_POT_SIZE_W VIRTUAL_POT_SIZE_H
19#define VPOT_PAD_H ((int)((45.0 / 1024.0) * DISPLAY_VRES))
20#define VPOT_PAD_W ((int)((70.0 / 600.0) * DISPLAY_HRES))
22#define HSLIDER_SIZE_H ((int)((15.0 / 1024.0) * DISPLAY_VRES))
23#define HSLIDER_SIZE_W ((int)((165.0 / 600.0) * DISPLAY_HRES))
25#define HSLIDER_PAD_H ((int)((50.0 / 1024.0) * DISPLAY_VRES))
26#define HSLIDER_PAD_W ((int)((10.0 / 600.0) * DISPLAY_HRES))
28#define VSLIDER_SIZE_H ((int)((150.0 / 1024.0) * DISPLAY_VRES))
29#define VSLIDER_SIZE_W ((int)((15.0 / 600.0) * DISPLAY_HRES))
31#define VSLIDER_PAD_H ((int)((40.0 / 1024.0) * DISPLAY_VRES))
32#define VSLIDER_PAD_W ((int)((90.0 / 600.0) * DISPLAY_HRES))
34#define VSLIDER_TALL_SIZE_H ((int)((300.0 / 1024.0) * DISPLAY_VRES))
35#define VSLIDER_TALL_SIZE_W ((int)((15.0 / 600.0) * DISPLAY_HRES))
37#define VSLIDER_TALL_PAD_H ((int)((130.0 / 1024.0) * DISPLAY_VRES))
38#define VSLIDER_TALL_PAD_W ((int)((80.0 / 600.0) * DISPLAY_HRES))
87#define SETTING_WIDGET_DROPDOWN 0
88#define SETTING_WIDGET_SWITCH 1
89#define SETTING_WIDGET_FIELD 2
#define DECLARE_LINKED_PTR_LIST(X)