2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Update specter

This commit is contained in:
Jack Andersen
2015-12-21 15:33:55 -10:00
parent de79c50d2e
commit d1a9fb6dfd
2 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ class SplashScreen : public Specter::ModalWindow
const char* help() const {return "Creates an empty project at selected path";}
void activated(const boo::SWindowCoord& coord)
{
m_splash.m_fileBrowser.m_view.reset(new Specter::FileBrowser(m_splash.rootView().viewRes(), m_splash));
m_splash.m_fileBrowser.m_view.reset(new Specter::FileBrowser(m_splash.rootView().viewRes(), m_splash, "New Project"));
m_splash.updateSize();
m_splash.m_newButt.mouseLeave(coord);
}
@@ -47,7 +47,7 @@ class SplashScreen : public Specter::ModalWindow
const char* help() const {return "Opens an existing project at selected path";}
void activated(const boo::SWindowCoord& coord)
{
m_splash.m_fileBrowser.m_view.reset(new Specter::FileBrowser(m_splash.rootView().viewRes(), m_splash));
m_splash.m_fileBrowser.m_view.reset(new Specter::FileBrowser(m_splash.rootView().viewRes(), m_splash, "Open Project"));
m_splash.updateSize();
m_splash.m_openButt.mouseLeave(coord);
}
@@ -61,7 +61,7 @@ class SplashScreen : public Specter::ModalWindow
const char* help() const {return "Extracts game image as project at selected path";}
void activated(const boo::SWindowCoord& coord)
{
m_splash.m_fileBrowser.m_view.reset(new Specter::FileBrowser(m_splash.rootView().viewRes(), m_splash));
m_splash.m_fileBrowser.m_view.reset(new Specter::FileBrowser(m_splash.rootView().viewRes(), m_splash, "Extract Game"));
m_splash.updateSize();
m_splash.m_extractButt.mouseLeave(coord);
}