2
* Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
3
* Copyright(c) 1995-99 Andrew Lister
5
* Permission to use, copy, modify and distribute this material for
6
* any purpose and without fee is hereby granted, provided that the
7
* above copyright notice and this permission notice appear in all
8
* copies, and that the name of Bellcore not be used in advertising
9
* or publicity pertaining to this material without the specific,
10
* prior written permission of an authorized representative of
13
* BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX-
14
* PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT
15
* NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
16
* FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN-
17
* FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE
18
* SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR
19
* ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY
20
* LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT-
21
* ING TO THE SOFTWARE.
28
* Methods.h created by Andrew Lister (7 August, 1995)
30
#ifndef _Xbae_Methods_h
31
#define _Xbae_Methods_h
35
void xbaeResize P((XbaeMatrixWidget));
40
void xbaeSetCell P((XbaeMatrixWidget, int, int, const String, Boolean));
41
void xbaeModifyVerifyCB P((Widget, XtPointer, XtPointer));
42
void xbaeEditCell P((XbaeMatrixWidget, XEvent *, int, int,
44
void xbaeSelectCell P((XbaeMatrixWidget, int, int));
45
void xbaeSelectRow P((XbaeMatrixWidget, int));
46
void xbaeSelectColumn P((XbaeMatrixWidget, int));
47
void xbaeDeselectAll P((XbaeMatrixWidget));
48
void xbaeSelectAll P((XbaeMatrixWidget));
49
void xbaeDeselectCell P((XbaeMatrixWidget, int, int));
50
void xbaeDeselectRow P((XbaeMatrixWidget, int));
51
void xbaeDeselectColumn P((XbaeMatrixWidget, int));
52
String xbaeGetCell P((XbaeMatrixWidget, int, int));
53
Boolean xbaeCommitEdit P((XbaeMatrixWidget, XEvent *, Boolean));
54
void xbaeCancelEdit P((XbaeMatrixWidget, Boolean));
55
void xbaeAddRows P((XbaeMatrixWidget, int, String *, String *, Pixel *,
57
void xbaeDeleteRows P((XbaeMatrixWidget, int, int));
58
void xbaeAddColumns P((XbaeMatrixWidget, int, String *, String *, short *,
59
int *, unsigned char *, unsigned char *, Pixel *,
61
void xbaeDeleteColumns P((XbaeMatrixWidget, int, int));
62
void xbaeSetRowColors P((XbaeMatrixWidget, int, Pixel *, int, Boolean));
63
void xbaeSetColumnColors P((XbaeMatrixWidget, int,
64
Pixel *, int, Boolean));
65
void xbaeSetCellColor P((XbaeMatrixWidget, int, int, Pixel, Boolean));