7 struct obthemedata themedata;
13 int main(int argc, char **argv)
18 themedata.themes = g_hash_table_new(g_str_hash, g_str_equal);
19 themedata.materials = g_hash_table_new(g_str_hash, g_str_equal);
20 err = obtheme_parse(&themedata, argv[1]);
22 printf("Fix the script\n");
25 printf("err = %d\n", err);
27 // g_hash_table_foreach(themedata.materials, material_print, NULL);
29 // g_hash_table_foreach(themedata.themes, theme_print, NULL);
31 thm = g_hash_table_lookup(themedata.themes, "awesome");
32 obtheme_decorate_window(thm, "regular_window");
33 obtheme_calc_bound(thm, "regular_window", &br);
34 printf("bounding rectangle: (%f %f) - (%f %f)\n", br.x1, br.y1, br.x2, br.y2);