| 171 | } |
| 172 | |
| 173 | void BuildSkins(QString const & styleDir, QString const & outputDir) |
| 174 | { |
| 175 | QString const resolutionFilePath = JoinPathQt({styleDir, "resolutions.txt"}); |
| 176 | |
| 177 | auto const resolution2size = GetSkinSizes(resolutionFilePath); |
| 178 | |
| 179 | for (SkinType s : g_skinTypes) |
| 180 | { |
| 181 | QString const suffix = SkinSuffix(s); |
| 182 | QString const outputSkinDir = JoinPathQt({outputDir, "symbols", suffix, "design"}); |
| 183 | int const size = resolution2size.at(suffix.toStdString()); // SkinSize(s); |
| 184 | |
| 185 | BuildSkinImpl(styleDir, suffix, size, outputSkinDir); |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | void ApplySkins(QString const & outputDir) |
| 190 | { |
nothing calls this directly
no test coverage detected