summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2012-05-17 17:46:13 +0000
committerJon A. Cruz <jon@joncruz.org>2012-05-17 17:46:13 +0000
commit6fcfc152fe1c214ba3ba3720e6e33edbdf8e59f7 (patch)
treebf7047da96b66c5de83a8af0a30207e0a0aa2dcf /src
parentExtended resizing to node handles. (diff)
downloadinkscape-6fcfc152fe1c214ba3ba3720e6e33edbdf8e59f7.tar.gz
inkscape-6fcfc152fe1c214ba3ba3720e6e33edbdf8e59f7.zip
Follow-up for 11375
(bzr r11376)
Diffstat (limited to 'src')
-rw-r--r--src/ui/control-types.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/ui/control-types.h b/src/ui/control-types.h
new file mode 100644
index 000000000..8a9aef23f
--- /dev/null
+++ b/src/ui/control-types.h
@@ -0,0 +1,47 @@
+#ifndef SEEN_UI_CONTROL_TYPES_H
+#define SEEN_UI_CONTROL_TYPES_H
+
+/*
+ * Authors:
+ * Jon A. Cruz <jon@joncruz.org>
+ *
+ * Copyright (C) 2012 authors
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+namespace Inkscape
+{
+
+// Rough initial set. Most likely needs refinement.
+enum ControlType {
+ CTRL_TYPE_UNKNOWN,
+ CTRL_TYPE_ADJ_HANDLE,
+ CTRL_TYPE_ANCHOR,
+ CTRL_TYPE_POINT,
+ CTRL_TYPE_ROTATE,
+ CTRL_TYPE_SIZER,
+ CTRL_TYPE_SHAPER,
+ CTRL_TYPE_ORIGIN,
+ CTRL_TYPE_LINE,
+ CTRL_TYPE_INVISIPOINT
+};
+
+} // namespace Inkscape
+
+#endif // SEEN_UI_CONTROL_TYPES_H
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :