#include "frontends/FontLoader.h"
#include "frontends/FontMetrics.h"
-#include "graphics/LoaderQueue.h"
-
#include "support/ExceptionMessage.h"
#include "support/FileName.h"
#include "support/lstrings.h"
QWidget w;
lyxrc.dpi = (w.logicalDpiX() + w.logicalDpiY()) / 2;
- LoaderQueue::setPriority(10,100);
-
guiApp = this;
// Set the cache to 5120 kilobytes which corresponds to screen size of
}
+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;
}