Mercurial > dwindows
comparison dw.h @ 1004:cb81c08bd8c3
Correct OS/2 question mark pointer #define; should be SPTR_ICONQUESTION despite some online
documentation indicating it is SPTR_ICONQUESICON
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 09 May 2011 05:58:09 +0000 |
parents | 297f2e790e57 |
children | 3e1c70896c13 |
comparison
equal
deleted
inserted
replaced
1003:08b7e8d7cbb3 | 1004:cb81c08bd8c3 |
---|---|
161 #define DW_MLE_CASESENSITIVE MLFSEARCH_CASESENSITIVE | 161 #define DW_MLE_CASESENSITIVE MLFSEARCH_CASESENSITIVE |
162 | 162 |
163 #define DW_POINTER_DEFAULT 0 | 163 #define DW_POINTER_DEFAULT 0 |
164 #define DW_POINTER_ARROW SPTR_ARROW | 164 #define DW_POINTER_ARROW SPTR_ARROW |
165 #define DW_POINTER_CLOCK SPTR_WAIT | 165 #define DW_POINTER_CLOCK SPTR_WAIT |
166 #define DW_POINTER_QUESTION SPTR_ICONQUESICON | 166 #define DW_POINTER_QUESTION SPTR_ICONQUESTION |
167 | 167 |
168 #define DW_BS_NOBORDER BS_NOBORDER | 168 #define DW_BS_NOBORDER BS_NOBORDER |
169 | 169 |
170 #define DW_OS2_NEW_WINDOW 1 | 170 #define DW_OS2_NEW_WINDOW 1 |
171 | 171 |
377 #define DW_BS_NOBORDER 1 | 377 #define DW_BS_NOBORDER 1 |
378 | 378 |
379 #define DW_POINTER_DEFAULT 0 | 379 #define DW_POINTER_DEFAULT 0 |
380 #define DW_POINTER_ARROW 1 | 380 #define DW_POINTER_ARROW 1 |
381 #define DW_POINTER_CLOCK 2 | 381 #define DW_POINTER_CLOCK 2 |
382 #define DW_POINTER_QUESTION 3 | |
382 | 383 |
383 #define HWND_DESKTOP ((HWND)0) | 384 #define HWND_DESKTOP ((HWND)0) |
384 | 385 |
385 /* flag values for dw_messagebox() */ | 386 /* flag values for dw_messagebox() */ |
386 #define DW_MB_OK (1 << 1) | 387 #define DW_MB_OK (1 << 1) |
1260 unsigned long width, height; | 1261 unsigned long width, height; |
1261 #if GTK_MAJOR_VERSION > 2 | 1262 #if GTK_MAJOR_VERSION > 2 |
1262 GdkPixbuf *pixbuf; /* the actual image */ | 1263 GdkPixbuf *pixbuf; /* the actual image */ |
1263 cairo_surface_t *image; /* Going to have dual storage for now */ | 1264 cairo_surface_t *image; /* Going to have dual storage for now */ |
1264 #else | 1265 #else |
1265 GdkPixmap *pixmap; /* the actual image */ | 1266 GdkPixmap *pixmap; /* the actual image */ |
1266 GdkBitmap *bitmap; /* if not null, the image mask representing the transparency mask */ | 1267 GdkBitmap *bitmap; /* if not null, the image mask representing the transparency mask */ |
1267 #endif | 1268 #endif |
1268 HWND handle; | 1269 HWND handle; |
1269 } *HPIXMAP; | 1270 } *HPIXMAP; |
1270 | 1271 |
1271 typedef GtkWidget *HMENUI; | 1272 typedef GtkWidget *HMENUI; |