summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-02 21:10:29 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-02 21:10:29 +0000
commitcfe6b8cc66b7a1423e807bcde4fd6fb94a274c00 (patch)
treeba744a602146a39f9df9bf039939c6e5aa32b9bd /content/content.h
parent6c758cd298f9641d1b81ee7fc44c70ececd4b275 (diff)
downloadnetsurf-cfe6b8cc66b7a1423e807bcde4fd6fb94a274c00.tar.gz
netsurf-cfe6b8cc66b7a1423e807bcde4fd6fb94a274c00.tar.bz2
Pass content msg redraw coords as ints.
svn path=/trunk/netsurf/; revision=11893
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/content.h b/content/content.h
index 6b3d83013..b2696bc10 100644
--- a/content/content.h
+++ b/content/content.h
@@ -72,16 +72,16 @@ union content_msg_data {
const char *error; /**< Error message, for CONTENT_MSG_ERROR. */
/** Area of content which needs redrawing, for CONTENT_MSG_REDRAW. */
struct {
- float x, y, width, height;
+ int x, y, width, height;
/** Redraw the area fully. If false, object must be set,
* and only the object will be redrawn. */
bool full_redraw;
/** Object to redraw if full_redraw is false. */
struct content *object;
/** Coordinates to plot object at. */
- float object_x, object_y;
+ int object_x, object_y;
/** Dimensions to plot object with. */
- float object_width, object_height;
+ int object_width, object_height;
} redraw;
int delay; /**< Minimum delay, for CONTENT_MSG_REFRESH */
/** Low-level cache handle, for CONTENT_MSG_DOWNLOAD */