X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fx11.h;h=dc22d353d50af81e00266b27375034dd7399b0a0;hb=a7c06161253796a30a0237a7f5a044f459c8cf35;hp=28e8f5e80863696116e76f4456071820481b969c;hpb=8b04d496646e102dd15710ba091e2f37cadcec5e;p=rocksndiamonds.git diff --git a/src/libgame/x11.h b/src/libgame/x11.h index 28e8f5e8..dc22d353 100644 --- a/src/libgame/x11.h +++ b/src/libgame/x11.h @@ -43,6 +43,7 @@ #define TARGET_X11_NATIVE_PERFORMANCE_WORKAROUND #endif +#define WINDOW_SCALING_STATUS WINDOW_SCALING_NOT_AVAILABLE #define FULLSCREEN_STATUS FULLSCREEN_NOT_AVAILABLE #define CURSOR_MAX_WIDTH 32 @@ -75,7 +76,7 @@ struct X11DrawableInfo { char *source_filename; - int width, height; + unsigned int width, height; Drawable drawable; Drawable clip_mask; GC gc; /* GC for normal drawing (inheritated from 'window') */ @@ -198,6 +199,7 @@ struct MouseCursorInfo #define KSYM_braceright XK_braceright #define KSYM_asciitilde XK_asciitilde +#define KSYM_degree XK_degree #define KSYM_Adiaeresis XK_Adiaeresis #define KSYM_Odiaeresis XK_Odiaeresis #define KSYM_Udiaeresis XK_Udiaeresis @@ -332,6 +334,8 @@ struct MouseCursorInfo void X11InitVideoDisplay(void); void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); +void X11CloseWindow(DrawWindow *); + void X11ZoomBitmap(Bitmap *, Bitmap *); Bitmap *X11LoadImage(char *);