summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-06-02 20:58:16 +0000
committerJames Bursa <james@netsurf-browser.org>2004-06-02 20:58:16 +0000
commit1f28aad33632748d3ced7ecb8b0e1b9a3991cd07 (patch)
tree20328ad6686f26e87f71128afd90d26baae0d60a /content/content.h
parent9da0a16ac38989d80e15a04e8b72eed3f0b48ccc (diff)
downloadnetsurf-1f28aad33632748d3ced7ecb8b0e1b9a3991cd07.tar.gz
netsurf-1f28aad33632748d3ced7ecb8b0e1b9a3991cd07.tar.bz2
[project @ 2004-06-02 20:58:16 by bursa]
Remove some #ifdef riscos. Use floats for animation area. svn path=/import/netsurf/; revision=908
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h10
1 files changed, 3 insertions, 7 deletions
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
@@ -142,7 +139,6 @@ struct content {
#ifdef WITH_PLUGIN
struct content_plugin_data plugin;
#endif
-#endif
} data;
struct cache_entry *cache; /**< Used by cache, 0 if not cached. */