|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T i
Length: 1590 (0x636)
Types: TextFile
Names: »image_impl.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/Sun/Sdi/image_impl.h«
/* @(#)image_impl.h 1.1 86/02/04 SMI */
/***********************************************************************/
/* image_impl.h */
/* Copyright (c) 1985 by Sun Microsystems, Inc. */
/***********************************************************************/
#ifndef image_impl_DEFINED
#define image_impl_DEFINED
#include <suntool/image.h>
#define TRUE 1
#define FALSE 0
#define NULL 0
#define IMAGE_DEFAULT_FONT "/usr/lib/fonts/fixedwidthfonts/screen.b.12"
/***********************************************************************/
/* Structures */
/***********************************************************************/
struct image {
int *ops; /* Should be ops vector or unique id */
struct pixfont *font;
char *string;
struct pixrect *pr;
struct pixrect *left_pr;
struct pixrect *right_pr;
int left_margin;
int right_margin;
int margin;
/* Flags */
unsigned boxed:1;
unsigned inactive:1;
unsigned invert:1;
unsigned free_everything:1; /* Not used */
unsigned free_image:1;
unsigned free_font:1; /* Not used */
unsigned free_string:1;
unsigned free_pr:1;
unsigned free_right_pr:1; /* Not used */
/* Auxiliary fields */
int width;
int height;
};
struct pixfont *pw_pfsysopen();
struct pixfont *image_get_font();
#define IMAGE_P(i) ((i) && ((struct image *)(i))->ops == 0)
#define image_attr_next(attr) \
(Image_attribute *)attr_next((caddr_t *)attr)
#endif ~image_impl_DEFINED