diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-12-02 22:41:06 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-12-04 20:39:35 +0000 |
| commit | 8bc273fe101cf980af17c9b0e26f7c2a18930cb7 (patch) | |
| tree | 46244cab8faa8dcaa9920fda8019daeca18c1d93 /src/desktop.h | |
| parent | Add a few useful lookup functions. (diff) | |
| download | inkscape-8bc273fe101cf980af17c9b0e26f7c2a18930cb7.tar.gz inkscape-8bc273fe101cf980af17c9b0e26f7c2a18930cb7.zip | |
Added XRay
Diffstat (limited to 'src/desktop.h')
| -rw-r--r-- | src/desktop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/desktop.h b/src/desktop.h index ddac3fb67..64a76a9a4 100644 --- a/src/desktop.h +++ b/src/desktop.h @@ -403,7 +403,9 @@ public: void toggleGrids(); void toggleSplitMode(); + void toggleXRay(); bool splitMode() const { return _split_canvas; }; + bool xrayMode() const { return _xray; }; void toggleSnapGlobal(); bool gridsEnabled() const { return grids_visible; }; void showGrids(bool show, bool dirty_document = true); @@ -537,6 +539,7 @@ private: std::list<DesktopAffine> transforms_past; std::list<DesktopAffine> transforms_future; bool _split_canvas; + bool _xray; bool _quick_zoom_enabled; ///< Signifies that currently we're in quick zoom mode DesktopAffine _quick_zoom_affine; ///< The transform of the screen before quick zoom |
