mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-23 10:31:22 +00:00
fix console font
This commit is contained in:
parent
2553c625d1
commit
f4a8005a8f
@ -20,6 +20,7 @@
|
|||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "MacUtils.h"
|
#include "MacUtils.h"
|
||||||
#include "Events.h"
|
#include "Events.h"
|
||||||
|
#include "Fonts.h"
|
||||||
|
|
||||||
Console *Console::currentInstance = NULL;
|
Console *Console::currentInstance = NULL;
|
||||||
|
|
||||||
@ -29,10 +30,10 @@ Console::Console(GrafPtr port, Rect r)
|
|||||||
PortSetter setport(consolePort);
|
PortSetter setport(consolePort);
|
||||||
|
|
||||||
InsetRect(&bounds, 2,2);
|
InsetRect(&bounds, 2,2);
|
||||||
TextFont(9);
|
TextFont(kFontIDMonaco);
|
||||||
TextSize(9);
|
TextSize(9);
|
||||||
|
|
||||||
cellSizeY = 10;
|
cellSizeY = 12;
|
||||||
cellSizeX = CharWidth('M');
|
cellSizeX = CharWidth('M');
|
||||||
|
|
||||||
rows = (bounds.bottom - bounds.top) / cellSizeY;
|
rows = (bounds.bottom - bounds.top) / cellSizeY;
|
||||||
|
Loading…
Reference in New Issue
Block a user