- downscale_2x2(buf, subbufs[0]);
- downscale_2x2(buf + 400 * 4, subbufs[1]);
- downscale_2x2(buf + 800 * 300 * 4, subbufs[2]);
- downscale_2x2(buf + 800 * 300 * 4 + 400 * 4, subbufs[3]);
+ copy_subscreen(buf, subbufs[0], width, height);
+ copy_subscreen(buf + (width/2) * 4, subbufs[1], width, height);
+ copy_subscreen(buf + width * (height/2) * 4, subbufs[2], width, height);
+ copy_subscreen(buf + width * (height/2) * 4 + (width/2) * 4, subbufs[3], width, height);
+
+ // make divider lines
+ int r = atoi(get_theme_config("divider", "red").c_str());
+ int g = atoi(get_theme_config("divider", "green").c_str());
+ int b = atoi(get_theme_config("divider", "blue").c_str());