comparison dw.h @ 2740:9be24001d288

Style update. Add DW_SIZE_AUTO (-1) for passing automatic sizing to packing. Also convert SIZEEXPAND/STATIC and TYPEBOX/ITEM to the new format based on our new style guidelines. as _DW_SIZE_EXPAND/STATIC and _DW_TYPE_BOX/ITEM.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 19 Dec 2021 15:39:43 +0000
parents 3a7dcc0ae08b
children 0b1030337dd3
comparison
equal deleted inserted replaced
2739:02c53dd5e21d 2740:9be24001d288
131 # define API _System 131 # define API _System
132 # endif 132 # endif
133 #endif 133 #endif
134 134
135 /* Used internally */ 135 /* Used internally */
136 #define TYPEBOX 0 136 #define _DW_TYPE_BOX 0
137 #define TYPEITEM 1 137 #define _DW_TYPE_ITEM 1
138 138
139 #define SIZESTATIC 0 139 #define _DW_SPLITBAR_WIDTH 4
140 #define SIZEEXPAND 1 140
141 141 #define _DW_SIZE_STATIC 0
142 #define SPLITBAR_WIDTH 4 142 #define _DW_SIZE_EXPAND 1
143
144 /* Control size constants */
145 #define DW_SIZE_AUTO -1
143 146
144 typedef struct _user_data 147 typedef struct _user_data
145 { 148 {
146 struct _user_data *next; 149 struct _user_data *next;
147 void *data; 150 void *data;