diff options
Diffstat (limited to 'src/Theme.cpp')
-rw-r--r-- | src/Theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Theme.cpp b/src/Theme.cpp index 90e4b30..36c8ff7 100644 --- a/src/Theme.cpp +++ b/src/Theme.cpp @@ -32,7 +32,7 @@ namespace QuickMedia { return -1; } - static void parse_hex_set_color(const Json::Value &json_obj, const char *field_name, sf::Color &color) { + static void parse_hex_set_color(const Json::Value &json_obj, const char *field_name, mgl::Color &color) { const Json::Value &json_val = json_obj[field_name]; if(!json_val.isString()) { fprintf(stderr, "Warning: theme variable \"%s\" does not exists or is not a string\n", field_name); @@ -52,7 +52,7 @@ namespace QuickMedia { return; } - sf::Color new_color; + mgl::Color new_color; for(int i = 1; i < color_str_len; i += 2) { const int c1 = get_hex_value(color_str[i + 0]); const int c2 = get_hex_value(color_str[i + 1]); |