Mercurial > dwindows
comparison dw.h @ 763:2cace4e6e69a
Added DW_BS_NOBORDER style which can be set on buttons with dw_window_set_style() to make them flat.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 18 Mar 2011 00:25:46 +0000 |
parents | d29fb0d5b291 |
children | acbc44e6e11a |
comparison
equal
deleted
inserted
replaced
762:2aaa3f67cfb1 | 763:2cace4e6e69a |
---|---|
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_ICONQUESICON |
167 | |
168 #define DW_BS_NOBORDER BS_NOBORDER | |
167 | 169 |
168 #define DW_OS2_NEW_WINDOW 1 | 170 #define DW_OS2_NEW_WINDOW 1 |
169 | 171 |
170 /* flag values for dw_messagebox() */ | 172 /* flag values for dw_messagebox() */ |
171 #define DW_MB_OK MB_OK | 173 #define DW_MB_OK MB_OK |
368 | 370 |
369 #define DW_LS_MULTIPLESEL 1 | 371 #define DW_LS_MULTIPLESEL 1 |
370 | 372 |
371 #define DW_LIT_NONE -1 | 373 #define DW_LIT_NONE -1 |
372 | 374 |
373 #ifdef MLFSEARCH_CASESENSITIVE | 375 #define DW_MLE_CASESENSITIVE 0 |
374 # define DW_MLE_CASESENSITIVE MLFSEARCH_CASESENSITIVE | 376 |
375 #else | 377 #define DW_BS_NOBORDER 1 |
376 # define DW_MLE_CASESENSITIVE 0 | |
377 #endif | |
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 | 382 |
554 | 554 |
555 #define DW_LIT_NONE -1 | 555 #define DW_LIT_NONE -1 |
556 | 556 |
557 #define DW_MLE_CASESENSITIVE 1 | 557 #define DW_MLE_CASESENSITIVE 1 |
558 | 558 |
559 #define DW_BS_NOBORDER BS_FLAT | |
560 | |
559 #define DW_POINTER_DEFAULT 0 | 561 #define DW_POINTER_DEFAULT 0 |
560 #define DW_POINTER_ARROW 32512 | 562 #define DW_POINTER_ARROW 32512 |
561 #define DW_POINTER_CLOCK 32514 | 563 #define DW_POINTER_CLOCK 32514 |
562 #define DW_POINTER_QUESTION 32651 | 564 #define DW_POINTER_QUESTION 32651 |
563 | 565 |
850 #ifdef MLFSEARCH_CASESENSITIVE | 852 #ifdef MLFSEARCH_CASESENSITIVE |
851 # define DW_MLE_CASESENSITIVE MLFSEARCH_CASESENSITIVE | 853 # define DW_MLE_CASESENSITIVE MLFSEARCH_CASESENSITIVE |
852 #else | 854 #else |
853 # define DW_MLE_CASESENSITIVE 0 | 855 # define DW_MLE_CASESENSITIVE 0 |
854 #endif | 856 #endif |
857 | |
858 #define DW_BS_NOBORDER 1 | |
855 | 859 |
856 #define DW_POINTER_DEFAULT 0 | 860 #define DW_POINTER_DEFAULT 0 |
857 #define DW_POINTER_ARROW 0 | 861 #define DW_POINTER_ARROW 0 |
858 #define DW_POINTER_CLOCK 0 | 862 #define DW_POINTER_CLOCK 0 |
859 #define DW_POINTER_QUESTION 0 | 863 #define DW_POINTER_QUESTION 0 |
1030 #define DW_LS_MULTIPLESEL 1 | 1034 #define DW_LS_MULTIPLESEL 1 |
1031 | 1035 |
1032 #define DW_LIT_NONE -1 | 1036 #define DW_LIT_NONE -1 |
1033 | 1037 |
1034 #define DW_MLE_CASESENSITIVE 1 | 1038 #define DW_MLE_CASESENSITIVE 1 |
1039 | |
1040 #define DW_BS_NOBORDER 1 | |
1035 | 1041 |
1036 #define DW_POINTER_DEFAULT 0 | 1042 #define DW_POINTER_DEFAULT 0 |
1037 #define DW_POINTER_ARROW GDK_TOP_LEFT_ARROW | 1043 #define DW_POINTER_ARROW GDK_TOP_LEFT_ARROW |
1038 #define DW_POINTER_CLOCK GDK_WATCH | 1044 #define DW_POINTER_CLOCK GDK_WATCH |
1039 #define DW_POINTER_QUESTION GDK_QUESTION_ARROW | 1045 #define DW_POINTER_QUESTION GDK_QUESTION_ARROW |