X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_gecko.h;h=fd12e801ec8d085f5938453e568393ef59effdef;hb=c82325b2009e3727409760ebf470fe3d4357a161;hp=3d6109210325ef73b626064522ed606bae7dabf6;hpb=67d339972ae43762156bb0cc2012da7eb90ee1a1;p=xonotic%2Fdarkplaces.git diff --git a/cl_gecko.h b/cl_gecko.h index 3d610921..fd12e801 100644 --- a/cl_gecko.h +++ b/cl_gecko.h @@ -1,7 +1,5 @@ // Andreas Kirsch 07 -#ifdef SUPPORT_GECKO - #ifndef CL_GECKO_H #define CL_GECKO_H @@ -24,7 +22,7 @@ void CL_Gecko_Frame( void ); void CL_Gecko_Init( void ); void CL_Gecko_Shutdown( void ); -clgecko_t * CL_Gecko_CreateBrowser( const char *name ); +clgecko_t * CL_Gecko_CreateBrowser( const char *name, int ownerProg ); clgecko_t * CL_Gecko_FindBrowser( const char *name ); void CL_Gecko_DestroyBrowser( clgecko_t *instance ); @@ -33,12 +31,10 @@ void CL_Gecko_NavigateToURI( clgecko_t *instance, const char *URI ); void CL_Gecko_Event_CursorMove( clgecko_t *instance, float x, float y ); // returns whether the key/button event was handled or not -qboolean CL_Gecko_Event_Key( clgecko_t *instance, int key, clgecko_buttoneventtype_t eventtype ); +qboolean CL_Gecko_Event_Key( clgecko_t *instance, keynum_t key, clgecko_buttoneventtype_t eventtype ); void CL_Gecko_Resize( clgecko_t *instance, int width, int height ); // get the ratio between gecko instance's size in the texture and the actual texture size.. void CL_Gecko_GetTextureExtent( clgecko_t *instance, float* pwidth, float* pheight ); #endif -#endif -