comparison dw.h @ 1933:758f49e54566

Enable dw_windows_get_text() to return value of label under GTK. Support for fullscreen display on GTK.
author mhessling@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 11 Sep 2017 05:56:04 +0000
parents c47a04d83b90
children 22e3e829be13
comparison
equal deleted inserted replaced
1932:bf34d9f9dabe 1933:758f49e54566
142 #define DW_FCF_HIDEMAX FCF_HIDEMAX 142 #define DW_FCF_HIDEMAX FCF_HIDEMAX
143 #define DW_FCF_AUTOICON FCF_AUTOICON 143 #define DW_FCF_AUTOICON FCF_AUTOICON
144 #define DW_FCF_MAXIMIZE WS_MAXIMIZED 144 #define DW_FCF_MAXIMIZE WS_MAXIMIZED
145 #define DW_FCF_MINIMIZE WS_MINIMIZED 145 #define DW_FCF_MINIMIZE WS_MINIMIZED
146 #define DW_FCF_TEXTURED 0 146 #define DW_FCF_TEXTURED 0
147 #define DW_FCF_FULLSCREEN 0
147 148
148 #define DW_CFA_BITMAPORICON CFA_BITMAPORICON 149 #define DW_CFA_BITMAPORICON CFA_BITMAPORICON
149 #define DW_CFA_STRING CFA_STRING 150 #define DW_CFA_STRING CFA_STRING
150 #define DW_CFA_ULONG CFA_ULONG 151 #define DW_CFA_ULONG CFA_ULONG
151 #define DW_CFA_TIME CFA_TIME 152 #define DW_CFA_TIME CFA_TIME
355 #define DW_FCF_HIDEMAX 0 356 #define DW_FCF_HIDEMAX 0
356 #define DW_FCF_AUTOICON 0 357 #define DW_FCF_AUTOICON 0
357 #define DW_FCF_MAXIMIZE 0 358 #define DW_FCF_MAXIMIZE 0
358 #define DW_FCF_MINIMIZE 0 359 #define DW_FCF_MINIMIZE 0
359 #define DW_FCF_TEXTURED (1 << 8) /* NSTexturedBackgroundWindowMask */ 360 #define DW_FCF_TEXTURED (1 << 8) /* NSTexturedBackgroundWindowMask */
361 #define DW_FCF_FULLSCREEN (1 << 4)
360 362
361 #define DW_CFA_BITMAPORICON 1 363 #define DW_CFA_BITMAPORICON 1
362 #define DW_CFA_STRING (1 << 1) 364 #define DW_CFA_STRING (1 << 1)
363 #define DW_CFA_ULONG (1 << 2) 365 #define DW_CFA_ULONG (1 << 2)
364 #define DW_CFA_TIME (1 << 3) 366 #define DW_CFA_TIME (1 << 3)
535 #define DW_FCF_AUTOICON 0 537 #define DW_FCF_AUTOICON 0
536 #define DW_FCF_MAXIMIZE WS_MAXIMIZE 538 #define DW_FCF_MAXIMIZE WS_MAXIMIZE
537 #define DW_FCF_MINIMIZE WS_MINIMIZE 539 #define DW_FCF_MINIMIZE WS_MINIMIZE
538 #define DW_FCF_COMPOSITED 1 540 #define DW_FCF_COMPOSITED 1
539 #define DW_FCF_TEXTURED 0 541 #define DW_FCF_TEXTURED 0
542 #define DW_FCF_FULLSCREEN (1 << 2)
540 543
541 #define DW_CFA_BITMAPORICON 1 544 #define DW_CFA_BITMAPORICON 1
542 #define DW_CFA_STRING (1 << 1) 545 #define DW_CFA_STRING (1 << 1)
543 #define DW_CFA_ULONG (1 << 2) 546 #define DW_CFA_ULONG (1 << 2)
544 #define DW_CFA_TIME (1 << 3) 547 #define DW_CFA_TIME (1 << 3)
646 } Item; 649 } Item;
647 650
648 typedef struct _box { 651 typedef struct _box {
649 #if defined(__WIN32__) || defined(WINNT) 652 #if defined(__WIN32__) || defined(WINNT)
650 ColorInfo cinfo; 653 ColorInfo cinfo;
654 int fullscreen;
651 #elif defined(__OS2__) || defined(__EMX__) 655 #elif defined(__OS2__) || defined(__EMX__)
652 PFNWP oldproc; 656 PFNWP oldproc;
653 UserData *root; 657 UserData *root;
654 HWND hwndtitle, hwnd; 658 HWND hwndtitle, hwnd;
655 int titlebar; 659 int titlebar;
800 #define DW_FCF_HIDEMAX 0 804 #define DW_FCF_HIDEMAX 0
801 #define DW_FCF_AUTOICON (Ph_WM_RENDER_ASICON | ~Ph_WM_RENDER_ASAPP) 805 #define DW_FCF_AUTOICON (Ph_WM_RENDER_ASICON | ~Ph_WM_RENDER_ASAPP)
802 #define DW_FCF_MAXIMIZE 0 806 #define DW_FCF_MAXIMIZE 0
803 #define DW_FCF_MINIMIZE 0 807 #define DW_FCF_MINIMIZE 0
804 #define DW_FCF_TEXTURED 0 808 #define DW_FCF_TEXTURED 0
809 #define DW_FCF_FULLSCREEN 0
805 810
806 #define DW_CFA_BITMAPORICON 1 811 #define DW_CFA_BITMAPORICON 1
807 #define DW_CFA_STRING (1 << 1) 812 #define DW_CFA_STRING (1 << 1)
808 #define DW_CFA_ULONG (1 << 2) 813 #define DW_CFA_ULONG (1 << 2)
809 #define DW_CFA_TIME (1 << 3) 814 #define DW_CFA_TIME (1 << 3)
986 #define DW_FCF_AUTOICON (1 << 18) 991 #define DW_FCF_AUTOICON (1 << 18)
987 #define DW_FCF_MAXIMIZE (1 << 19) 992 #define DW_FCF_MAXIMIZE (1 << 19)
988 #define DW_FCF_MINIMIZE (1 << 20) 993 #define DW_FCF_MINIMIZE (1 << 20)
989 #define DW_FCF_CLOSEBUTTON (1 << 21) 994 #define DW_FCF_CLOSEBUTTON (1 << 21)
990 #define DW_FCF_TEXTURED 0 995 #define DW_FCF_TEXTURED 0
996 #define DW_FCF_FULLSCREEN (1 << 22)
991 997
992 #define DW_CFA_BITMAPORICON 1 998 #define DW_CFA_BITMAPORICON 1
993 #define DW_CFA_STRING (1 << 1) 999 #define DW_CFA_STRING (1 << 1)
994 #define DW_CFA_ULONG (1 << 2) 1000 #define DW_CFA_ULONG (1 << 2)
995 #define DW_CFA_TIME (1 << 3) 1001 #define DW_CFA_TIME (1 << 3)