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.
23
* $Id: Utils.h,v 1.1 1999/09/11 01:25:38 fnevgeny Exp $
27
* Utils.h created by Andrew Lister (6 August, 1995)
32
#include <Xbae/Macros.h>
34
void xbaeGetVisibleRows P((XbaeMatrixWidget, int *, int *));
35
void xbaeGetVisibleColumns P((XbaeMatrixWidget, int *, int *));
36
void xbaeGetVisibleCells P((XbaeMatrixWidget mw, int *, int *, int *,
38
void xbaeClearCell P((XbaeMatrixWidget, int, int));
39
void xbaeMakeRowVisible P((XbaeMatrixWidget, int));
40
void xbaeMakeColumnVisible P((XbaeMatrixWidget, int));
41
void xbaeMakeCellVisible P((XbaeMatrixWidget, int, int));
42
void xbaeAdjustTopRow P((XbaeMatrixWidget));
43
void xbaeAdjustLeftColumn P((XbaeMatrixWidget));
44
Boolean xbaeIsRowVisible P((XbaeMatrixWidget, int));
45
Boolean xbaeIsColumnVisible P((XbaeMatrixWidget, int));
46
Boolean xbaeIsCellVisible P((XbaeMatrixWidget, int, int));
47
void xbaeSetClipMask P((XbaeMatrixWidget, unsigned int));
48
void xbaeGetCellTotalWidth P((XbaeMatrixWidget));
49
void xbaeGetColumnPositions P((XbaeMatrixWidget));
50
void xbaeComputeSize P((XbaeMatrixWidget, Boolean, Boolean));
51
short xbaeMaxRowLabel P((XbaeMatrixWidget));
52
void xbaeParseColumnLabel P((String, ColumnLabelLines));
53
Boolean xbaeEventToXY P((XbaeMatrixWidget, XEvent *, int *, int *,
55
Boolean xbaeXYToRowCol P((XbaeMatrixWidget, int *, int *, int *, int *,
57
int xbaeXtoCol P((XbaeMatrixWidget, int));
58
int xbaeXtoTrailingCol P((XbaeMatrixWidget, int));
59
void xbaeRowColToXY P((XbaeMatrixWidget, int, int, int *, int *));
60
Window xbaeGetCellWindow P((XbaeMatrixWidget, Widget *, int, int));
61
void xbaeCalcVertFill P((XbaeMatrixWidget, Window, int, int, int, int,
62
int *, int *, int *, int *));
63
void xbaeCalcHorizFill P((XbaeMatrixWidget, Window, int, int, int, int,
64
int *, int *, int *, int *));