Implement menu checkmarking and enabling
[xboard.git] / dialogs.h
index 2c3e993..5b21b9f 100644 (file)
--- a/dialogs.h
+++ b/dialogs.h
@@ -95,8 +95,6 @@
 #define W_MENUB 26
 #define W_DROP  27  // drop (popup) menu
  
-
-
 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)
 CommentDlg, TagsDlg, TextMenuDlg, InputBoxDlg, ChatDlg, DummyDlg, HistoryDlg, // persistent: no grab and reused
@@ -148,7 +146,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));