mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GUI: Views toolbar, save view on exit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4074 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -28,6 +28,9 @@
|
||||
#include "Thread.h"
|
||||
#include "CoreParameter.h"
|
||||
|
||||
// GUI global
|
||||
#include "../../DolphinWX/Src/Globals.h"
|
||||
|
||||
class CRegisterWindow;
|
||||
class CBreakPointWindow;
|
||||
class CMemoryWindow;
|
||||
@ -54,10 +57,10 @@ class CCodeWindow
|
||||
void Load();
|
||||
void Save();
|
||||
|
||||
// Function redirection
|
||||
// Function redirection and parent interaction
|
||||
wxFrame *GetParentFrame();
|
||||
wxMenuBar * GetMenuBar();
|
||||
wxAuiToolBar * GetToolBar(), * m_ToolBar2;
|
||||
wxAuiToolBar * GetToolBar(), * m_ToolBarDebug;
|
||||
wxAuiNotebook *m_NB0, *m_NB1;
|
||||
bool IsActive();
|
||||
void UpdateToolbar(wxAuiToolBar *);
|
||||
@ -68,13 +71,13 @@ class CCodeWindow
|
||||
#endif
|
||||
wxWindow * GetNootebookPage(wxString);
|
||||
void DoToggleWindow(int,bool);
|
||||
wxBitmap m_Bitmaps[ToolbarDebugBitmapMax];
|
||||
|
||||
bool UseInterpreter();
|
||||
bool BootToPause();
|
||||
bool AutomaticStart();
|
||||
bool UnlimitedJITCache();
|
||||
bool JITBlockLinking();
|
||||
//bool UseDualCore(); // not used
|
||||
void JumpToAddress(u32 _Address);
|
||||
|
||||
void Update();
|
||||
@ -106,18 +109,6 @@ class CCodeWindow
|
||||
ID_SYMBOLLIST
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
Toolbar_DebugGo,
|
||||
Toolbar_Pause,
|
||||
Toolbar_Step,
|
||||
Toolbar_StepOver,
|
||||
Toolbar_Skip,
|
||||
Toolbar_GotoPC,
|
||||
Toolbar_SetPC,
|
||||
Bitmaps_max
|
||||
};
|
||||
|
||||
// Settings
|
||||
bool bAutomaticStart; bool bBootToPause;
|
||||
bool bRegisterWindow;
|
||||
@ -161,6 +152,9 @@ class CCodeWindow
|
||||
void DoTip(wxString text);
|
||||
void OnKeyDown(wxKeyEvent& event);
|
||||
|
||||
void InitBitmaps();
|
||||
void CreateGUIControls(const SCoreStartupParameter& _LocalCoreStartupParameter);
|
||||
|
||||
wxMenuItem* jitblocklinking, *jitunlimited, *jitoff;
|
||||
wxMenuItem* jitlsoff, *jitlslxzoff, *jitlslwzoff, *jitlslbzxoff;
|
||||
wxMenuItem* jitlspoff;
|
||||
@ -177,12 +171,7 @@ class CCodeWindow
|
||||
wxListBox* calls;
|
||||
Common::Event sync_event;
|
||||
|
||||
wxBitmap m_Bitmaps[Bitmaps_max];
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
void InitBitmaps();
|
||||
void CreateGUIControls(const SCoreStartupParameter& _LocalCoreStartupParameter);
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif /*CODEWINDOW_*/
|
||||
|
Reference in New Issue
Block a user