Mercurial > dwindows
diff dw.h @ 2265:63bb97e94cd3
GTK4: More work on conversion... the amount of changes is really ridiculous.
GTK4 is essentially a new system, almost everything has changed.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 29 Jan 2021 13:18:47 +0000 |
parents | 5c981407b0f3 |
children | bb0690c04413 |
line wrap: on
line diff
--- a/dw.h Fri Jan 29 10:57:12 2021 +0000 +++ b/dw.h Fri Jan 29 13:18:47 2021 +0000 @@ -1061,9 +1061,15 @@ #define DW_BS_NOBORDER 1 #define DW_POINTER_DEFAULT 0 +#if GTK_MAJOR_VERSION > 3 +#define DW_POINTER_ARROW 1 +#define DW_POINTER_CLOCK 2 +#define DW_POINTER_QUESTION 3 +#else #define DW_POINTER_ARROW GDK_TOP_LEFT_ARROW #define DW_POINTER_CLOCK GDK_WATCH #define DW_POINTER_QUESTION GDK_QUESTION_ARROW +#endif #define HWND_DESKTOP ((HWND)0)