mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 03:35:26 +00:00
Clean up some of the commenting.
You do NOT need to use ///////////////////////////////////////////////////////////////////////////////////////////////////////// to signify the closing of a section when you are clearly showing the start of a new section after it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4179 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8ecfc72963
commit
c82c0b0b93
@ -74,13 +74,12 @@ class CPluginInfo;
|
||||
class CPluginManager;
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// -------
|
||||
// Main
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
|
||||
BEGIN_EVENT_TABLE(CCodeWindow, wxPanel)
|
||||
|
||||
// Menu bar
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
EVT_MENU(IDM_INTERPRETER, CCodeWindow::OnCPUMode) // CPU Mode
|
||||
EVT_MENU(IDM_AUTOMATICSTART, CCodeWindow::OnCPUMode)
|
||||
EVT_MENU(IDM_BOOTTOPAUSE, CCodeWindow::OnCPUMode)
|
||||
@ -130,7 +129,6 @@ EVT_MENU(IDM_WRITEPROFILE, CCodeWindow::OnProfilerMenu)
|
||||
//EVT_UPDATE_UI(wxID_ANY, CCodeWindow::OnStatusBar_)
|
||||
|
||||
// Toolbar
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
EVT_MENU(IDM_DEBUG_GO, CCodeWindow::OnCodeStep)
|
||||
EVT_MENU(IDM_STEP, CCodeWindow::OnCodeStep)
|
||||
EVT_MENU(IDM_STEPOVER, CCodeWindow::OnCodeStep)
|
||||
@ -141,7 +139,6 @@ EVT_TEXT(IDM_ADDRBOX, CCodeWindow::OnAddrBoxChange)
|
||||
|
||||
|
||||
// Other
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
EVT_LISTBOX(ID_SYMBOLLIST, CCodeWindow::OnSymbolListChange)
|
||||
EVT_LISTBOX(ID_CALLSTACKLIST, CCodeWindow::OnCallstackListChange)
|
||||
EVT_LISTBOX(ID_CALLERSLIST, CCodeWindow::OnCallersListChange)
|
||||
@ -192,12 +189,10 @@ wxAuiToolBar *CCodeWindow::GetToolBar()
|
||||
{
|
||||
return Parent->m_ToolBarDebug;
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// ----------
|
||||
// Events
|
||||
// ッッッッッッッッッッッッッッッッッッッッッ
|
||||
|
||||
void CCodeWindow::OnKeyDown(wxKeyEvent& event)
|
||||
{
|
||||
if ((event.GetKeyCode() == WXK_SPACE) && Parent->IsActive())
|
||||
@ -448,11 +443,11 @@ void CCodeWindow::CreateGUIControls(const SCoreStartupParameter& _LocalCoreStart
|
||||
|
||||
sync_event.Init();
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// -------
|
||||
// Menus
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
|
||||
// Create CPU Mode menus
|
||||
void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParameter, wxMenuBar * _pMenuBar)
|
||||
{
|
||||
@ -642,7 +637,6 @@ void CCodeWindow::OnJitMenu(wxCommandEvent& event)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Toolbar
|
||||
// ッッッッッッッッッッッッッッッッッッッッッ
|
||||
void CCodeWindow::InitBitmaps()
|
||||
{
|
||||
// load original size 48x48
|
||||
@ -687,7 +681,6 @@ void CCodeWindow::PopulateToolbar(wxAuiToolBar* toolBar)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Update GUI
|
||||
// ッッッッッッッッッッッッッッッッッッッッッ
|
||||
|
||||
void CCodeWindow::Update()
|
||||
{
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
// ----------
|
||||
// Includes
|
||||
// ----------
|
||||
|
||||
#include "Common.h" // Common
|
||||
#include "FileUtil.h"
|
||||
@ -51,7 +50,6 @@
|
||||
|
||||
// ----------
|
||||
// Resources
|
||||
// -----------
|
||||
|
||||
extern "C" {
|
||||
#include "../resources/Dolphin.c" // Dolphin icon
|
||||
@ -212,7 +210,6 @@ const wxEventType wxEVT_HOST_COMMAND = wxNewEventType();
|
||||
BEGIN_EVENT_TABLE(CFrame, wxFrame)
|
||||
|
||||
// Menu bar
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
EVT_MENU(wxID_OPEN, CFrame::OnOpen)
|
||||
EVT_MENU(wxID_EXIT, CFrame::OnQuit)
|
||||
EVT_MENU(IDM_HELPWEBSITE, CFrame::OnHelp)
|
||||
@ -282,7 +279,6 @@ EVT_MENU_RANGE(IDM_FRAMESKIP0, IDM_FRAMESKIP9, CFrame::OnFrameSkip)
|
||||
EVT_MENU_RANGE(IDM_DRIVE1, IDM_DRIVE24, CFrame::OnBootDrive)
|
||||
|
||||
// Other
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
EVT_CLOSE(CFrame::OnClose)
|
||||
EVT_SIZE(CFrame::OnResize)
|
||||
EVT_LIST_ITEM_ACTIVATED(LIST_CTRL, CFrame::OnGameListCtrl_ItemActivated)
|
||||
@ -297,7 +293,6 @@ EVT_AUINOTEBOOK_ALLOW_DND(wxID_ANY, CFrame::OnAllowNotebookDnD)
|
||||
EVT_AUINOTEBOOK_PAGE_CHANGED(wxID_ANY, CFrame::OnNotebookPageChanged)
|
||||
|
||||
// Post events to child panels
|
||||
// ッッッッッッッッッッッッッッッッッッッ
|
||||
EVT_MENU(wxID_ANY, CFrame::PostEvent)
|
||||
EVT_TEXT(wxID_ANY, CFrame::PostEvent)
|
||||
//EVT_MENU_HIGHLIGHT_ALL(CFrame::PostMenuEvent)
|
||||
@ -305,7 +300,7 @@ EVT_TEXT(wxID_ANY, CFrame::PostEvent)
|
||||
|
||||
END_EVENT_TABLE()
|
||||
|
||||
//---------------
|
||||
// ---------------
|
||||
// Creation and close, quit functions
|
||||
|
||||
CFrame::CFrame(wxFrame* parent,
|
||||
@ -450,7 +445,7 @@ CFrame::CFrame(wxFrame* parent,
|
||||
|
||||
// -------------------------
|
||||
// Connect event handlers
|
||||
// ----------
|
||||
|
||||
wxTheApp->Connect(wxID_ANY, wxEVT_KEY_DOWN, // Keyboard
|
||||
wxKeyEventHandler(CFrame::OnKeyDown),
|
||||
(wxObject*)0, this);
|
||||
@ -520,9 +515,8 @@ void CFrame::OnRestart(wxCommandEvent& WXUNUSED (event))
|
||||
Close(true);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// --------
|
||||
// Events
|
||||
// ッッッッッッッッッッッッッッッッッッッッッ
|
||||
|
||||
void CFrame::OnClose(wxCloseEvent& event)
|
||||
{
|
||||
@ -820,12 +814,10 @@ void CFrame::Update()
|
||||
}
|
||||
}
|
||||
#endif
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// --------
|
||||
// Functions
|
||||
// ッッッッッッッッッッッッッッッッッッッッッ
|
||||
|
||||
wxPanel* CFrame::CreateEmptyPanel()
|
||||
{
|
||||
wxPanel* Panel = new wxPanel(this, wxID_ANY);
|
||||
@ -852,5 +844,4 @@ void CFrame::DoFullscreen(bool _F)
|
||||
// Restore saved perspective
|
||||
m_Mgr->LoadPerspective(AuiCurrent, true);
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user