| 193 | } |
| 194 | |
| 195 | bool SearchPanel::TryTrafficSimplifiedColorsCmd(std::string const & str) |
| 196 | { |
| 197 | bool const simplifiedMode = (str == "?tc:simp"); |
| 198 | bool const normalMode = (str == "?tc:norm"); |
| 199 | |
| 200 | if (!simplifiedMode && !normalMode) |
| 201 | return false; |
| 202 | |
| 203 | bool const isSimplified = simplifiedMode; |
| 204 | GetFramework().GetTrafficManager().SetSimplifiedColorScheme(isSimplified); |
| 205 | GetFramework().SaveTrafficSimplifiedColors(isSimplified); |
| 206 | |
| 207 | return true; |
| 208 | } |
| 209 | |
| 210 | std::string SearchPanel::GetCurrentInputLocale() |
| 211 | { |
nothing calls this directly
no test coverage detected