}
+void GuiApplication::resetGui()
+{
+ map<int, GuiView *>::iterator it;
+ for (it = views_.begin(); it != views_.end(); ++it)
+ it->second->resetDialogs();
+}
+
+
static void updateIds(map<int, GuiView *> const & stdmap, vector<int> & ids)
{
ids.clear();
}
-LyXView & GuiApplication::createView(string const & geometry_arg)
+void GuiApplication::createView(string const & geometry_arg)
{
updateIds(views_, view_ids_);
int id = 0;
view->setFocus();
setCurrentView(*view);
-
- return *view;
}
}
-LyXView & GuiApplication::view(int id) const
+GuiView & GuiApplication::view(int id) const
{
BOOST_ASSERT(views_.find(id) != views_.end());
return *views_.find(id)->second;