moved almost all hardcoded constants to "define.dat"
[k8-i-v-a-n.git] / src / felib / feio.h
blob102c21974651ccf8304ab9803e7017bf6890ed89
1 /*
3 * Iter Vehemens ad Necem (IVAN)
4 * Copyright (C) Timo Kiviluoto
5 * Released under the GNU General
6 * Public License
8 * See LICENSING which should be included
9 * along with this file for more details
12 #ifndef __FELIB_FEIO_H__
13 #define __FELIB_FEIO_H__
15 #include "v2.h"
16 #include "festring.h"
19 class bitmap;
21 typedef truth (*stringkeyhandler) (int, festring &);
22 typedef void (*bitmapeditor) (bitmap *, truth);
25 class iosystem {
26 public:
27 static festring ContinueMenu (col16, col16, cfestring &);
28 static int StringQuestion (festring &, cfestring &, v2, col16, festring::sizetype, festring::sizetype,
29 truth, truth, stringkeyhandler = 0);
30 static sLong NumberQuestion (cfestring &, v2, col16, truth, truth = false);
31 static sLong ScrollBarQuestion (cfestring &, v2, sLong, sLong, sLong, sLong, sLong, col16, col16, col16, int,
32 int, truth, void (*)(sLong) = 0);
33 static int Menu (cbitmap *, v2, cfestring &, cfestring &, col16, cfestring & = CONST_S(""), cfestring & = CONST_S(""),
34 truth allowEsc=false);
35 static void TextScreen (cfestring &, v2 Disp = ZERO_V2, col16 = 0xFFFF, truth = true, truth = true, bitmapeditor = 0);
36 static truth IsAcceptableForStringQuestion (char);
40 #endif