749N/A/*
749N/A * $XConsortium: SmeBSBP.h,v 1.8 94/04/17 21:44:11 rws Exp $
749N/A *
749N/ACopyright (c) 1989, 1994 X Consortium
749N/A
749N/APermission is hereby granted, free of charge, to any person obtaining a copy
749N/Aof this software and associated documentation files (the "Software"), to deal
749N/Ain the Software without restriction, including without limitation the rights
749N/Ato use, copy, modify, merge, publish, distribute, sublicense, and/or sell
749N/Acopies of the Software, and to permit persons to whom the Software is
749N/Afurnished to do so, subject to the following conditions:
749N/A
749N/AThe above copyright notice and this permission notice shall be included in
749N/Aall copies or substantial portions of the Software.
749N/A
749N/ATHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
749N/AIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
749N/AFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
749N/AX CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
749N/AAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
749N/ACONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
749N/A
749N/AExcept as contained in this notice, the name of the X Consortium shall not be
749N/Aused in advertising or otherwise to promote the sale, use or other dealings
749N/Ain this Software without prior written authorization from the X Consortium.
749N/A *
749N/A * Author: Chris D. Peterson, MIT X Consortium
749N/A */
749N/A
749N/A/*
749N/A * SmeP.h - Private definitions for Sme object
749N/A *
749N/A */
749N/A
749N/A#ifndef _XawSmeBSBP_h
749N/A#define _XawSmeBSBP_h
749N/A
749N/A/***********************************************************************
749N/A *
749N/A * Sme Object Private Data
749N/A *
749N/A ***********************************************************************/
749N/A
749N/A#include <X11/Xaw/SmeP.h>
749N/A#include <X11/Xaw/SmeBSB.h>
749N/A
749N/A/************************************************************
749N/A *
749N/A * New fields for the Sme Object class record.
749N/A *
749N/A ************************************************************/
749N/A
749N/Atypedef struct _SmeBSBClassPart {
749N/A XtPointer extension;
749N/A} SmeBSBClassPart;
749N/A
749N/A/* Full class record declaration */
749N/Atypedef struct _SmeBSBClassRec {
749N/A RectObjClassPart rect_class;
749N/A SmeClassPart sme_class;
749N/A SmeBSBClassPart sme_bsb_class;
749N/A} SmeBSBClassRec;
749N/A
749N/Aextern SmeBSBClassRec smeBSBClassRec;
749N/A
749N/A/* New fields for the Sme Object record */
749N/Atypedef struct {
749N/A /* resources */
749N/A String label; /* The entry label. */
749N/A int vert_space; /* extra vert space to leave, as a percentage
749N/A of the font height of the label. */
749N/A Pixmap left_bitmap, right_bitmap; /* bitmaps to show. */
749N/A Dimension left_margin, right_margin; /* left and right margins. */
749N/A Pixel foreground; /* foreground color. */
749N/A XFontStruct * font; /* The font to show label in. */
749N/A XFontSet fontset; /* or fontset*/
749N/A XtJustify justify; /* Justification for the label. */
749N/A
749N/A/* private resources. */
749N/A
749N/A Boolean set_values_area_cleared; /* Remember if we need to unhighlight. */
749N/A GC norm_gc; /* noral color gc. */
749N/A GC rev_gc; /* reverse color gc. */
749N/A GC norm_gray_gc; /* Normal color (grayed out) gc. */
749N/A GC invert_gc; /* gc for flipping colors. */
749N/A
749N/A Dimension left_bitmap_width; /* size of each bitmap. */
749N/A Dimension left_bitmap_height;
749N/A Dimension right_bitmap_width;
749N/A Dimension right_bitmap_height;
749N/A
749N/A} SmeBSBPart;
749N/A
749N/A/****************************************************************
749N/A *
749N/A * Full instance record declaration
749N/A *
749N/A ****************************************************************/
749N/A
749N/Atypedef struct _SmeBSBRec {
749N/A ObjectPart object;
749N/A RectObjPart rectangle;
749N/A SmePart sme;
749N/A SmeBSBPart sme_bsb;
749N/A} SmeBSBRec;
749N/A
749N/A/************************************************************
749N/A *
749N/A * Private declarations.
749N/A *
749N/A ************************************************************/
749N/A
749N/A#endif /* _XawSmeBSBP_h */