~ubuntu-branches/ubuntu/karmic/grace/karmic

« back to all changes in this revision

Viewing changes to Xbae/Xbae/Utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-19 14:19:58 UTC
  • Revision ID: james.westby@ubuntu.com-20020319141958-5gxna6vo1ek3zjml
Tags: upstream-5.1.7
ImportĀ upstreamĀ versionĀ 5.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
 
3
 * Copyright(c) 1995-99 Andrew Lister
 
4
 *                        All rights reserved
 
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
 
11
 * Bellcore.
 
12
 *
 
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.
 
22
 *
 
23
 * $Id: Utils.h,v 1.1 1999/09/11 01:25:38 fnevgeny Exp $
 
24
 */
 
25
 
 
26
/*
 
27
 * Utils.h created by Andrew Lister (6 August, 1995)
 
28
 */
 
29
#ifndef _Xbae_Utils_h
 
30
#define _Xbae_Utils_h
 
31
 
 
32
#include <Xbae/Macros.h>
 
33
 
 
34
void xbaeGetVisibleRows P((XbaeMatrixWidget, int *, int *));
 
35
void xbaeGetVisibleColumns P((XbaeMatrixWidget, int *, int *));
 
36
void xbaeGetVisibleCells P((XbaeMatrixWidget mw, int *, int *, int *,
 
37
                            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 *,
 
54
                         CellType *));
 
55
Boolean xbaeXYToRowCol P((XbaeMatrixWidget, int *, int *, int *, int *,
 
56
                          CellType));
 
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 *));
 
65
#endif