]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/WorkAreaManager.h
Set a maximum value to zoom level
[lyx.git] / src / frontends / WorkAreaManager.h
index 7d389c67034b82e5993887a9e139a06d9bf117ba..0434074ab45769fa9944972a304f1c4bbf5e0c87 100644 (file)
@@ -15,6 +15,9 @@
 #include <list>
 
 namespace lyx {
+
+class Buffer;
+
 namespace frontend {
 
 class WorkArea;
@@ -35,13 +38,15 @@ public:
        ///
        void remove(WorkArea * wa);
        ///
-       void redrawAll();
+       void redrawAll(bool update_metrics);
        ///
        void closeAll();
-       /// This function is called when the buffer readonly status change.
-       void setReadOnly(bool);
-       /// Update window titles of all users.
+       /// Update window titles of all users and the external modifications
+       /// warning.
        void updateTitles();
+       /// If there is no work area, create a new one in the current view using the
+       /// buffer buf. Returns false if not possible.
+       bool unhide(Buffer * buf);
 
 private:
        typedef std::list<WorkArea *>::iterator iterator;