File: xball_sys.h

package info (click to toggle)
xball 3.0.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 936 kB
  • ctags: 964
  • sloc: ansic: 4,612; sh: 3,414; makefile: 521
file content (44 lines) | stat: -rw-r--r-- 1,337 bytes parent folder | download | duplicates (7)
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
/**********************************************************************
 * xball_sys.h - xball system object declarations
 *
 * Copyright 1993, David Nedde
 *
 * Permission to use, copy, modify, and distribute this software
 * and its documentation for any purpose and without fee is granted
 * provided that the above copyright notice appears in all copies.
 * It is provided "as is" without express or implied warranty.
 **********************************************************************/

#ifndef __XBALL_SYS_H__
#define __XBALL_SYS_H__

#include <X11/Intrinsic.h>

#include "menu.h"
#include "demo.h"
#include "room.h"
#include "items.h"
#include "sim.h"
#include "scrollbar.h"
#include "file_sel.h"
#include "help.h"

typedef struct {
    Widget              form_w;
    Widget              pane_w;
    menu_type           menu;
    demo_type           demo;
    items_type          items;
    room_type           room;
    sim_type            sim;
    help_type           help;
    scrollbar_type      gravity_bar;
    scrollbar_type      elasticity_bar;
    file_sel_type       file_sel;
} xball_system_struct, *xball_system_type;

xball_system_type xball_system__create(/* w*/);
void              xball_system__destroy(/*xball_system*/);
void              xball_system__quit_mcb(/* w, datap_ptr, call_data, extra*/);

#endif