/usr/include/xview_private/omi_impl.h is in xviewg-dev 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 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 | /* @(#)omi_impl.h 20.36 93/06/28 */
/***********************************************************************/
/* omi_impl.h */
/*
* (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents
* pending in the U.S. and foreign countries. See LEGAL NOTICE
* file for terms of the license.
*/
/***********************************************************************/
#ifndef _xview_image_impl_h_already_included
#define _xview_image_impl_h_already_included
#ifndef pixrect_DEFINED
#ifndef _TYPES_
#include <sys/types.h>
#endif /* _TYPES_ */
#include <pixrect/pixrect.h>
#endif /* pixrect_DEFINED */
#include <xview/font.h>
#include <xview/svrimage.h>
#ifdef OW_I18N
#include <xview/xv_i18n.h>
#endif /* OW_I18N */
#include <xview_private/i18n_impl.h>
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef NULL
#define NULL 0
#endif
/* ACC_XVIEW */
#define LABEL 1
#define QUALIFIER 2
#define KEY 3
/* ACC_XVIEW */
/***********************************************************************/
/* Structures */
/***********************************************************************/
struct image {
int *ops; /* Should be ops vector or unique id */
Font font;
Font bold_font; /* bold version of "font" */
#ifdef OW_I18N
_xv_string_attr_nodup_t
string;
#else
char *string;
#endif /* OW_I18N */
Server_image svr_im;
struct pr_pos left_pos; /* position of left image
* (usually pushpin) */
short left_margin;
short right_margin;
short margin;
/* Flags */
unsigned inactive:1;
unsigned invert:1;
unsigned title:1;
unsigned free_image:1;
unsigned free_string:1;
unsigned free_svr_im:1;
/* Auxiliary fields */
short width;
short height;
struct pr_pos button_pos; /* menu button position */
struct pr_size button_size; /* menu button size */
/* ACC_XVIEW */
short left_edge; /* for positions when drawing buttons*/
short image_type; /* LABEL,QUALIFIER,or KEY*/
/* ACC_XVIEW */
};
#define image_vector(x1,y1,x2,y2) \
(xv_vector(window,x1,y1,x2,y2,PIX_SET,0))
#endif /* _xview_image_impl_h_already_included */
|