#define PG (1<<2)\r
#define OptionNb 256\r
\r
+#define IS_BUTTON(opt) (my_string_case_equal(opt->type,"button") || \\r
+ my_string_case_equal(opt->type,"save") || \\r
+ my_string_case_equal(opt->type,"reset")) \\r
+\r
+#define IS_SPIN(opt) (my_string_case_equal(opt->type,"spin") || \\r
+ my_string_case_equal(opt->type,"slider")) \\r
+\r
// types\r
\r
typedef struct { // TODO: put back in more logical order\r