X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=cl_gecko.h;h=b4efeffafd83a8a5527fa865da80c0069ddd9c59;hb=a6cd51357b59bc588e47d3827953340c4de33d12;hp=c5bb63d230ec9e3dcf0fd8b084708881aa4900b4;hpb=f8d329b208664afa5655c02ad83d46fda41fd7e2;p=xonotic%2Fdarkplaces.git diff --git a/cl_gecko.h b/cl_gecko.h index c5bb63d2..b4efeffa 100644 --- a/cl_gecko.h +++ b/cl_gecko.h @@ -7,9 +7,6 @@ #include "cl_dyntexture.h" -#define DEFAULT_GECKO_WIDTH 512 -#define DEFAULT_GECKO_HEIGHT DEFAULT_GECKO_WIDTH - #define CLGECKOPREFIX CLDYNTEXTUREPREFIX "gecko/" #define MAX_GECKO_INSTANCES 16 @@ -38,6 +35,8 @@ 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 ); +void CL_Gecko_Resize( clgecko_t *instance, int w, int h ); +void CL_Gecko_GetTextureExtent( clgecko_t *instance, float* u, float* v ); #endif #endif