+struct theme_description {
+ const char *name;
+ void (*init)(struct gui_theme *t);
+};
+
+static struct theme_description themes[] = {
+ {
+ .name = "colorful blackness",
+ .init = init_theme_colorful_blackness,
+ },
+ {
+ .name = "simple",
+ .init = init_theme_simple,
+ },
+};
+
+#define NUM_THEMES (ARRAY_SIZE(themes))
+
+static int current_theme_num;
+
+static void set_theme(int num, struct gui_theme *t)