summaryrefslogtreecommitdiffstats
path: root/src/desktop.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-08-27 14:58:22 +0000
committerKrzysztof Kosinski <tweenk.pl@gmail.com>2011-08-27 14:58:22 +0000
commit24526cceccb4ed103a6324756476c64efb3fb5dd (patch)
tree24abb1d2b1bdb6156a83f2d393cbdc4747fda4ac /src/desktop.h
parentRemove NRRect from paint servers and temporary calculations (diff)
downloadinkscape-24526cceccb4ed103a6324756476c64efb3fb5dd.tar.gz
inkscape-24526cceccb4ed103a6324756476c64efb3fb5dd.zip
Remove all NRRect use.
(bzr r10582.1.5)
Diffstat (limited to 'src/desktop.h')
-rw-r--r--src/desktop.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/desktop.h b/src/desktop.h
index 5dcd014ca..d15fb7d69 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -117,8 +117,9 @@ public:
SPCSSAttr *current; ///< current style
bool _focusMode; ///< Whether we're focused working or general working
- GList *zooms_past;
- GList *zooms_future;
+ std::list<Geom::Rect> zooms_past;
+ std::list<Geom::Rect> zooms_future;
+
bool _quick_zoom_enabled; ///< Signifies that currently we're in quick zoom mode
Geom::Rect _quick_zoom_stored_area; ///< The area of the screen before quick zoom
unsigned int dkey;
@@ -359,7 +360,7 @@ private:
bool grids_visible; /* don't set this variable directly, use the method below */
void set_grids_visible(bool visible);
- void push_current_zoom (GList**);
+ void push_current_zoom(std::list<Geom::Rect> &);
sigc::signal<void,SPDesktop*,SPDocument*> _document_replaced_signal;
sigc::signal<void> _activate_signal;