diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-02 16:56:51 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-02 16:56:51 +0000 |
| commit | 9bfba5c24a89f0d2ae75fc78a0aa21743a29e978 (patch) | |
| tree | a6698845cfd4b6af513d9e7b75e8bb743cf37c99 /src/sp-item-group.cpp | |
| parent | Experimental merge of Ponyscape features into trunk (will not compile) (diff) | |
| download | inkscape-9bfba5c24a89f0d2ae75fc78a0aa21743a29e978.tar.gz inkscape-9bfba5c24a89f0d2ae75fc78a0aa21743a29e978.zip | |
Experimental merge of Ponyscape features into trunk (will not compile)
(bzr r13090.1.2)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-item-group.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 2cfe97db8..fbd9a6538 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -616,6 +616,18 @@ SPGroup::LayerMode SPGroup::layerDisplayMode(unsigned int dkey) const { } } +void SPGroup::setExpanded(bool isexpanded) { + if ( _expanded != isexpanded ){ + _expanded = isexpanded; + } +} + +void SPGroup::setInsertBottom(bool insertbottom) { + if ( _insertBottom != insertbottom) { + _insertBottom = insertbottom; + } +} + void SPGroup::setLayerDisplayMode(unsigned int dkey, SPGroup::LayerMode mode) { if ( layerDisplayMode(dkey) != mode ) { _display_modes[dkey] = mode; |
