X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.h;h=3a7fc2ec3e3436993e2eece944c008b671920d4c;hb=0278ebc80411a20fd23303156285e55ce8d2b0a5;hp=1e4861cb6fcc7fe80e31b6a385debf92f718a67d;hpb=e44956f15bba619f1c3ad8fa5927ae1862ef83c0;p=xboard.git diff --git a/dialogs.h b/dialogs.h index 1e4861c..3a7fc2e 100644 --- a/dialogs.h +++ b/dialogs.h @@ -1,7 +1,7 @@ /* * dialogs.h -- shared variables for generic dialog popup of XBoard * - * Copyright 2000, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * Copyright 2000, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc. * ------------------------------------------------------------------------ * * GNU XBoard is free software: you can redistribute it and/or modify @@ -35,7 +35,8 @@ // char* textValue X/E X/E * // char ** choice C X/E * X // enum type X/E X/E X/E X/E X X X X X X X X -// char[] name X/E X/E X/E X/E X X X X X +// char * name X/E X/E X/E X/E X X X X X +// char ** font X X X X (GTK only) // File and Path options are like String (but get a browse button added in the dialog), and Slider // is like Spin. Menu can be PopUp or PopDown; both need the COMBO_CALLBACK bit (3) set! // (h) or (w) means the field optionally (when non-null) specifies the height or width of the main @@ -168,6 +169,7 @@ void SetScroll P((Option *opt, float f)); void AddHandler P((Option *opt, DialogClass dlg, int nr)); void SendText P((int n)); void DisplayLogos P((Option *left, Option *right)); +void StartDir P((char *filter, char *newName)); void Browse P((DialogClass dlg, char *label, char *proposed, char *ext, Boolean pathFlag, char *mode, char **name, FILE **fp)); void FileNamePopUpWrapper P((char *label, char *def, char *filter, FileProc proc,