aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/IcedTeaNPPlugin.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-01-31 10:19:48 +0100
committerSven Gothel <[email protected]>2014-01-31 10:19:48 +0100
commitf826663e9609b73783deea475872646242c8abb9 (patch)
tree64f60a686ffae66753bb62b7b135964e9b2fcc83 /plugin/icedteanp/IcedTeaNPPlugin.h
parentf5a0517ac704b36e3d94aa3d5547ddf95889ab95 (diff)
ITW NPP: Pass window position through all layers, added as 'xpos' and 'ypos' in message and parameters ; ...
- Relative position of window maybe important in regards to overlapping applet windows as well as for an upcoming OSX support. However, client may still need to calculate the location on screen. - Applet3Panel added toString() - Applet3Panel, PluginApplet3Viewer: Better naming for browser notification - appletResize -> browserSizeChanged, etc
Diffstat (limited to 'plugin/icedteanp/IcedTeaNPPlugin.h')
-rw-r--r--plugin/icedteanp/IcedTeaNPPlugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/icedteanp/IcedTeaNPPlugin.h b/plugin/icedteanp/IcedTeaNPPlugin.h
index 3e66599..2356abf 100644
--- a/plugin/icedteanp/IcedTeaNPPlugin.h
+++ b/plugin/icedteanp/IcedTeaNPPlugin.h
@@ -73,6 +73,10 @@ struct ITNPPluginData
guint32 window_width;
// The last plugin window height sent to us by the browser.
guint32 window_height;
+ // The last plugin window x-coord sent to us by the browser.
+ gint32 window_x;
+ // The last plugin window y-coord sent to us by the browser.
+ gint32 window_y;
// The source location for this instance
std::string source;
// If this is an actual applet instance, or a dummy instance for static calls
@@ -86,6 +90,8 @@ struct ITNPPluginData
window_handle = NULL;
window_width = 0;
window_height = 0;
+ window_x = 0;
+ window_y = 0;
is_applet_instance = false;
}
~ITNPPluginData() {