diff options
author | Sebastian Geerken <devnull@localhost> | 2013-10-04 16:00:53 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-10-04 16:00:53 +0200 |
commit | 8ef6e194f3c77f6f21ffbe9fea5a5961b502541e (patch) | |
tree | 119c7f156eeaabbb62e181ad76fa77c7ef5dcbc5 /dw/layout.hh | |
parent | e8f04035f76c6a31f42ec3465902854569905c1d (diff) |
Background image for view(port)s; no updates yet.
Diffstat (limited to 'dw/layout.hh')
-rw-r--r-- | dw/layout.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dw/layout.hh b/dw/layout.hh index 51d764a4..9687a2da 100644 --- a/dw/layout.hh +++ b/dw/layout.hh @@ -135,6 +135,11 @@ private: /* The state, which must be projected into the view. */ style::Color *bgColor; + style::StyleImage *bgImage; + style::BackgroundRepeat bgRepeat; + style::BackgroundAttachment bgAttachment; + style::Length bgPositionX, bgPositionY; + style::Cursor cursor; int canvasWidth, canvasAscent, canvasDescent; @@ -386,6 +391,10 @@ public: inline void resetSearch () { findtextState.resetSearch (); } void setBgColor (style::Color *color); + void setBgImage (style::StyleImage *bgImage, + style::BackgroundRepeat bgRepeat, + style::BackgroundAttachment bgAttachment, + style::Length bgPositionX, style::Length bgPositionY); inline style::Color* getBgColor () { return bgColor; } }; |