diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-30 16:46:25 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-30 16:46:48 +0200 |
commit | 4cf3b18f62c55885be159aa666451d56c91d03ed (patch) | |
tree | 04e7d68d5e60b87405276c88842d9b2e007f082c | |
parent | 36126f5ee37799b959036e0e47abec279e864942 (diff) | |
download | spice-protocol-4cf3b18f62c55885be159aa666451d56c91d03ed.tar.gz spice-protocol-4cf3b18f62c55885be159aa666451d56c91d03ed.tar.xz spice-protocol-4cf3b18f62c55885be159aa666451d56c91d03ed.zip |
Simplify SpiceLineAttr by removing unused elements and enums
-rw-r--r-- | spice/draw.h | 4 | ||||
-rw-r--r-- | spice/enums.h | 16 |
2 files changed, 0 insertions, 20 deletions
diff --git a/spice/draw.h b/spice/draw.h index da748ef..abf778f 100644 --- a/spice/draw.h +++ b/spice/draw.h @@ -251,11 +251,7 @@ typedef struct SPICE_ATTR_PACKED SpiceBlackness { typedef struct SPICE_ATTR_PACKED SpiceLineAttr { uint8_t flags; - uint8_t join_style; - uint8_t end_style; uint8_t style_nseg; - SPICE_FIXED28_4 width; - SPICE_FIXED28_4 miter_limit; SPICE_ADDRESS style; //data[0] ? } SpiceLineAttr; diff --git a/spice/enums.h b/spice/enums.h index 153356c..3317536 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -201,22 +201,6 @@ enum SpiceLineFlags { SPICE_LINE_FLAGS_MASK = 0xc }; -enum SpiceLineCap { - SPICE_LINE_CAP_ROUND, - SPICE_LINE_CAP_SQUARE, - SPICE_LINE_CAP_BUTT, - - SPICE_LINE_CAP_ENUM_END -}; - -enum SpiceLineJoin { - SPICE_LINE_JOIN_ROUND, - SPICE_LINE_JOIN_BEVEL, - SPICE_LINE_JOIN_MITER, - - SPICE_LINE_JOIN_ENUM_END -}; - enum SpiceStringFlags { SPICE_STRING_FLAGS_RASTER_A1 = (1 << 0), SPICE_STRING_FLAGS_RASTER_A4 = (1 << 1), |