diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-12 22:52:20 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-12 22:52:20 +0200 |
commit | 7ccdc7ac47628f347315e4fd84eb2854ff5e780c (patch) | |
tree | 7019feecf73fcfefaeb1db1380123f5f4e25658d /dw/style.hh | |
parent | 76a23c134dfd1d98923830b35a9ee630924b2250 (diff) |
Remaning style attributes.
Diffstat (limited to 'dw/style.hh')
-rw-r--r-- | dw/style.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dw/style.hh b/dw/style.hh index 6c82be8d..c09a52f0 100644 --- a/dw/style.hh +++ b/dw/style.hh @@ -230,6 +230,18 @@ enum BorderStyle { BORDER_OUTSET }; +enum BackgroundRepeat { + BACKGROUND_REPEAT, + BACKGROUND_REPEAT_X, + BACKGROUND_REPEAT_Y, + BACKGROUND_NO_REPEAT +}; + +enum BackgroundAttachment { + BACKGROUND_ATTACHMENT_SCROLL, + BACKGROUND_ATTACHMENT_FIXED +}; + enum TextAlignType { TEXT_ALIGN_LEFT, TEXT_ALIGN_RIGHT, @@ -449,6 +461,10 @@ public: * TextDecoration <-> int */ Color *color, *backgroundColor; StyleImage *backgroundImage; + BackgroundRepeat backgroundRepeat; + BackgroundAttachment backgroundAttachment; + Length backgroundPositionX; // "left" defiened by "0%" etc. (see CSS spec) + Length backgroundPositionY; // "top" defiened by "0%" etc. (see CSS spec) TextAlignType textAlign; VAlignType valign; |