This file is indexed.

/usr/include/Xm/IconGP.h is in lesstif2-dev 1:0.95.2-1.

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
/**
 *
 * $Id: IconGP.h,v 1.1 2004/08/28 19:23:25 dannybackx Exp $
 * 
 * Copyright (C) 1995 Free Software Foundation, Inc.
 * Copyright (C) 1997-2001 LessTif Development Team
 *
 * This file is part of the GNU LessTif 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.
 *
 **/

#ifndef _XM_ICONGP_H
#define _XM_ICONGP_H

#include <Xm/IconG.h>
#include <Xm/GadgetP.h>
#include <Xm/ExtObjectP.h>

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Gadget cache class and instance records
 */
typedef struct _XmIconGCacheObjClassPart {
    XtPointer extension;
} XmIconGCacheObjClassPart;

typedef struct _XmIconGCacheObjClassRec {
    ObjectClassPart object_class;
    XmExtClassPart ext_class;
    XmIconGCacheObjClassPart icon_class_cache;
} XmIconGCacheObjClassRec;

XMLIBEXPORT extern XmIconGCacheObjClassRec xmIconGCacheObjClassRec;

typedef struct _XmIconGCacheObjPart {
    XmRenderTable	render_table;
    GC			selected_gc;
    GC			inverse_gc;
    Pixel		background;
    Pixel		foreground;
    Pixel		top_shadow_color;
    Pixel		bottom_shadow_color;
    Pixel		highlight_color;
    Pixmap		background_pixmap;
    Pixmap		top_shadow_pixmap;
    Pixmap		bottom_shadow_pixmap;
    Pixmap		highlight_pixmap;
    GC			normal_gc;
    GC			background_gc;
    GC			insensitive_gc;
    GC			top_shadow_gc;
    GC			bottom_shadow_gc;
    GC			highlight_gc;
    unsigned char	alignment;
    Dimension		spacing;
    Dimension		margin_width;
    Dimension		margin_height;
} XmIconGCacheObjPart;

typedef struct _XmIconGCacheObjRec {
    ObjectPart object;
    XmExtPart ext;
    XmIconGCacheObjPart icon_cache;
} XmIconGCacheObjRec;

typedef Widget (*XmGetContainerParentProc)(Widget);

/*
 * icon gadget class and instance records
 */
/* Define class part structure */
typedef struct {
    XmGetContainerParentProc get_container_parent;
    XtPointer extension;
} XmIconGadgetClassPart;

/* Define the full class record */
typedef struct _XmIconGadgetClassRec {
    RectObjClassPart rect_class;
    XmGadgetClassPart gadget_class;
    XmIconGadgetClassPart icong_class;
} XmIconGadgetClassRec;

XMLIBEXPORT extern XmIconGadgetClassRec xmIconGadgetClassRec;

typedef struct _XmIconGadgetPart {
    XmString label_string;
    Pixmap large_icon_mask;
    Pixmap large_icon_pixmap;
    Pixmap small_icon_mask;
    Pixmap small_icon_pixmap;
    unsigned char view_type;
    unsigned char visual_emphasis;
    XmStringTable detail;
    Cardinal detail_count;
    Dimension label_rect_width;
    Dimension label_rect_height;
    Dimension large_icon_rect_width;
    Dimension large_icon_rect_height;
    Dimension small_icon_rect_width;
    Dimension small_icon_rect_height;
    String large_pixmap_name;
    String small_pixmap_name;
    XmIconGCacheObjPart *cache;
} XmIconGadgetPart;

/* Define the full instance record */
typedef struct _XmIconGadgetRec {
    ObjectPart object;
    RectObjPart rectangle;
    XmGadgetPart gadget;
    XmIconGadgetPart icong;
} XmIconGadgetRec;


#define IG_VisualEmphasis(w)	(((XmIconGadget)(w))->icong.visual_emphasis)
#define IG_DetailCount(w)	(((XmIconGadget)(w))->icong.detail_count)
#define IG_ViewType(w)		(((XmIconGadget)(w))->icong.view_type)
#define IG_LabelString(w)	(((XmIconGadget)(w))->icong.label_string)
#define IG_NormalGC(w)		(((XmIconGadget)(w))->icong.cache->normal_gc)
#define IG_SelectedGC(w)	(((XmIconGadget)(w))->icong.cache->selected_gc)
#define IG_BackgroundGC(w)	(((XmIconGadget)(w))->icong.cache->background_gc)
#define IG_Cache(w)		(((XmIconGadget)(w))->icong.cache)
#define IG_ClassCachePart(w)	(((XmIconGadgetClass)xmIconGadgetClass)->gadget_class.cache_part)
#define IG_LargeIconMask(w)	(((XmIconGadget)(w))->icong.large_icon_mask)
#define IG_LargeIconPixmap(w)	(((XmIconGadget)(w))->icong.large_icon_pixmap)
#define IG_SmallIconMask(w)	(((XmIconGadget)(w))->icong.small_icon_mask)
#define IG_SmallIconPixmap(w)	(((XmIconGadget)(w))->icong.small_icon_pixmap)
#define IG_RenderTable(w)	(((XmIconGadget)(w))->icong.cache->render_table)
#define IG_Alignment(w)		(((XmIconGadget)(w))->icong.cache->alignment)
#define IG_Spacing(w)		(((XmIconGadget)(w))->icong.cache->spacing)
#define IG_MarginHeight(w)	(((XmIconGadget)(w))->icong.cache->margin_height)
#define IG_MarginWidth(w)	(((XmIconGadget)(w))->icong.cache->margin_width)

/* weird Motif backwards compatibility function.  I don't care if it ever
 * gets implemented or not */
XMLIBEXPORT extern void _XmClearBGCompatibility(Widget pbg);

#ifdef __cplusplus
}
#endif

#endif /* _XM_ICONGP_H */