mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Move the menu bar into its own file.
This commit is contained in:
parent
c683b54921
commit
f9f2b2fd36
6 changed files with 138 additions and 121 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <QString>
|
||||
#include <QToolBar>
|
||||
|
||||
#include "DolphinQt2/MenuBar.h"
|
||||
#include "DolphinQt2/RenderWidget.h"
|
||||
#include "DolphinQt2/ToolBar.h"
|
||||
#include "DolphinQt2/GameList/GameList.h"
|
||||
|
@ -37,16 +38,11 @@ private slots:
|
|||
void ScreenShot();
|
||||
|
||||
private:
|
||||
void MakeToolBar();
|
||||
void MakeStack();
|
||||
void MakeGameList();
|
||||
void MakeMenuBar();
|
||||
void MakeRenderWidget();
|
||||
|
||||
void MakeMenus();
|
||||
void MakeFileMenu();
|
||||
void MakeViewMenu();
|
||||
void AddTableColumnsMenu(QMenu* view_menu);
|
||||
void AddListTypePicker(QMenu* view_menu);
|
||||
void MakeStack();
|
||||
void MakeToolBar();
|
||||
|
||||
void StartGame(QString path);
|
||||
void ShowRenderWidget();
|
||||
|
@ -54,6 +50,7 @@ private:
|
|||
|
||||
QStackedWidget* m_stack;
|
||||
ToolBar* m_tool_bar;
|
||||
MenuBar* m_menu_bar;
|
||||
GameList* m_game_list;
|
||||
RenderWidget* m_render_widget;
|
||||
bool m_rendering_to_main;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue