/* @(#)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 #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 */* XView CONVERSION - Defunct Simply remove, see Sect 2.3 */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