diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-04-23 19:17:26 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-04-23 19:17:26 +0000 |
| commit | f9be42a5e41dc5bb2a1676e9f64e3990624072f4 (patch) | |
| tree | 2fd1496c5fea73918183f52364a3597cb900cd8a /src | |
| parent | Add MapSymbols from OpenStreetMap. (diff) | |
| download | inkscape-f9be42a5e41dc5bb2a1676e9f64e3990624072f4.tar.gz inkscape-f9be42a5e41dc5bb2a1676e9f64e3990624072f4.zip | |
revert r12297
(bzr r12302)
Diffstat (limited to 'src')
| -rw-r--r-- | src/style.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/style.h b/src/style.h index f456eaa61..2b98c9e5d 100644 --- a/src/style.h +++ b/src/style.h @@ -136,11 +136,11 @@ struct SPILength { /// Paint type internal to SPStyle. struct SPIPaint { - bool set; //todo check if other properties are also booleans - unsigned inherit; - unsigned currentcolor; - unsigned int colorSet; - unsigned int noneSet; + unsigned int set : 1; //c++ bitfields are used here as opposed to bools to reduce memory consumption, see http://tinyurl.com/cswh6mq + unsigned int inherit : 1; + unsigned int currentcolor : 1; + unsigned int colorSet : 1; + unsigned int noneSet : 1; struct { SPPaintServerReference *href; SPColor color; |
