Blame lib/Xm/SashP.h

Packit b099d7
/* 
Packit b099d7
 * Motif
Packit b099d7
 *
Packit b099d7
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are free software; you can
Packit b099d7
 * redistribute them and/or modify them under the terms of the GNU
Packit b099d7
 * Lesser General Public License as published by the Free Software
Packit b099d7
 * Foundation; either version 2 of the License, or (at your option)
Packit b099d7
 * any later version.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are distributed in the hope that
Packit b099d7
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
 * PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
 * details.
Packit b099d7
 *
Packit b099d7
 * You should have received a copy of the GNU Lesser General Public
Packit b099d7
 * License along with these librararies and programs; if not, write
Packit b099d7
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
 * Floor, Boston, MA 02110-1301 USA
Packit b099d7
*/ 
Packit b099d7
/* 
Packit b099d7
 * HISTORY
Packit b099d7
*/ 
Packit b099d7
/*   $XConsortium: SashP.h /main/12 1995/07/13 17:52:08 drk $ */
Packit b099d7
/*
Packit b099d7
*  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
Packit b099d7
/*
Packit b099d7
*  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
Packit b099d7
/*
Packit b099d7
*  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
Packit b099d7
/*
Packit b099d7
 *  SashP.h - Private definitions for Sash widget (Used by VPane Widget)
Packit b099d7
 *
Packit b099d7
 */
Packit b099d7
Packit b099d7
#ifndef _XmSashP_h
Packit b099d7
#define _XmSashP_h
Packit b099d7
Packit b099d7
#include <Xm/PrimitiveP.h>
Packit b099d7
Packit b099d7
#ifdef __cplusplus
Packit b099d7
extern "C" {
Packit b099d7
#endif
Packit b099d7
Packit b099d7
/*****************************************************************************
Packit b099d7
 *
Packit b099d7
 * Sash Widget Private Data
Packit b099d7
 *
Packit b099d7
 *****************************************************************************/
Packit b099d7
Packit b099d7
/* New fields for the Sash widget class record */
Packit b099d7
typedef struct {
Packit b099d7
   XtPointer extension;   /* Pointer to extension record */
Packit b099d7
} XmSashClassPart;
Packit b099d7
Packit b099d7
/* Full Class record declaration */
Packit b099d7
typedef struct _XmSashClassRec {
Packit b099d7
    CoreClassPart         core_class;
Packit b099d7
    XmPrimitiveClassPart  primitive_class;
Packit b099d7
    XmSashClassPart    sash_class;
Packit b099d7
} XmSashClassRec;
Packit b099d7
Packit b099d7
typedef struct _XmSashClassRec *XmSashWidgetClass;
Packit b099d7
Packit b099d7
externalref XmSashClassRec xmSashClassRec;
Packit b099d7
Packit b099d7
/* New fields for the Sash widget record */
Packit b099d7
typedef struct {
Packit b099d7
  XtCallbackList sash_action;
Packit b099d7
  Boolean has_focus;
Packit b099d7
} XmSashPart;
Packit b099d7
Packit b099d7
/*****************************************************************************
Packit b099d7
 *
Packit b099d7
 * Full instance record declaration
Packit b099d7
 *
Packit b099d7
 ****************************************************************************/
Packit b099d7
Packit b099d7
typedef struct _XmSashRec {
Packit b099d7
   CorePart         core;
Packit b099d7
   XmPrimitivePart  primitive;
Packit b099d7
   XmSashPart       sash;
Packit b099d7
} XmSashRec;
Packit b099d7
Packit b099d7
typedef struct _XmSashRec      *XmSashWidget;
Packit b099d7
Packit b099d7
typedef struct {
Packit b099d7
  XEvent *event;		/* the event causing the SashAction */
Packit b099d7
  String *params;		/* the TranslationTable params */
Packit b099d7
  Cardinal num_params;		/* count of params */
Packit b099d7
} SashCallDataRec, *SashCallData;
Packit b099d7
Packit b099d7
/* Class Record Constant */
Packit b099d7
Packit b099d7
externalref WidgetClass xmSashWidgetClass;
Packit b099d7
Packit b099d7
#ifndef XmIsSash
Packit b099d7
#define XmIsSash(w)	XtIsSubclass(w, xmSashWidgetClass)
Packit b099d7
#endif /* XmIsSash */
Packit b099d7
Packit b099d7
Packit b099d7
/********    Private Function Declarations    ********/
Packit b099d7
Packit b099d7
Packit b099d7
/********    End Private Function Declarations    ********/
Packit b099d7
Packit b099d7
Packit b099d7
#ifdef __cplusplus
Packit b099d7
}  /* Close scope of 'extern "C"' declaration which encloses file. */
Packit b099d7
#endif
Packit b099d7
Packit b099d7
#endif /* _XmSashP_h */
Packit b099d7
/* DON'T ADD ANYTHING AFTER THIS #endif */