File: Abacus.h

package info (click to toggle)
xabacus 5.4.4-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 300 kB
  • ctags: 159
  • sloc: sh: 1,526; ansic: 1,054; makefile: 189
file content (77 lines) | stat: -rw-r--r-- 2,222 bytes parent folder | download | duplicates (2)
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
71
72
73
74
75
76
77

/*-
# X-BASED ABACUS
#
#  Abacus.h
#
###
#
#  Copyright (c) 1994 - 96	David Albert Bagley, bagleyd@bigfoot.com
#
#                   All Rights Reserved
#
#  Permission to use, copy, modify, and distribute this software and
#  its documentation for any purpose and without fee is hereby granted,
#  provided that the above copyright notice appear in all copies and
#  that both that copyright notice and this permission notice appear in
#  supporting documentation, and that the name of the author not be
#  used in advertising or publicity pertaining to distribution of the
#  software without specific, written prior permission.
#
#  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.
#
*/

/* Public header file for Abacus */

#ifndef _XtAbacus_h
#define _XtAbacus_h

/***********************************************************************
 *
 * Abacus Widget
 *
 ***********************************************************************/

#define XtNselectCallback "selectCallback"
#define XtNbars "bars"
#define XtNspaces "spaces"
#define XtNbase "base"
#define XtNtopNumber "topNumber"
#define XtNtopOrient "topOrient"
#define XtNtopFactor "topFactor"
#define XtNbottomNumber "bottomNumber"
#define XtNbottomOrient "bottomOrient"
#define XtNbottomFactor "bottomFactor"
#define XtNbeadColor "beadColor"
#define XtNbeadBorder "beadBorder"
#define XtNdelay "delay"
#define XtNbuffer "Buffer"
#define XtCBars "Bars"
#define XtCSpaces "Spaces"
#define XtCBase "Base"
#define XtCTopNumber "TopNumber"
#define XtCTopFactor "TopFactor"
#define XtCTopOrient "TopOrient"
#define XtCBottomNumber "BottomNumber"
#define XtCBottomFactor "BottomFactor"
#define XtCBottomOrient "BottomOrient"
#define XtCBeadColor "BeadColor"
#define XtCBeadBorder "BeadBorder"
#define XtCDelay "Delay"
#define XtCBuffer "Buffer"

typedef struct _AbacusClassRec *AbacusWidgetClass;
typedef struct _AbacusRec *AbacusWidget;

extern WidgetClass abacusWidgetClass;

typedef struct {
	XEvent     *event;
	char       *buffer;
} abacusCallbackStruct;

#endif /* _XtAbacus_h */
/* DON'T ADD STUFF AFTER THIS #endif */