~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to src/desktop.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-12-24 16:10:36 UTC
  • Revision ID: james.westby@ubuntu.com-20091224161036-low9f46u1pveqd6i
Tags: 0.47.0-1ubuntu2
Brown paper bag update: actually use the correct version of the
source tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
#endif
181
181
 
182
182
    SPDesktop();
183
 
    void init (SPNamedView* nv, SPCanvas* canvas);
 
183
    void init (SPNamedView* nv, SPCanvas* canvas, Inkscape::UI::View::EditWidgetInterface *widget);
184
184
    virtual ~SPDesktop();
185
185
    void destroy();
186
186
 
303
303
    void fullscreen();
304
304
    void focusMode(bool mode = true);
305
305
 
306
 
    void registerEditWidget (Inkscape::UI::View::EditWidgetInterface *widget)
307
 
    { _widget = widget; }
308
 
 
309
306
    Geom::Matrix w2d() const; //transformation from window to desktop coordinates (used for zooming)
310
307
    Geom::Point w2d(Geom::Point const &p) const;
311
308
    Geom::Point d2w(Geom::Point const &p) const;