X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.h;h=739dc18b0fea08380e6f3bc26cce1c306aab1a37;hb=0a3919ff10a347a8d840f75fd2c816efe52e5098;hp=2c3e99347bbf83873ecdde80cc1a634fcf460b81;hpb=21a44c336aa8cd16a38f3c682386528c8f112650;p=xboard.git diff --git a/dialogs.h b/dialogs.h index 2c3e993..739dc18 100644 --- a/dialogs.h +++ b/dialogs.h @@ -95,7 +95,8 @@ #define W_MENUB 26 #define W_DROP 27 // drop (popup) menu - +#define CHECK (void *) 1 +#define RADIO (void *) 2 typedef enum { // identifier of dialogs done by GenericPopup TransientDlg=0, // transient: grabs mouse events and is destroyed at pop-down (so other dialog can use this ID next time) @@ -148,7 +149,7 @@ void GetWidgetState P((Option *opt, int *state)); void SetWidgetState P((Option *opt, int state)); void SetWidgetLabel P((Option *opt, char *buf)); void SetDialogTitle P((DialogClass dlg, char *title)); -void LoadListBox P((Option *opt, char *emptyText)); +void LoadListBox P((Option *opt, char *emptyText, int n1, int n2)); void HighlightListBoxItem P((Option *opt, int nr)); void HighlightWithScroll P((Option *opt, int sel, int max)); int SelectedListBoxItem P((Option *opt));