diff options
author | Sebastian Geerken <devnull@localhost> | 2013-10-08 15:03:36 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-10-08 15:03:36 +0200 |
commit | ff920593c94fe192775811b7d9c7ab340a883c3a (patch) | |
tree | 6c5e1446c901aaf6e14bfbda95b5919bb0ab3c53 /dw/style.hh | |
parent | 770d42709c33d55cfd3d650efbb95abdc7c2cc65 (diff) |
Cleaned up "reference area" of background images; confirms now to CSS spec.
Diffstat (limited to 'dw/style.hh')
-rw-r--r-- | dw/style.hh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/dw/style.hh b/dw/style.hh index 04380dde..361741be 100644 --- a/dw/style.hh +++ b/dw/style.hh @@ -739,9 +739,9 @@ public: virtual bool readyToDraw () = 0; /** - * \brief ... + * \brief Return the area covered by the background image. */ - virtual void getPaddingArea (int *x, int *y, int *width, int *height) = 0; + virtual void getBgArea (int *x, int *y, int *width, int *height) = 0; /** * \brief Return the "reference area". @@ -779,12 +779,6 @@ public: Length getBackgroundPositionY (); /** - * \brief Return the total area this background image is - * attached to, in canvas coordinates. - */ - virtual void getArea (int *x, int *y, int *width, int *height) = 0; - - /** * \brief Return the style this background image is part of. */ virtual Style *getStyle () = 0; |