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";} const char* help() const {return "Creates an empty project at selected path";}
void activated(const boo::SWindowCoord& coord) 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.updateSize();
m_splash.m_newButt.mouseLeave(coord); 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";} const char* help() const {return "Opens an existing project at selected path";}
void activated(const boo::SWindowCoord& coord) 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.updateSize();
m_splash.m_openButt.mouseLeave(coord); 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";} const char* help() const {return "Extracts game image as project at selected path";}
void activated(const boo::SWindowCoord& coord) 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.updateSize();
m_splash.m_extractButt.mouseLeave(coord); m_splash.m_extractButt.mouseLeave(coord);
} }

@ -1 +1 @@
Subproject commit e11d972cf1eb3cf22440f8c77428415bd36396a1 Subproject commit 66bb135fbb8cec3dae31e849d52a5cf652820bb2