#ifndef lint #ifdef sccs static char sccsid[] = "@(#)frame_base.h 1.30 93/06/28"; #endif #endif /***********************************************************************/ /* frame_base.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 _frame_base_h_already_included #define _frame_base_h_already_included /* standard includes */ #ifndef FILE #if !defined(SVR4) && !defined(__linux) #undef NULL #endif SVR4 #include #endif FILE #include #include #include #include #include /* for WL_ links */ #include /* all this for wmgr.h */ #include #include #include #include #include #include #include #include /* all this for XWMHints */ #include #include #define FRAME_BASE_PRIVATE(f) XV_PRIVATE(Frame_base_info, Xv_frame_base, f) #define FRAME_BASE_PUBLIC(f) XV_PUBLIC(f) #define FRAME_CLASS_FROM_BASE(f) FRAME_PRIVATE(FRAME_BASE_PUBLIC(f)) #define FRAME_BASE_FLAGS WMDecorationHeader | WMDecorationCloseButton | \ WMDecorationResizeable typedef struct { Frame public_self; /* back pointer to object */ void (*props_proc)(); WM_Win_Type win_attr; /* _OL_WIN_ATTR */ char **cmd_line_strings; int cmd_line_strings_count; struct { BIT_FIELD(show_label); /* show label or not */ BIT_FIELD(props_active); BIT_FIELD(show_resize_corner); /* show resize corner or not */ } status_bits; } Frame_base_info; /* frame_base.c */ Pkg_private int frame_base_init(); /* fmbs_get.c */ Pkg_private Xv_opaque frame_base_get_attr(); /* fmbs_set.c */ Pkg_private Xv_opaque frame_base_set_avlist(); /* fmbs_destroy.c */ Pkg_private int frame_base_destroy(); #endif