summaryrefslogtreecommitdiffstats
path: root/src/enums.h
diff options
context:
space:
mode:
authorAndrius Ramanauskas <knutux@gmail.com>2006-03-31 11:50:44 +0000
committerknutux <knutux@users.sourceforge.net>2006-03-31 11:50:44 +0000
commit70cbab466d2a3e414b3b75584f6ef0f2d8d2fcb5 (patch)
treea4a9893ff183ecb63275ed59195e91da54e76ccd /src/enums.h
parentcleanup: (sp_style_paint_clear): All callers were passing hunref=TRUE, unset=... (diff)
downloadinkscape-70cbab466d2a3e414b3b75584f6ef0f2d8d2fcb5.tar.gz
inkscape-70cbab466d2a3e414b3b75584f6ef0f2d8d2fcb5.zip
patch #1450307 - option for select all to work in layer with it's sub-layers:
* Replaced check-box in preferences with 3 radio buttons (in all document in current layer only, in current layer with sub-layers) * Altered "Select all" functionality to include objects in sub-layers (if preference is on) * Altered TAB functionality to include sub-layers (had to introduce "context layer" concept in Selection class - without it TAB'ing would end in deepest child, but it needs to return to parent on subsequent TAB key press) (bzr r380)
Diffstat (limited to 'src/enums.h')
-rw-r--r--src/enums.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/enums.h b/src/enums.h
index fb8a30c50..4d3c75c20 100644
--- a/src/enums.h
+++ b/src/enums.h
@@ -73,5 +73,13 @@ enum {
SP_CLONE_ORPHANS_ASKME
};
+/* "inlayer" preference values */
+
+enum PrefsSelectionContext {
+ PREFS_SELECTION_ALL = 0,
+ PREFS_SELECTION_LAYER = 1,
+ PREFS_SELECTION_LAYER_RECURSIVE = 2,
+};
+
#endif