Debian Codegraph @

gui.h

raw symbols SCIP
1 /*
2 Qxw is a program to help construct and publish crosswords.
3
4 Copyright 2011-2020 Mark Owen; Windows port by Peter Flippant
5 http://www.quinapalus.com
6 E-mail: [email protected]
7
8 This file is part of Qxw.
9
10 Qxw is free software: you can redistribute it and/or modify
11 it under the terms of version 2 of the GNU General Public License
12 as published by the Free Software Foundation.
13
14 Qxw is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with Qxw. If not, see <http://www.gnu.org/licenses/> or
21 write to the Free Software Foundation, Inc., 51 Franklin Street,
22 Fifth Floor, Boston, MA 02110-1301, USA.
23 */
24
25
26
27
28
29 #ifndef __GUI_H__
30 #define __GUI_H__
31
32 #define PXEDGE .2 // size of edge of box for clicking bar
33 #define BAWD .139 // width of bar
34
35 extern int selmode;
36 extern int nsel;
37 extern int pxsq; // pixels per square on display
38
39 extern void setfilenamebase(char*s);
40
41 extern void startgtk(void);
42 extern void stopgtk(void);
43
44 // all externally-callable functions respect the global variable usegui
45 extern void invaldarect(int x0,int y0,int x1,int y1);
46 extern void invaldaall(void);
47
48 extern void stats_upd(void);
49 extern void syncgui(void);
50 extern void fserror(void);
51 extern void fsgerr(void);
52 extern void reperr(const char*s);
53 extern void repwarn(const char*s);
54
55 extern void killfipdia(void);
56 extern void setposslabel(char*s);
57 extern void updatefeas(void);
58
59
60 #endif