/usr/share/doc/xviewg/examples/extensions/bitmap.h is in xview-examples 3.2p1.4-28.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 | #include <xview/xview.h>
#include <xview/window.h>
extern Xv_pkg bitmap_pkg;
#define BITMAP &bitmap_pkg
typedef Xv_opaque Bitmap;
#define ATTR_PKG_BITMAP ATTR_PKG_UNUSED_FIRST
#define BITMAP_ATTR(type, ordinal) ATTR(ATTR_PKG_BITMAP, type, ordinal)
typedef enum {
BITMAP_FILE = BITMAP_ATTR(ATTR_STRING, 1),
BITMAP_PIXMAP = BITMAP_ATTR(ATTR_OPAQUE, 2), /* get-only */
};
typedef struct {
Xv_window_struct parent_data;
Xv_opaque private_data;
} Bitmap_public;
|