forked from DrCoolzic/BIG2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBIG2FOR2.H
70 lines (58 loc) · 2.23 KB
/
BIG2FOR2.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*! @file BIG2FOR2.H
@brief declaration of functions handling forms
@verbatim
BIG = "BIG Is GEM" - A high level GEM library.
Initial Development by Claude ATTARD, Maintenance by Jean LOUIS-GUERIN
Copyright (c) 1993-2014 Claude ATTARD
Copyright (c) 2010-2014 Jean LOUIS-GUERIN
website: http://info-coach.fr/atari/software/projects/big.php
forum: http://www.atari-forum.com/viewtopic.php?f=16&t=27060
The BIG library may be used and distributed without restriction provided that
this copyright statement is not removed from the file and that any derivative
work contains the original copyright notice and the associated disclaimer.
The BIG library is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option) any
later version.
The BIG library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
HxCFloppyEmulator; if not, write to the Free Software Foundation, Inc., 51
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@endverbatim
*/
#ifndef _BIG2FOR2_H_
#define _BIG2FOR2_H_
#include "BIG2INCL.H"
/* global variables */
extern int event;
extern int buf[];
extern int mx;
extern int my;
extern int edit;
extern int pos;
extern int object;
extern int kbd;
extern int key;
extern int clik;
extern t_display work_display;
extern t_desktop bureau;
extern OBJECT *adr_menu;
extern MFDB screen;
extern OBJECT **ir_trindex;
extern char **ir_frstr;
extern BigWind *win;
extern OBJECT *bi_trindex[];
/* function prototype */
void help (OBJECT *adr, int obj);
void move_form (OBJECT *adr, int x, int y, int w, int h, MFDB *img, int fl_depl);
int scan (OBJECT *adr, int f);
int scan_wmenu (int index, char touc);
int scan_wtool (int index, char touc);
int scan_menu (char touc);
int scan_form (char touc, OBJECT *adr);
int find_touche (char *chaine, int *position);
void find_special (char *chaine, int *spe, int j);
int m_title (OBJECT *adresse, int option);
#endif