Make disassembly font size configurable

This commit is contained in:
Kingcom committed 2013-07-09 11:17:57 +02:00
1 parent 007e03a4d7
commit 98289b624a
4 files changed
+19 -7

No files matched your search

+4
View File
@@ -170,6 +170,8 @@ void Config::Load(const char *iniFileName)
debugConfig->Get("DisasmWindowH", &iDisasmWindowH, -1);
debugConfig->Get("ConsoleWindowX", &iConsoleWindowX, -1);
debugConfig->Get("ConsoleWindowY", &iConsoleWindowY, -1);
debugConfig->Get("FontWidth", &iFontWidth, 8);
debugConfig->Get("FontHeight", &iFontHeight, 12);
KeyMap::LoadFromIni(iniFile);
@@ -284,6 +286,8 @@ void Config::Save()
debugConfig->Set("DisasmWindowH", iDisasmWindowH);
debugConfig->Set("ConsoleWindowX", iConsoleWindowX);
debugConfig->Set("ConsoleWindowY", iConsoleWindowY);
debugConfig->Set("FontWidth", iFontWidth);
debugConfig->Set("FontHeight", iFontHeight);
KeyMap::SaveToIni(iniFile);