X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=menus.h;h=b088cc771a5f42bd54112e7892bddad11fd07c6f;hb=1eb96d7121b161a946efaf18eded57d630f21ad1;hp=7cea0b3cdb4e52f308b6277d3b2683f4195e1bb3;hpb=0d88b7c20af19de163b648898ec8d3ed4c31d796;p=xboard.git diff --git a/menus.h b/menus.h index 7cea0b3..b088cc7 100644 --- a/menus.h +++ b/menus.h @@ -5,7 +5,8 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -52,10 +53,10 @@ typedef void MenuProc P((void)); -typedef int (*FileProc) P((FILE *f, int n, char *title)); typedef struct { char *string; + char *accel; char *ref; MenuProc *proc; void *handle; @@ -74,7 +75,6 @@ typedef struct { extern Menu menuBar[]; -void MarkMenuItem P((char *menuRef, int state)); void ErrorPopUp P((char *title, char *text, int modal)); void AppendEnginesToMenu P((char *list)); void LoadGameProc P((void)); @@ -162,9 +162,13 @@ void SaveOptionsProc P((void)); void SaveSettings P((char *)); void EditBookProc P((void)); void InitMenuMarkers P((void)); +void FontsProc P((void)); void ShowGameListProc P((void)); // in ngamelist.c void HistoryShowProc P((void)); // in nhistory.c +// only here because it is the only header shared by xoptions.c and usystem.c +void SetTextColor P((char **cnames, int fg, int bg, int attr)); +void ConsoleWrite P((char *message, int count)); // must be moved to xengineoutput.h @@ -182,6 +186,8 @@ void EnableButtonBar P((int state)); char *ModeToWidgetName P((GameMode mode)); void CreateAnimVars P((void)); void CopySomething P((char *s)); +void EditEnginePopUp P((char *tags, char **dest)); + extern char *gameCopyFilename, *gamePasteFilename; @@ -196,4 +202,3 @@ extern int firstEngineItem; #define OPTIONSDIALOG #define INFOFILE "xboard.info" -