Mercurial > dwindows
diff dw.h @ 350:2216e65ad2ae
Removed slider flags and container selection flags from the header file.
Added "multi" parameter to dw_container_new() to control multiple
selection.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 14 Apr 2003 13:47:20 +0000 |
parents | 81fae15885d7 |
children | 39983df2b93d |
line wrap: on
line diff
--- a/dw.h Sun Apr 13 09:04:50 2003 +0000 +++ b/dw.h Mon Apr 14 13:47:20 2003 +0000 @@ -133,12 +133,6 @@ #define DW_CRA_SELECTED CRA_SELECTED #define DW_CRA_CURSORED CRA_CURSORED -#define DW_SLS_READONLY SLS_READONLY -#define DW_SLS_RIBBONSTRIP SLS_RIBBONSTRIP - -#define DW_CCS_SINGLESEL CCS_SINGLESEL -#define DW_CCS_EXTENDSEL CCS_EXTENDSEL - #define DW_LS_MULTIPLESEL LS_MULTIPLESEL #define DW_LIT_NONE -1 @@ -290,12 +284,6 @@ #define DW_CRA_SELECTED LVNI_SELECTED #define DW_CRA_CURSORED LVNI_FOCUSED -#define DW_SLS_READONLY 0 -#define DW_SLS_RIBBONSTRIP 0 - -#define DW_CCS_SINGLESEL 0 -#define DW_CCS_EXTENDSEL 0 - #define DW_LS_MULTIPLESEL LBS_MULTIPLESEL #define DW_LIT_NONE -1 @@ -488,12 +476,6 @@ #define DW_CFA_HORZSEPARATOR (1 << 8) #define DW_CFA_SEPARATOR (1 << 9) -#define DW_SLS_READONLY 1 -#define DW_SLS_RIBBONSTRIP (1 << 1) - -#define DW_CCS_SINGLESEL 1 -#define DW_CCS_EXTENDSEL (1 << 1) - #define DW_CRA_SELECTED 1 #define DW_CRA_CURSORED (1 << 1) @@ -766,7 +748,7 @@ HWND API dw_bitmap_new(unsigned long id); HWND API dw_bitmapbutton_new(char *text, unsigned long id); HWND API dw_bitmapbutton_new_from_file(char *text, unsigned long id, char *filename); -HWND API dw_container_new(unsigned long id); +HWND API dw_container_new(unsigned long id, int multi); HWND API dw_tree_new(unsigned long id); HWND API dw_text_new(char *text, unsigned long id); HWND API dw_status_text_new(char *text, unsigned long id);