Change the font in DebuggerWX to something legible kthx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1667 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
bushing 2008-12-26 03:46:04 +00:00
parent a9e588f4f3
commit ba58962d24
5 changed files with 6 additions and 7 deletions

View File

@ -30,7 +30,7 @@ END_EVENT_TABLE()
CBreakPointView::CBreakPointView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
: wxListCtrl(parent, id, pos, size, style)
{
SetFont(wxFont(9, wxSWISS, wxNORMAL, wxNORMAL, false, wxT("Segoe UI")));
SetFont(DefaultFont);
Refresh();
}

View File

@ -355,8 +355,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
// -------------------------
wxPaintDC dc(this);
wxRect rc = GetClientRect();
wxFont font(7, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_LIGHT);
dc.SetFont(font);
dc.SetFont(DefaultFont);
struct branch
{
int src, dst, srcAddr;

View File

@ -34,6 +34,7 @@ enum
#define USE_XPM_BITMAPS 1
#include <wx/wx.h>
static wxFont DefaultFont = wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false, wxT("monospace"));
// define this to use XPMs everywhere (by default, BMPs are used under Win)
// BMPs use less space, but aren't compiled into the executable on other platforms

View File

@ -235,10 +235,9 @@ void CMemoryView::OnErase(wxEraseEvent& event)
void CMemoryView::OnPaint(wxPaintEvent& event)
{
wxPaintDC dc(this);
int fontSize = 8;
int fontSize = 9;
wxRect rc = GetClientRect();
wxFont font(fontSize, wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_LIGHT);
dc.SetFont(font);
dc.SetFont(DefaultFont);
struct branch
{
int src, dst, srcAddr;

View File

@ -39,7 +39,7 @@ wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind)
wxGridCellAttr *attr = new wxGridCellAttr();
attr->SetBackgroundColour(wxColour(wxT("#FFFFFF")));
attr->SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false, wxT("monospace")));
attr->SetFont(DefaultFont);
attr->SetAlignment(col & 1 ? wxALIGN_CENTER : wxALIGN_LEFT, wxALIGN_CENTER);
if (col % 2 == 0)