From 1f28aad33632748d3ced7ecb8b0e1b9a3991cd07 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 2 Jun 2004 20:58:16 +0000 Subject: [project @ 2004-06-02 20:58:16 by bursa] Remove some #ifdef riscos. Use floats for animation area. svn path=/import/netsurf/; revision=908 --- content/content.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'content') diff --git a/content/content.h b/content/content.h index 57094ceb8..5c36559da 100644 --- a/content/content.h +++ b/content/content.h @@ -40,7 +40,6 @@ #ifdef WITH_GIF #include "netsurf/riscos/gif.h" #endif -#ifdef riscos #ifdef WITH_PLUGIN #include "netsurf/riscos/plugin.h" #endif @@ -53,7 +52,6 @@ #ifdef WITH_DRAW #include "netsurf/riscos/draw.h" #endif -#endif /** Used in callbacks to indicate what has occurred. */ @@ -77,16 +75,16 @@ union content_msg_data { char *redirect; /**< Redirect URL, for CONTENT_MSG_REDIRECT. */ /** Area of content which needs redrawing, for CONTENT_MSG_REDRAW. */ struct { - int x, y, width, height; + float 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. */ - int object_x, object_y; + float object_x, object_y; /** Dimensions to plot object with. */ - int object_width, object_height; + float object_width, object_height; } redraw; char *auth_realm; /**< Realm, for CONTENT_MSG_AUTH. */ }; @@ -129,7 +127,6 @@ struct content { #ifdef WITH_GIF struct content_gif_data gif; #endif -#ifdef riscos #ifdef WITH_PNG struct content_png_data png; #endif @@ -141,7 +138,6 @@ struct content { #endif #ifdef WITH_PLUGIN struct content_plugin_data plugin; -#endif #endif } data; -- cgit v1.2.3