+
+ int r = atoi(get_theme_config(theme_element, "red").c_str());
+ int g = atoi(get_theme_config(theme_element, "green").c_str());
+ int b = atoi(get_theme_config(theme_element, "blue").c_str());
+ bool use_lcd = atoi(get_theme_config("screen", "lcd").c_str());
+
+ // Find font faces.
+ std::vector<FT_Face> fonts;
+ std::vector<std::string> font_list = split(get_theme_config(theme_element, "font"), ';');
+ for (unsigned i = 0; i < font_list.size(); ++i) {
+ if (faces.count(font_list[i])) {
+ fonts.push_back(faces[font_list[i]]);
+ }
+ }