summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-07-09 21:33:01 +0000
committerJames Bursa <james@netsurf-browser.org>2003-07-09 21:33:01 +0000
commit9317e33d0bb597543239ced2e100ece042cf416f (patch)
tree3d509c4b9ee85555f0c07dfd6b3a06365847e6fe /render/box.h
parent80013c7a7194c47b11f6f8dddc416367df3f134d (diff)
downloadnetsurf-9317e33d0bb597543239ced2e100ece042cf416f.tar.gz
netsurf-9317e33d0bb597543239ced2e100ece042cf416f.tar.bz2
[project @ 2003-07-09 21:33:01 by bursa]
More work on <object> and plugins. svn path=/import/netsurf/; revision=213
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h
index 5a16ecd9c..b67d6e7b1 100644
--- a/render/box.h
+++ b/render/box.h
@@ -81,6 +81,23 @@ struct gui_gadget {
} data;
};
+/* state of a plugin handling this box, platform dependent */
+struct plugin_state;
+
+/* parameters for <object> and related elements */
+struct object_params {
+ char* data;
+ char* type;
+ char* codetype;
+ char* codebase;
+ char* classid;
+ char* paramds; /* very likely to change */
+ unsigned int* width;
+ unsigned int* height;
+ /* not a parameter, but stored here for convenience */
+ struct plugin_state *plugin_state;
+};
+
struct box {
box_type type;
struct css_style * style;
@@ -105,6 +122,7 @@ struct box {
struct font_data *font;
struct gui_gadget* gadget;
struct content* object; /* usually an image */
+ struct object_params *object_params;
};
struct form