mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 10:08:51 +00: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:
parent
217e0da0e6
commit
cb0eafcfc8
6 changed files with 257 additions and 112 deletions
|
@ -109,15 +109,16 @@ class CFrame : public wxFrame
|
|||
|
||||
// AUI
|
||||
wxAuiManager *m_Mgr;
|
||||
wxAuiToolBar *m_ToolBar, *m_ToolBar2;
|
||||
wxAuiNotebook *m_NB0, *m_NB1;
|
||||
wxAuiToolBar *m_ToolBar, *m_ToolBarDebug, *m_ToolBarAui;
|
||||
wxAuiNotebook *m_NB0, *m_NB1, *m_NB2;
|
||||
int iLeftWidth[2], iMidWidth[2];
|
||||
// Perspectives
|
||||
wxString AuiFullscreen;
|
||||
wxString AuiMode1;
|
||||
wxString AuiMode2;
|
||||
wxString AuiCurrent;
|
||||
wxString AuiFullscreen, AuiCurrent;
|
||||
wxArrayString AuiPerspective;
|
||||
void OnNotebookPageClose(wxAuiNotebookEvent& event);
|
||||
void OnAllowNotebookDnD(wxAuiNotebookEvent& event);
|
||||
void DoLoadPerspective(int);
|
||||
void Save();
|
||||
|
||||
char **drives;
|
||||
|
||||
|
@ -161,6 +162,7 @@ class CFrame : public wxFrame
|
|||
wxBitmap m_BitmapsMenu[EToolbar_Max];
|
||||
|
||||
void PopulateToolbar(wxAuiToolBar* toolBar);
|
||||
void PopulateToolbarAui(wxAuiToolBar* toolBar);
|
||||
void RecreateToolbar();
|
||||
void CreateMenu();
|
||||
|
||||
|
@ -171,6 +173,7 @@ class CFrame : public wxFrame
|
|||
// Event functions
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnHelp(wxCommandEvent& event);
|
||||
void OnToolBar(wxCommandEvent& event);
|
||||
|
||||
void OnOpen(wxCommandEvent& event); // File menu
|
||||
void DoOpen(bool Boot);
|
||||
|
@ -208,6 +211,7 @@ class CFrame : public wxFrame
|
|||
void OnToggleThrottle(wxCommandEvent& event);
|
||||
void OnResize(wxSizeEvent& event);
|
||||
void OnToggleToolbar(wxCommandEvent& event);
|
||||
void DoToggleToolbar(bool);
|
||||
void OnToggleStatusbar(wxCommandEvent& event);
|
||||
void OnToggleLogWindow(wxCommandEvent& event);
|
||||
void OnToggleConsole(wxCommandEvent& event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue