diff 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
line wrap: on
line diff
--- a/dw.h	Thu Mar 17 23:58:33 2011 +0000
+++ b/dw.h	Fri Mar 18 00:25:46 2011 +0000
@@ -165,6 +165,8 @@
 #define DW_POINTER_CLOCK         SPTR_WAIT
 #define DW_POINTER_QUESTION      SPTR_ICONQUESICON
 
+#define DW_BS_NOBORDER           BS_NOBORDER
+
 #define DW_OS2_NEW_WINDOW        1
 
 /* flag values for dw_messagebox() */
@@ -370,11 +372,9 @@
 
 #define DW_LIT_NONE              -1
 
-#ifdef MLFSEARCH_CASESENSITIVE
-# define DW_MLE_CASESENSITIVE    MLFSEARCH_CASESENSITIVE
-#else
-# define DW_MLE_CASESENSITIVE    0
-#endif
+#define DW_MLE_CASESENSITIVE     0
+
+#define DW_BS_NOBORDER           1
 
 #define DW_POINTER_DEFAULT       0
 #define DW_POINTER_ARROW         1
@@ -556,6 +556,8 @@
 
 #define DW_MLE_CASESENSITIVE     1
 
+#define DW_BS_NOBORDER           BS_FLAT
+
 #define DW_POINTER_DEFAULT       0
 #define DW_POINTER_ARROW         32512
 #define DW_POINTER_CLOCK         32514
@@ -853,6 +855,8 @@
 # define DW_MLE_CASESENSITIVE    0
 #endif
 
+#define DW_BS_NOBORDER           1
+
 #define DW_POINTER_DEFAULT       0
 #define DW_POINTER_ARROW         0
 #define DW_POINTER_CLOCK         0
@@ -1033,6 +1037,8 @@
 
 #define DW_MLE_CASESENSITIVE     1
 
+#define DW_BS_NOBORDER           1
+
 #define DW_POINTER_DEFAULT       0
 #define DW_POINTER_ARROW         GDK_TOP_LEFT_ARROW
 #define DW_POINTER_CLOCK         GDK_WATCH