Add history to some dialog boxes
[wmaker-crm.git] / src / dialog.h
Commit [+]AuthorDateLineData
9d2e6ef9 scottc1998-09-29 22:36:29 +00001/*
9af1c6c4 dan1998-10-21 14:43:47 +00002 * Window Maker window manager
6830b057 dan2004-10-12 21:28:27 +00003 *
4153e2fd dan2003-01-16 23:30:45 +00004 * Copyright (c) 1997-2003 Alfredo K. Kojima
6830b057 dan2004-10-12 21:28:27 +00005 *
9d2e6ef9 scottc1998-09-29 22:36:29 +00006 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
6830b057 dan2004-10-12 21:28:27 +000018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
9d2e6ef9 scottc1998-09-29 22:36:29 +000019 * USA.
20 */
21
22
23#ifndef WMDIALOG_H_
24#define WMDIALOG_H_
25
26
52917e53 dan1999-04-16 20:05:26 +000027enum {
28 WMAbort=0,
29 WMRestart,
30 WMStartAlternate
31};
32
33
6830b057 dan2004-10-12 21:28:27 +000034int wMessageDialog(WScreen *scr, char *title, char *message,
35 char *defBtn, char *altBtn, char *othBtn);
05720d97 Alexey Voinov2007-08-14 15:15:37 +040036int wAdvancedInputDialog(WScreen *scr, char *title, char *message, char *name, char **text);
9d2e6ef9 scottc1998-09-29 22:36:29 +000037int wInputDialog(WScreen *scr, char *title, char *message, char **text);
38
41996df7 dan2001-12-20 22:16:01 +000039int wExitDialog(WScreen *scr, char *title, char *message, char *defBtn,
40 char *altBtn, char *othBtn);
41
416e3a82 dan1999-01-25 19:06:50 +000042Bool wIconChooserDialog(WScreen *scr, char **file, char *instance, char *class);
9d2e6ef9 scottc1998-09-29 22:36:29 +000043
44void wShowInfoPanel(WScreen *scr);
45
46void wShowLegalPanel(WScreen *scr);
47
c2434e89 kojima1999-05-01 17:44:43 +000048void wShowGNUstepPanel(WScreen *scr);
49
52917e53 dan1999-04-16 20:05:26 +000050int wShowCrashingDialogPanel(int whatSig);
51
c2434e89 kojima1999-05-01 17:44:43 +000052
9d2e6ef9 scottc1998-09-29 22:36:29 +000053#endif