===========================================================================
| 1253 | |
| 1254 | //=========================================================================== |
| 1255 | int GetConsoleLineHeightPixels() |
| 1256 | { |
| 1257 | int nHeight = g_aFontConfig[ FONT_CONSOLE ]._nFontHeight; // _nLineHeight; // _nFontHeight; |
| 1258 | /* |
| 1259 | if (g_iFontSpacing == FONT_SPACING_CLASSIC) |
| 1260 | { |
| 1261 | nHeight++; // "Classic" Height/Spacing |
| 1262 | } |
| 1263 | else |
| 1264 | if (g_iFontSpacing == FONT_SPACING_CLEAN) |
| 1265 | { |
| 1266 | nHeight++; |
| 1267 | } |
| 1268 | else |
| 1269 | if (g_iFontSpacing == FONT_SPACING_COMPRESSED) |
| 1270 | { |
| 1271 | // default case handled |
| 1272 | } |
| 1273 | */ |
| 1274 | return nHeight; |
| 1275 | } |
| 1276 | |
| 1277 | //=========================================================================== |
| 1278 | int GetConsoleTopPixels( int y ) |
no outgoing calls
no test coverage detected