mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Changed the order of some theme properties.
This commit is contained in:
parent
dca3a6d232
commit
7e892a7855
|
@ -184,6 +184,7 @@ std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>>
|
||||||
{"metadataElement", BOOLEAN},
|
{"metadataElement", BOOLEAN},
|
||||||
{"gameselector", STRING},
|
{"gameselector", STRING},
|
||||||
{"container", BOOLEAN},
|
{"container", BOOLEAN},
|
||||||
|
{"containerVerticalSnap", BOOLEAN},
|
||||||
{"containerScrollSpeed", FLOAT},
|
{"containerScrollSpeed", FLOAT},
|
||||||
{"containerStartDelay", FLOAT},
|
{"containerStartDelay", FLOAT},
|
||||||
{"containerResetDelay", FLOAT},
|
{"containerResetDelay", FLOAT},
|
||||||
|
@ -255,19 +256,18 @@ std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>>
|
||||||
{"visible", BOOLEAN},
|
{"visible", BOOLEAN},
|
||||||
{"zIndex", FLOAT}}},
|
{"zIndex", FLOAT}}},
|
||||||
{"carousel",
|
{"carousel",
|
||||||
{{"type", STRING},
|
{{"pos", NORMALIZED_PAIR},
|
||||||
{"size", NORMALIZED_PAIR},
|
{"size", NORMALIZED_PAIR},
|
||||||
{"pos", NORMALIZED_PAIR},
|
|
||||||
{"origin", NORMALIZED_PAIR},
|
{"origin", NORMALIZED_PAIR},
|
||||||
{"color", COLOR},
|
{"type", STRING},
|
||||||
{"colorEnd", COLOR},
|
|
||||||
{"gradientType", STRING},
|
|
||||||
{"staticItem", PATH},
|
{"staticItem", PATH},
|
||||||
{"itemType", STRING},
|
{"itemType", STRING},
|
||||||
{"defaultItem", PATH},
|
{"defaultItem", PATH},
|
||||||
|
{"maxItemCount", FLOAT},
|
||||||
|
{"maxLogoCount", FLOAT}, // For backward compatibility with legacy themes.
|
||||||
{"itemSize", NORMALIZED_PAIR},
|
{"itemSize", NORMALIZED_PAIR},
|
||||||
{"itemInterpolation", STRING},
|
|
||||||
{"itemScale", FLOAT},
|
{"itemScale", FLOAT},
|
||||||
|
{"itemInterpolation", STRING},
|
||||||
{"itemRotation", FLOAT},
|
{"itemRotation", FLOAT},
|
||||||
{"itemRotationOrigin", NORMALIZED_PAIR},
|
{"itemRotationOrigin", NORMALIZED_PAIR},
|
||||||
{"itemHorizontalAlignment", STRING},
|
{"itemHorizontalAlignment", STRING},
|
||||||
|
@ -279,20 +279,21 @@ std::map<std::string, std::map<std::string, ThemeData::ElementPropertyType>>
|
||||||
{"reflectionsOpacity", FLOAT},
|
{"reflectionsOpacity", FLOAT},
|
||||||
{"reflectionsFalloff", FLOAT},
|
{"reflectionsFalloff", FLOAT},
|
||||||
{"unfocusedItemOpacity", FLOAT},
|
{"unfocusedItemOpacity", FLOAT},
|
||||||
{"maxItemCount", FLOAT},
|
|
||||||
{"defaultLogo", PATH}, // For backward compatibility with legacy themes.
|
{"defaultLogo", PATH}, // For backward compatibility with legacy themes.
|
||||||
{"logoSize", NORMALIZED_PAIR}, // For backward compatibility with legacy themes.
|
{"logoSize", NORMALIZED_PAIR}, // For backward compatibility with legacy themes.
|
||||||
{"logoScale", FLOAT}, // For backward compatibility with legacy themes.
|
{"logoScale", FLOAT}, // For backward compatibility with legacy themes.
|
||||||
{"logoRotation", FLOAT}, // For backward compatibility with legacy themes.
|
{"logoRotation", FLOAT}, // For backward compatibility with legacy themes.
|
||||||
{"logoRotationOrigin", NORMALIZED_PAIR}, // For backward compatibility with legacy themes.
|
{"logoRotationOrigin", NORMALIZED_PAIR}, // For backward compatibility with legacy themes.
|
||||||
{"logoAlignment", STRING}, // For backward compatibility with legacy themes.
|
{"logoAlignment", STRING}, // For backward compatibility with legacy themes.
|
||||||
{"maxLogoCount", FLOAT}, // For backward compatibility with legacy themes.
|
{"color", COLOR},
|
||||||
|
{"colorEnd", COLOR},
|
||||||
|
{"gradientType", STRING},
|
||||||
{"text", STRING},
|
{"text", STRING},
|
||||||
{"textColor", COLOR},
|
{"textColor", COLOR},
|
||||||
{"textBackgroundColor", COLOR},
|
{"textBackgroundColor", COLOR},
|
||||||
{"letterCase", STRING},
|
|
||||||
{"fontPath", PATH},
|
{"fontPath", PATH},
|
||||||
{"fontSize", FLOAT},
|
{"fontSize", FLOAT},
|
||||||
|
{"letterCase", STRING},
|
||||||
{"lineSpacing", FLOAT},
|
{"lineSpacing", FLOAT},
|
||||||
{"zIndex", FLOAT},
|
{"zIndex", FLOAT},
|
||||||
{"legacyZIndexMode", STRING}}}, // For backward compatibility with legacy themes.
|
{"legacyZIndexMode", STRING}}}, // For backward compatibility with legacy themes.
|
||||||
|
|
Loading…
Reference in a new issue