summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-10-17 11:30:14 +0000
committerhrydgard <hrydgard@gmail.com>2008-10-17 11:30:14 +0000
commitdcbc8e78d47dabd3762d9c654df01ba57dfd8d4c (patch)
treec5fa39bf50e6471e848ac93ac0e173d8aa92530d /Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp
parent4477f77cf6c37e07433979331c22f362602ac76c (diff)
Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp32
1 files changed, 4 insertions, 28 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp
index ea09ca83d4..485bb630ef 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/Debugger/PBView.cpp
@@ -15,10 +15,6 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
-
-// ---------------------------------------------------------------------------------------
-// includes
-// -----------------
#include "../Globals.h"
#include "PBView.h"
@@ -27,24 +23,11 @@
#include <stdio.h>
#include <stdlib.h>
-
-
-// ---------------------------------------------------------------------------------------
-// external declarations
-// -----------------
extern const char* GetGRPName(unsigned int index);
-
-// ---------------------------------------------------------------------------------------
-// No buttons or events so far
-// -----------------
BEGIN_EVENT_TABLE(CPBView, wxListCtrl)
END_EVENT_TABLE()
-
-// =======================================================================================
-// The main wxListCtrl
-// -------------
CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
: wxListCtrl(parent, id, pos, size, style)
{
@@ -54,7 +37,6 @@ CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, cons
for (int i = 0; i < 1; i++)
{
-
// Print values from 0 to 63
char buffer [33];
sprintf(buffer, "%02i", i);
@@ -72,18 +54,14 @@ CPBView::CPBView(wxWindow* parent, const wxWindowID id, const wxPoint& pos, cons
Refresh();
}
-
-void
-CPBView::Update()
+void CPBView::Update()
{
Refresh();
}
-
-bool
-CPBView::MSWDrawSubItem(wxPaintDC& rPainDC, int item, int subitem)
+bool CPBView::MSWDrawSubItem(wxPaintDC& rPainDC, int item, int subitem)
{
bool Result = false;
@@ -135,13 +113,11 @@ CPBView::MSWDrawSubItem(wxPaintDC& rPainDC, int item, int subitem)
rPainDC.DrawText(text, 10, 4);
#endif
- return(true);
+ return true;
}
else
{
// what does this mean?
- return(Result);
+ return Result;
}
}
-
-