diff options
author | Federico Mena Quintero <federico@gnome.org> | 2017-12-15 11:11:31 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2017-12-15 11:11:31 -0600 |
commit | 8da08fe5654735018489655845e49aada22e4330 (patch) | |
tree | 145cde6da14208e6cc309f0ca30ce55dc746ab41 /rsvg-styles.h | |
parent | 2e1eb6bba3dd4f3a76cf8b12597d4b2458079acc (diff) | |
download | librsvg-8da08fe5654735018489655845e49aada22e4330.tar.gz |
TextDecoration: Make this a struct of booleans, not a bitfield
Diffstat (limited to 'rsvg-styles.h')
-rw-r--r-- | rsvg-styles.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/rsvg-styles.h b/rsvg-styles.h index 83738eda..7aa9f59d 100644 --- a/rsvg-styles.h +++ b/rsvg-styles.h @@ -36,14 +36,11 @@ G_BEGIN_DECLS -typedef int TextDecoration; - -enum { - TEXT_NORMAL = 0x00, - TEXT_OVERLINE = 0x01, - TEXT_UNDERLINE = 0x02, - TEXT_STRIKE = 0x04 -}; +typedef struct { + gboolean overline; + gboolean underline; + gboolean strike; +} TextDecoration; typedef enum { TEXT_ANCHOR_START, |