2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 10:27:42 +00:00

Recent projects functionality

This commit is contained in:
Jack Andersen
2016-01-15 17:58:11 -10:00
parent 342fc4a00c
commit 877a389da6
6 changed files with 75 additions and 7 deletions

View File

@@ -93,7 +93,11 @@ class SplashScreen : public Specter::ModalWindow
std::string m_text;
const std::string* text() const {return &m_text;}
void activated() {m_parent.m_openProjBind.m_deferPath = m_path;}
void activated(const boo::SWindowCoord& coord)
{
m_parent.m_openProjBind.m_deferPath = m_path;
m_parent.m_openProjBind.m_splash.m_openButt.m_view->closeMenu(coord);
}
OpenRecentMenuItem(OpenRecentMenuRoot& parent, const HECL::SystemString& path)
: m_parent(parent), m_path(path)