/usr/include/Xbae/Caption.h is in libxbae-dev 4.60.4-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | /*
* Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
* Copyright(c) 1999 Andrew Lister
* Copyright (c) 1999-2002 by the LessTif Developers.
*
* All rights reserved
* Permission to use, copy, modify and distribute this material for
* any purpose and without fee is hereby granted, provided that the
* above copyright notice and this permission notice appear in all
* copies, and that the name of Bellcore not be used in advertising
* or publicity pertaining to this material without the specific,
* prior written permission of an authorized representative of
* Bellcore.
*
* BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX-
* PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT
* NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN-
* FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. THE
* SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR
* ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY
* LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT-
* ING TO THE SOFTWARE.
*
* CaptionWidget Author: Andrew Wason, Bellcore, aw@bae.bellcore.com
*
* $Id: Caption.h,v 1.6 2002/03/08 16:12:23 amai Exp $
*/
#ifndef _Xbae_Caption_h
#define _Xbae_Caption_h
/*
* Caption Widget public include file
*/
#include <Xm/Xm.h>
#include <X11/Core.h>
#include <Xbae/patchlevel.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Resources:
* Name Class RepType Default Value
* ---- ----- ------- -------------
* fontList FontList FontList dynamic
* labelAlignment LabelAlignment LabelAlignment AlignmentCenter
* labelOffset LabelOffset int 0
* labelPixmap LabelPixmap PrimForegroundPixmap
* XmUNSPECIFIED_PIXMAP
* labelPosition LabelPosition LabelPosition PositionLeft
* labelString XmString XmString widget name
* labelTextAlignment Alignment Alignment XmALIGNMENT_CENTER
* labelType LabelType LabelType XmSTRING
*/
/*
* New resource constants
*/
#ifndef XmNlabelPosition
#define XmNlabelPosition "labelPosition"
#endif
#ifndef XmCLabelPosition
#define XmCLabelPosition "LabelPosition"
#endif
#ifndef XmNlabelAlignment
#define XmNlabelAlignment "labelAlignment"
#endif
#ifndef XmCLabelAlignment
#define XmCLabelAlignment "LabelAlignment"
#endif
#ifndef XmNlabelTextAlignment
#define XmNlabelTextAlignment "labelTextAlignment"
#endif
#ifndef XmNlabelOffset
#define XmNlabelOffset "labelOffset"
#endif
#ifndef XmCLabelOffset
#define XmCLabelOffset "LabelOffset"
#endif
#ifndef XmRLabelPosition
#define XmRLabelPosition "LabelPosition"
#endif
#ifndef XmRLabelAlignment
#define XmRLabelAlignment "LabelAlignment"
#endif
/* Class record constants */
extern WidgetClass xbaeCaptionWidgetClass;
typedef struct _XbaeCaptionClassRec *XbaeCaptionWidgetClass;
typedef struct _XbaeCaptionRec *XbaeCaptionWidget;
/*
* External interfaces to class methods
*/
extern Widget XbaeCreateCaption(Widget, String, ArgList, Cardinal);
/*
* Type for XmNlabelPosition resource
*/
typedef enum _XbaeLabelPosition {
XbaePositionLeft,
XbaePositionRight,
XbaePositionTop,
XbaePositionBottom
} XbaeLabelPosition;
/*
* Type for XmNlabelAlignment resource
*/
typedef enum _XbaeLabelAlignment {
XbaeAlignmentTopOrLeft,
XbaeAlignmentCenter,
XbaeAlignmentBottomOrRight
} XbaeLabelAlignment;
#ifndef XbaeIsXbaeCaption
#define XbaeIsXbaeCaption(w) XtIsSubclass(w, xbaeCaptionWidgetClass)
#endif /* XbaeIsXbaeInput */
#ifdef __cplusplus
}
#endif
#endif /* _Xbae_Caption_h */
|