/usr/include/XmHTML/BalloonP.h is in libxmhtml-dev 1.1.10-2.
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 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | /*****
* BalloonP.h : XmBalloon private header file
*
* This file Version $Revision: 1.1 $
*
* Creation date: Sun Nov 2 19:18:42 GMT+0100 1997
* Last modification: $Date: 1998/04/04 06:27:17 $
* By: $Author: newt $
* Current State: $State: Exp $
*
* Author: newt
*
* Copyright (C) 1994-1997 by Ripley Software Development
* All Rights Reserved
*
* This file is part of the XmHTML Widget Library.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*****/
/*****
* $Source: /usr/local/rcs/Newt/XmHTML/RCS/BalloonP.h,v $
*****/
/*****
* ChangeLog
* $Log: BalloonP.h,v $
* Revision 1.1 1998/04/04 06:27:17 newt
* Initial Revision
*
*****/
#ifndef _BalloonP_h_
#define _BalloonP_h_
#include <X11/ShellP.h> /* we're subclassing from overrideShell */
/* Required includes */
#include <XmHTML/Balloon.h>
_XFUNCPROTOBEGIN
/*****
* Class Pointer
*****/
typedef struct
{
XtPointer extensions; /* Pointer to extension record */
}XmBalloonClassPart;
typedef struct _XmBalloonClassRec
{
CoreClassPart core_class;
CompositeClassPart composite_class;
ShellClassPart shell_class;
OverrideShellClassPart override_shell_class;
XmBalloonClassPart balloon_class;
}XmBalloonClassRec;
/*****
* Supporting structures
*****/
typedef struct _transform
{
double mx, bx;
double my, by;
}Transform;
typedef struct _TPoint
{
double x, y;
}TPoint;
/*****
* XmBalloon instance definition
*****/
typedef struct _XmBalloonPart
{
/* public widget data */
String label; /* original label as set by user */
String source; /* privatly owner copy */
int source_len; /* size of label */
int popup_delay; /* delay before popping up */
int popdown_delay; /* delay before popping down */
Dimension margin_width; /* horizontal margin spacing */
Dimension margin_height; /* vertical margin spacing */
int left_offset; /* left cursor offset */
int top_offset; /* top cursor offset */
float border_size; /* thickness of the border */
Pixel foreground; /* foreground pixel to be used */
#if XtSpecificationRelease < 5
XFontStruct *font; /* X11R4 font to be used */
#else
XFontSet fontset; /* X11R5 or above uses fontSets */
#endif
unsigned char corner_style; /* how corners should be drawn */
unsigned char balloon_style; /* balloon style */
Boolean transparent; /* make balloon fully transparent */
int backing_store; /*
* select appropriate amount of
* backing store
*/
/* private widget data */
Position pop_x; /* relative x-popup position */
Position pop_y; /* relative y-popup position */
Dimension font_width; /* width of common (1 TeX em) */
Dimension font_height; /* font height (row spacing) */
Dimension baseline; /* baseline offset */
GC gc; /* text rendering gc */
GC top_gc; /* top shadow gc */
GC bottom_gc; /* bottom shadow gc */
GC shape_gc; /* shaped window gc */
XtIntervalId popup_id; /* popup timeout id */
XtIntervalId popdown_id; /* popdown timout id */
XtAppContext context; /* application context for timeouts */
Boolean popped; /* True when we are being displayed */
/* Shaped Window data */
Boolean shape_window; /* use shaped window extension? */
Pixmap shape_mask; /* window shape */
int shape_width; /* last shaped window width */
int shape_height; /* last shaped window height */
Transform t;
Transform maskt;
}XmBalloonPart;
typedef struct _XmBalloonRec
{
CorePart core;
CompositePart composite;
ShellPart shell;
OverrideShellPart override;
XmBalloonPart balloon;
}XmBalloonRec;
externalref XmBalloonClassRec xmBalloonClassRec;
/* Never define _LIBRARY yourself */
#ifdef VERSION
# ifndef _LIBRARY
# define _LIBRARY
# endif
#endif
_XFUNCPROTOEND
/* Don't add anything after this endif! */
#endif /* _BalloonP_h_ */
|