PBView "updates" now, i still dunno if it ever showed real values...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2711 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-03-21 01:00:33 +00:00
parent 783164d372
commit 2edd9a15ba
1 changed files with 6 additions and 8 deletions

View File

@ -30,6 +30,12 @@ extern const char* GetGRPName(unsigned int index);
CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style) CPBView::CPBView(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)
{ {
}
void CPBView::Update()
{
ClearAll();
InsertColumn(1, wxT("upd4"), wxLIST_FORMAT_LEFT, 90); InsertColumn(1, wxT("upd4"), wxLIST_FORMAT_LEFT, 90);
InsertColumn(1, wxT("upd3"), wxLIST_FORMAT_LEFT, 90); InsertColumn(1, wxT("upd3"), wxLIST_FORMAT_LEFT, 90);
InsertColumn(1, wxT("upd2"), wxLIST_FORMAT_LEFT, 90); InsertColumn(1, wxT("upd2"), wxLIST_FORMAT_LEFT, 90);
@ -60,18 +66,10 @@ CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, cons
InsertColumn(0, wxT("run"), wxLIST_FORMAT_RIGHT, 50); InsertColumn(0, wxT("run"), wxLIST_FORMAT_RIGHT, 50);
InsertColumn(0, wxT("Block"), wxLIST_FORMAT_CENTER, 40); InsertColumn(0, wxT("Block"), wxLIST_FORMAT_CENTER, 40);
SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false, wxT("monospace")));
for (int i = 0; i < 64; i++) for (int i = 0; i < 64; i++)
{ {
InsertItemInReportView(i); InsertItemInReportView(i);
} }
Refresh();
}
void CPBView::Update()
{
Refresh();
} }
void CPBView::InsertItemInReportView(int _Row) void CPBView::InsertItemInReportView(int _Row)