mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Make memory viewer and register list use the configurable font size
This commit is contained in:
1 parent
0eeebf5221
commit
f9f9429980
2 files changed
+15
-9
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include "CtrlRegisterList.h"
|
||||
#include "Debugger_MemoryDlg.h"
|
||||
|
||||
#include "Core/Config.h"
|
||||
#include "../../globals.h"
|
||||
#include "Debugger_Disasm.h"
|
||||
#include "DebuggerShared.h"
|
||||
@@ -127,9 +128,11 @@ CtrlRegisterList::CtrlRegisterList(HWND _wnd)
|
||||
SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG_PTR)this);
|
||||
//SetWindowLong(wnd, GWL_STYLE, GetWindowLong(wnd,GWL_STYLE) | WS_VSCROLL);
|
||||
//SetScrollRange(wnd, SB_VERT, -1,1,TRUE);
|
||||
font = CreateFont(12,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH,
|
||||
"Lucida Console");
|
||||
rowHeight=12;
|
||||
|
||||
rowHeight=g_Config.iFontHeight;
|
||||
|
||||
font = CreateFont(rowHeight,g_Config.iFontWidth,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,
|
||||
DEFAULT_QUALITY,DEFAULT_PITCH,"Lucida Console");
|
||||
selecting=false;
|
||||
selection=0;
|
||||
category=0;
|
||||
|
||||
Reference in new issue
Block a user