// Andreas Kirsch 07\r
\r
-#ifdef SUPPORT_GECKO\r
-\r
#ifndef CL_GECKO_H\r
#define CL_GECKO_H\r
\r
void CL_Gecko_Init( void );\r
void CL_Gecko_Shutdown( void );\r
\r
-clgecko_t * CL_Gecko_CreateBrowser( const char *name );\r
+clgecko_t * CL_Gecko_CreateBrowser( const char *name, int ownerProg );\r
clgecko_t * CL_Gecko_FindBrowser( const char *name );\r
void CL_Gecko_DestroyBrowser( clgecko_t *instance );\r
\r
void CL_Gecko_Event_CursorMove( clgecko_t *instance, float x, float y );\r
\r
// returns whether the key/button event was handled or not\r
-qboolean CL_Gecko_Event_Key( clgecko_t *instance, int key, clgecko_buttoneventtype_t eventtype );\r
-\r
-void CL_Gecko_Resize( clgecko_t *instance, int w, int h );\r
-void CL_Gecko_GetTextureExtent( clgecko_t *instance, float* u, float* v );\r
-#endif\r
+qboolean CL_Gecko_Event_Key( clgecko_t *instance, keynum_t key, clgecko_buttoneventtype_t eventtype );\r
\r
+void CL_Gecko_Resize( clgecko_t *instance, int width, int height );\r
+// get the ratio between gecko instance's size in the texture and the actual texture size..\r
+void CL_Gecko_GetTextureExtent( clgecko_t *instance, float* pwidth, float* pheight );\r
#endif\r
\r