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:
parent
a9e588f4f3
commit
ba58962d24
|
@ -30,7 +30,7 @@ END_EVENT_TABLE()
|
||||||
CBreakPointView::CBreakPointView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
|
CBreakPointView::CBreakPointView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
|
||||||
: wxListCtrl(parent, id, pos, size, style)
|
: wxListCtrl(parent, id, pos, size, style)
|
||||||
{
|
{
|
||||||
SetFont(wxFont(9, wxSWISS, wxNORMAL, wxNORMAL, false, wxT("Segoe UI")));
|
SetFont(DefaultFont);
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
|
@ -355,8 +355,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
|
||||||
// -------------------------
|
// -------------------------
|
||||||
wxPaintDC dc(this);
|
wxPaintDC dc(this);
|
||||||
wxRect rc = GetClientRect();
|
wxRect rc = GetClientRect();
|
||||||
wxFont font(7, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_LIGHT);
|
dc.SetFont(DefaultFont);
|
||||||
dc.SetFont(font);
|
|
||||||
struct branch
|
struct branch
|
||||||
{
|
{
|
||||||
int src, dst, srcAddr;
|
int src, dst, srcAddr;
|
||||||
|
|
|
@ -34,6 +34,7 @@ enum
|
||||||
#define USE_XPM_BITMAPS 1
|
#define USE_XPM_BITMAPS 1
|
||||||
|
|
||||||
#include <wx/wx.h>
|
#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)
|
// 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
|
// BMPs use less space, but aren't compiled into the executable on other platforms
|
||||||
|
|
|
@ -235,10 +235,9 @@ void CMemoryView::OnErase(wxEraseEvent& event)
|
||||||
void CMemoryView::OnPaint(wxPaintEvent& event)
|
void CMemoryView::OnPaint(wxPaintEvent& event)
|
||||||
{
|
{
|
||||||
wxPaintDC dc(this);
|
wxPaintDC dc(this);
|
||||||
int fontSize = 8;
|
int fontSize = 9;
|
||||||
wxRect rc = GetClientRect();
|
wxRect rc = GetClientRect();
|
||||||
wxFont font(fontSize, wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_LIGHT);
|
dc.SetFont(DefaultFont);
|
||||||
dc.SetFont(font);
|
|
||||||
struct branch
|
struct branch
|
||||||
{
|
{
|
||||||
int src, dst, srcAddr;
|
int src, dst, srcAddr;
|
||||||
|
|
|
@ -39,7 +39,7 @@ wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind)
|
||||||
wxGridCellAttr *attr = new wxGridCellAttr();
|
wxGridCellAttr *attr = new wxGridCellAttr();
|
||||||
|
|
||||||
attr->SetBackgroundColour(wxColour(wxT("#FFFFFF")));
|
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);
|
attr->SetAlignment(col & 1 ? wxALIGN_CENTER : wxALIGN_LEFT, wxALIGN_CENTER);
|
||||||
|
|
||||||
if (col % 2 == 0)
|
if (col % 2 == 0)
|
||||||
|
|
Loading…
Reference in New Issue