mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +03:00
Pass content msg redraw coords as ints.
svn path=/trunk/netsurf/; revision=11893
This commit is contained in:
parent
6c758cd298
commit
cfe6b8cc66
@ -72,16 +72,16 @@ union content_msg_data {
|
|||||||
const char *error; /**< Error message, for CONTENT_MSG_ERROR. */
|
const char *error; /**< Error message, for CONTENT_MSG_ERROR. */
|
||||||
/** Area of content which needs redrawing, for CONTENT_MSG_REDRAW. */
|
/** Area of content which needs redrawing, for CONTENT_MSG_REDRAW. */
|
||||||
struct {
|
struct {
|
||||||
float x, y, width, height;
|
int x, y, width, height;
|
||||||
/** Redraw the area fully. If false, object must be set,
|
/** Redraw the area fully. If false, object must be set,
|
||||||
* and only the object will be redrawn. */
|
* and only the object will be redrawn. */
|
||||||
bool full_redraw;
|
bool full_redraw;
|
||||||
/** Object to redraw if full_redraw is false. */
|
/** Object to redraw if full_redraw is false. */
|
||||||
struct content *object;
|
struct content *object;
|
||||||
/** Coordinates to plot object at. */
|
/** Coordinates to plot object at. */
|
||||||
float object_x, object_y;
|
int object_x, object_y;
|
||||||
/** Dimensions to plot object with. */
|
/** Dimensions to plot object with. */
|
||||||
float object_width, object_height;
|
int object_width, object_height;
|
||||||
} redraw;
|
} redraw;
|
||||||
int delay; /**< Minimum delay, for CONTENT_MSG_REFRESH */
|
int delay; /**< Minimum delay, for CONTENT_MSG_REFRESH */
|
||||||
/** Low-level cache handle, for CONTENT_MSG_DOWNLOAD */
|
/** Low-level cache handle, for CONTENT_MSG_DOWNLOAD */
|
||||||
|
Loading…
Reference in New Issue
Block a user