File: control.h

package info (click to toggle)
cgoban 1.9.14-18
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 3,448 kB
  • sloc: ansic: 36,037; sh: 707; makefile: 259
file content (45 lines) | stat: -rw-r--r-- 990 bytes parent folder | download | duplicates (9)
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
/*
 * src/control.h, part of Complete Goban (game program)
 * Copyright (C) 1995 William Shubert.
 * See "configure.h.in" for more copyright information.
 */


#ifndef  _CONTROL_H_
#define  _CONTROL_H_  1

#ifndef  _SETUP_H_
#include "setup.h"
#endif


/**********************************************************************
 * Data types
 **********************************************************************/
typedef struct Control_struct  {
  Cgoban  *cg;

  ButWin  *win;
  But  *box;
  But  *sPics[2], *servers[2];
  But  *lGame, *lGamePic;
  But  *lLoad, *lLoadPic;
  But  *edit, *editPic;
  But  *gmp, *gmpPic;
  But  *sBox;
  Setup  *setupWin;
  But  *help, *setup, *quit;

  ButWin  *iWin;
  But  *iBg, *ig;

  MAGIC_STRUCT
} Control;


/**********************************************************************
 * Functions
 **********************************************************************/
extern Control  *control_create(Cgoban *cg, bool iconic);

#endif  /* _CONTROL_H_ */