]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_gecko.h
Gecko resizing support
[xonotic/darkplaces.git] / cl_gecko.h
index c5bb63d230ec9e3dcf0fd8b084708881aa4900b4..b4efeffafd83a8a5527fa865da80c0069ddd9c59 100644 (file)
@@ -7,9 +7,6 @@
 \r
 #include "cl_dyntexture.h"\r
 \r
-#define DEFAULT_GECKO_WIDTH    512\r
-#define DEFAULT_GECKO_HEIGHT   DEFAULT_GECKO_WIDTH\r
-\r
 #define CLGECKOPREFIX                  CLDYNTEXTUREPREFIX "gecko/"\r
 #define MAX_GECKO_INSTANCES    16\r
 \r
@@ -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\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
 \r
 #endif\r