Fix some more problems in MEOW mode, #3957

This commit is contained in:
heckflosse
2017-07-16 18:00:43 +02:00
parent cfa7e335fa
commit 164c577b24
5 changed files with 83 additions and 29 deletions

View File

@@ -33,17 +33,20 @@ private:
std::map<Glib::ustring, EditorPanel*> epanels;
bool isFullscreen;
bool isClosed;
void toggleFullscreen ();
void restoreWindow();
public:
// Check if the system has more than one display and option is set
static bool isMultiDisplayEnabled();
// Should only be created once, auto-creates window on correct display
static EditWindow* getInstance(RTWindow* p);
static EditWindow* getInstance(RTWindow* p, bool restore = true);
explicit EditWindow (RTWindow* p);
void writeOptions();
void addEditorPanel (EditorPanel* ep, const std::string &name);
void remEditorPanel (EditorPanel* ep);
bool selectEditorPanel(const std::string &name);
@@ -57,8 +60,6 @@ public:
//bool on_window_state_event(GdkEventWindowState* event);
void on_mainNB_switch_page(Gtk::Widget* page, guint page_num);
void set_title_decorated(Glib::ustring fname);
void setFullScreen (bool fullScreen) { isFullscreen = fullScreen; }
void on_realize ();
};