aboutsummaryrefslogtreecommitdiff
path: root/dw/style.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-10-08 15:03:36 +0200
committerSebastian Geerken <devnull@localhost>2013-10-08 15:03:36 +0200
commitff920593c94fe192775811b7d9c7ab340a883c3a (patch)
tree6c5e1446c901aaf6e14bfbda95b5919bb0ab3c53 /dw/style.hh
parent770d42709c33d55cfd3d650efbb95abdc7c2cc65 (diff)
Cleaned up "reference area" of background images; confirms now to CSS spec.
Diffstat (limited to 'dw/style.hh')
-rw-r--r--dw/style.hh10
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;