Author: jackson
Date: 2007-08-23 23:09:48 -0400 (Thu, 23 Aug 2007)
New Revision: 84769
Modified:
trunk/moon/plugin/ChangeLog
trunk/moon/plugin/plugin-class.cpp
Log:
* plugin-class.cpp: We can now hookup to the resize event.
Modified: trunk/moon/plugin/ChangeLog
===================================================================
--- trunk/moon/plugin/ChangeLog 2007-08-24 01:52:43 UTC (rev 84768)
+++ trunk/moon/plugin/ChangeLog 2007-08-24 03:09:48 UTC (rev 84769)
@@ -1,3 +1,7 @@
+2007-08-23 Jackson Harper <[EMAIL PROTECTED]>
+
+ * plugin-class.cpp: We can now hookup to the resize event.
+
2007-08-23 Jb Evain <[EMAIL PROTECTED]>
* mono.cpp (vm_init): properly initialize the new debugging
Modified: trunk/moon/plugin/plugin-class.cpp
===================================================================
--- trunk/moon/plugin/plugin-class.cpp 2007-08-24 01:52:43 UTC (rev 84768)
+++ trunk/moon/plugin/plugin-class.cpp 2007-08-24 03:09:48 UTC (rev 84769)
@@ -1407,17 +1407,15 @@
return true;
}
else if (name_matches (name, "onResize")) {
-#if notyet /* XXX Surface needs to inherit from DependencyObject */
+ MoonlightContentObject *obj = (MoonlightContentObject *) npobj;
PluginInstance *plugin = (PluginInstance*)
((MoonlightObject*)npobj)->instance->pdata;
EventListenerProxy *proxy = new EventListenerProxy
(((MoonlightObject*)npobj)->instance,
"Resize",
value);
proxy->AddHandler (plugin->surface);
-
- // XXX store the proxy someplace in this object
-#endif
- DEBUG_WARN_NOTIMPLEMENTED ("content onResize");
+ obj->resizeProxy = proxy;
+
return true;
}
else if (name_matches (name, "onFullScreenChange")) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches