mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-26 19:28:44 +00:00
Changed toolbar to be static, increasing UI integration
This commit is contained in:
parent
b38022df43
commit
019d5aee49
5 changed files with 34 additions and 38 deletions
|
@ -128,7 +128,7 @@ wxMenuBar *CCodeWindow::GetMenuBar()
|
|||
return Parent->GetMenuBar();
|
||||
}
|
||||
|
||||
wxAuiToolBar *CCodeWindow::GetToolBar()
|
||||
wxToolBar *CCodeWindow::GetToolBar()
|
||||
{
|
||||
return Parent->m_ToolBarDebug;
|
||||
}
|
||||
|
@ -588,7 +588,7 @@ void CCodeWindow::InitBitmaps()
|
|||
bitmap = wxBitmap(bitmap.ConvertToImage().Scale(24, 24));
|
||||
}
|
||||
|
||||
void CCodeWindow::PopulateToolbar(wxAuiToolBar* toolBar)
|
||||
void CCodeWindow::PopulateToolbar(wxToolBar* toolBar)
|
||||
{
|
||||
int w = m_Bitmaps[0].GetWidth(),
|
||||
h = m_Bitmaps[0].GetHeight();
|
||||
|
@ -625,7 +625,7 @@ void CCodeWindow::UpdateButtonStates()
|
|||
bool Initialized = (Core::GetState() != Core::CORE_UNINITIALIZED);
|
||||
bool Pause = (Core::GetState() == Core::CORE_PAUSE);
|
||||
bool Stepping = CCPU::IsStepping();
|
||||
wxAuiToolBar* ToolBar = GetToolBar();
|
||||
wxToolBar* ToolBar = GetToolBar();
|
||||
|
||||
// Toolbar
|
||||
if (!ToolBar)
|
||||
|
|
|
@ -27,7 +27,7 @@ class DSPDebuggerLLE;
|
|||
class GFXDebuggerPanel;
|
||||
struct SCoreStartupParameter;
|
||||
|
||||
class wxAuiToolBar;
|
||||
class wxToolBar;
|
||||
class wxListBox;
|
||||
class wxMenu;
|
||||
class wxMenuBar;
|
||||
|
@ -52,7 +52,7 @@ class CCodeWindow
|
|||
// Parent interaction
|
||||
CFrame *Parent;
|
||||
wxMenuBar * GetMenuBar();
|
||||
wxAuiToolBar * GetToolBar();
|
||||
wxToolBar * GetToolBar();
|
||||
wxBitmap m_Bitmaps[ToolbarDebugBitmapMax];
|
||||
|
||||
bool UseInterpreter();
|
||||
|
@ -67,8 +67,8 @@ class CCodeWindow
|
|||
void CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParameter, wxMenuBar *pMenuBar);
|
||||
void CreateMenuOptions(wxMenu *pMenu);
|
||||
void CreateMenuSymbols(wxMenuBar *pMenuBar);
|
||||
void RecreateToolbar(wxAuiToolBar*);
|
||||
void PopulateToolbar(wxAuiToolBar* toolBar);
|
||||
void RecreateToolbar(wxToolBar*);
|
||||
void PopulateToolbar(wxToolBar* toolBar);
|
||||
void UpdateButtonStates();
|
||||
void OpenPages();
|
||||
void UpdateManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue