diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-08-01 12:35:39 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-08-01 12:35:39 +0000 |
| commit | db53a4b489fbcf45eee9f54a0b1231e6092374dc (patch) | |
| tree | e87805ae8b154021b1e3125ef9c633d3b9e50f2b /src/sp-guide.h | |
| parent | Replacement of unnecessary variables. (diff) | |
| download | inkscape-db53a4b489fbcf45eee9f54a0b1231e6092374dc.tar.gz inkscape-db53a4b489fbcf45eee9f54a0b1231e6092374dc.zip | |
Fixed more mismatched-tags; replaced GObject-properties in SPGuide
(bzr r11608.1.115)
Diffstat (limited to 'src/sp-guide.h')
| -rw-r--r-- | src/sp-guide.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sp-guide.h b/src/sp-guide.h index 18e07d719..9af56d12b 100644 --- a/src/sp-guide.h +++ b/src/sp-guide.h @@ -41,6 +41,11 @@ public: GSList *views; std::vector<SPGuideAttachment> attached_items; + guint32 getColor() const; + guint32 getHiColor() const; + void setColor(guint32 c); + void setHiColor(guint32 h); + inline bool isHorizontal() const { return (normal_to_line[Geom::X] == 0.); }; inline bool isVertical() const { return (normal_to_line[Geom::Y] == 0.); }; inline double angle() const { return std::atan2( - normal_to_line[Geom::X], normal_to_line[Geom::Y] ); }; |
