summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-guide.h')
-rw-r--r--src/sp-guide.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-guide.h b/src/sp-guide.h
index 382ea56f0..1ad415e85 100644
--- a/src/sp-guide.h
+++ b/src/sp-guide.h
@@ -53,6 +53,9 @@ public:
void set_label(const char* label, bool const commit);
char const* getLabel() const { return label; }
+ void set_locked(const bool locked, bool const commit);
+ bool getLocked() const { return locked; }
+
static SPGuide *createSPGuide(SPDocument *doc, Geom::Point const &pt1, Geom::Point const &pt2);
void showSPGuide(SPCanvasGroup *group, GCallback handler);
@@ -77,6 +80,7 @@ protected:
virtual void set(unsigned int key, const char* value);
char* label;
+ bool locked;
GSList *views; // contains an object of type SPGuideline (see display/guideline.cpp for definition)
Geom::Point normal_to_line;
Geom::Point point_on_line;