diff --git a/src/desktop.h b/src/desktop.h
index 1aae2ebb6bce1421f0b909d4c38104ad5a84edcb..4c255ecbbb140f9c935c43ec9afe5e423e7534ff 100644 (file)
--- a/src/desktop.h
+++ b/src/desktop.h
GList *zooms_future;
unsigned int dkey;
unsigned int number;
- bool is_fullscreen;
+ guint window_state;
unsigned int interaction_disabled_counter;
bool waiting_cursor;
void toggleGrid();
bool gridsEnabled() { return grids_visible; }
+ bool is_iconified();
+ bool is_maximized();
+ bool is_fullscreen();
+
+ void iconify();
+ void maximize();
void fullscreen();
void registerEditWidget (Inkscape::UI::View::EditWidgetInterface *widget)
{ _widget = widget; }
- NR::Matrix w2d() const;
+ NR::Matrix w2d() const; //transformation from window to desktop coordinates (used for zooming)
NR::Point w2d(NR::Point const &p) const;
NR::Point d2w(NR::Point const &p) const;
NR::Matrix doc2dt() const;