Updates for Menu

This commit is contained in:
Jack Andersen 2016-01-15 13:35:59 -10:00
parent 399a48ece3
commit 342fc4a00c
6 changed files with 8 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
version.h
*.user
.DS_Store

View File

@ -53,6 +53,9 @@ void SplashScreen::think()
if (m_fileBrowser.m_view)
m_fileBrowser.m_view->think();
if (m_openButt.m_view)
m_openButt.m_view->think();
if (m_newProjBind.m_deferPath.size())
{
Log.report(LogVisor::Info, _S("Making project '%s'"), m_newProjBind.m_deferPath.c_str());
@ -78,7 +81,7 @@ void SplashScreen::updateContentOpacity(float opacity)
Specter::ViewResources& res = rootView().viewRes();
if (!m_title && res.fontCacheReady())
{
{
m_title.reset(new Specter::TextView(res, *this, res.m_titleFont));
Zeus::CColor clearColor = res.themeData().uiText();
clearColor[3] = 0.0;

View File

@ -36,7 +36,6 @@ void ViewManager::RootSpaceViewBuilt(Specter::View *view)
std::vector<Specter::View*>& cViews = m_rootView->accessContentViews();
cViews.clear();
cViews.push_back(view);
printf("RootView Set: %p [%p]\n\n", m_rootView.get(), view);
cViews.push_back(m_splash.get());
m_rootView->updateSize();
}

View File

@ -29,7 +29,7 @@ class ViewManager : public Specter::IViewManager
std::unique_ptr<RootSpace> m_rootSpace;
Specter::View* m_rootSpaceView = nullptr;
std::vector<HECL::SystemString> m_recentProjects;
std::vector<HECL::SystemString> m_recentProjects = {"Test", "One", "Two", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j"};
std::vector<HECL::SystemString> m_recentFiles;
bool m_updatePf = false;

2
hecl

@ -1 +1 @@
Subproject commit 5d0c80b9e603ecb2762b281d8736d21a324c3e76
Subproject commit 02236f04488aee598ee268a6aefbdfb9e56bb98c

@ -1 +1 @@
Subproject commit 2490aa3bb82860fa2969d2cc797324d846e3b51c
Subproject commit c0cc30bca09e92b0c8e566016334c162c459f9dc