File: xispterm.h

package info (click to toggle)
xisp 2.5p4-1
  • links: PTS
  • area: contrib
  • in suites: slink
  • size: 1,328 kB
  • ctags: 1,908
  • sloc: ansic: 16,648; asm: 214; sh: 210; makefile: 202; perl: 55
file content (50 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download
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
/*
  Copyright (C) 1997,1998  Dimitrios P. Bouras

   This program 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 2 of the License, or
   (at your option) any later version.

   This program 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 this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

   For author contact information, look in the README file.
*/

/* Callbacks */

void doLineInput(FL_OBJECT *, long);
void doTermOK(FL_OBJECT *, long);
void doTermAbort(FL_OBJECT *, long);

/* Forms and Objects */

typedef struct {
	FL_FORM *terminal;
	FL_OBJECT *lineBrowser;
	FL_OBJECT *termOK;
	FL_OBJECT *termAbort;
	void *vdata;
	long ldata;
} FD_terminal;

FD_terminal * create_form_terminal(void);

/* Other xispterm defines */

#define MAXBUF_INPUT 256	/* Input buffer size */

typedef struct {			/* the color structure */
	int r, g, b;
} color_t;

#define BGCOL_DEFAULT {79, 124, 156}	/* default form-background color */
#define BGCOL_STRING  "#4F7C9C"