| 1969 | } |
| 1970 | |
| 1971 | IMGUIManager::FontData* IMGUIManager::GetFont(FixedString const& name) |
| 1972 | { |
| 1973 | if (reducedFontAtlas_) { |
| 1974 | if (name == GFS.strTiny || GFS.strSmall) { |
| 1975 | return fonts_.try_get(GFS.strMedium); |
| 1976 | } |
| 1977 | |
| 1978 | if (name == GFS.strLarge) { |
| 1979 | return fonts_.try_get(GFS.strBig); |
| 1980 | } |
| 1981 | } |
| 1982 | |
| 1983 | return fonts_.try_get(name); |
| 1984 | } |
| 1985 | |
| 1986 | void IMGUIManager::SetScale(float scale) |
| 1987 | { |
no test coverage detected