[xiph-commits] r3117 - liboggplay/trunk/plugin

shans at svn.annodex.net shans at svn.annodex.net
Thu Jun 28 05:17:24 PDT 2007


Author: shans
Date: 2007-06-28 05:17:24 -0700 (Thu, 28 Jun 2007)
New Revision: 3117

Modified:
   liboggplay/trunk/plugin/plugin_gui_linux.c
Log:
Implemented gui_width and gui_height functions



Modified: liboggplay/trunk/plugin/plugin_gui_linux.c
===================================================================
--- liboggplay/trunk/plugin/plugin_gui_linux.c	2007-06-28 08:27:15 UTC (rev 3116)
+++ liboggplay/trunk/plugin/plugin_gui_linux.c	2007-06-28 12:17:24 UTC (rev 3117)
@@ -464,12 +464,12 @@
 
 long
 gui_get_window_width(void *handle) {
-//!todo
-  return 0;
+  PluginWindowInfo  * info = (PluginWindowInfo *)handle;
+  return info->width;
 }
 
 long
 gui_get_window_height(void *handle) {
-//!todo
-  return 0;
+  PluginWindowInfo  * info = (PluginWindowInfo *)handle;
+  return info->height;
 }



More information about the commits mailing list