MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CmdConfigGetFont

Function CmdConfigGetFont

source/Debugger/Debugger_Win32.cpp:244–259  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

242
243//===========================================================================
244Update_t CmdConfigGetFont(int nArgs)
245{
246 if (!nArgs)
247 {
248 for (int iFont = 0; iFont < NUM_FONTS; iFont++)
249 {
250 ConsoleBufferPushFormat(" Font: %-20s A:%2d M:%2d",
251 g_aFontConfig[iFont]._sFontName,
252 g_aFontConfig[iFont]._nFontWidthAvg,
253 g_aFontConfig[iFont]._nFontWidthMax);
254 }
255 return ConsoleUpdate();
256 }
257
258 return UPDATE_CONSOLE_DISPLAY;
259}
260
261//===========================================================================
262Update_t CmdConfigFont(int nArgs)

Callers 2

CmdVersionFunction · 0.85
CmdConfigFontFunction · 0.85

Calls 2

ConsoleBufferPushFormatFunction · 0.85
ConsoleUpdateFunction · 0.70

Tested by

no test coverage detected