123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: View.h /main/3 1995/10/26 09:35:11 rswiston $ */
- /**---------------------------------------------------------------------
- ***
- *** file: View.h
- ***
- *** project: MotifPlus Widgets
- ***
- *** description: Public include file for DtView class.
- ***
- ***
- *** (c) Copyright 1990 by Hewlett-Packard Company.
- ***
- ***
- ***-------------------------------------------------------------------*/
- #ifndef _DtView_h
- #define _DtView_h
- #include <Xm/Xm.h>
- #if defined(__cplusplus) || defined(c_plusplus)
- extern "C" {
- #endif
- /* Temporary location for resource definition. Need to */
- /* move into the string defs file. */
- #define XmNsubpanelUnpostOnSelect "subpanelUnpostOnSelect"
- #define XmCSubpanelUnpostOnSelect "SubpanelUnpostOnSelect"
- #define XmNsubpanelTorn "subpanelTorn"
- #define XmCSubpanelTorn "SubpanelTorn"
- /* These macros are also defined in DtStrDefs.h */
- /* Control->View.h */
- /* Control.c->Control.h->Icon.h->DtStrDefs.h */
- #ifndef XmNleftInset
- #define XmNleftInset "leftInset"
- #endif /* XmNleftInset */
- #ifndef XmNrightInset
- #define XmNrightInset "rightInset"
- #endif /* XmNrightInset */
- #ifndef XmNtopInset
- #define XmNtopInset "topInset"
- #endif /* XmNtopInset */
- #ifndef XmNbottomInset
- #define XmNbottomInset "bottomInset"
- #endif /* XmNbottomInset */
- #ifndef XmNwidthIncrement
- #define XmNwidthIncrement "widthIncrement"
- #endif /* XmNwidthIncrement */
- #ifndef XmNheightIncrement
- #define XmNheightIncrement "heightIncrement"
- #endif /* XmNheightIncrement */
- #ifndef XmNboxType
- #define XmNboxType "boxType"
- #endif /* XmNboxType */
- #ifndef XmCBoxType
- #define XmCBoxType "BoxType"
- #endif /* XmCBoxType */
- #ifndef XmRBoxType
- #define XmRBoxType "BoxType"
- #endif /* XmRBoxType */
- #define XmBOX_NONE 0
- #define XmBOX_PRIMARY 1
- #define XmBOX_SECONDARY 2
- #define XmBOX_SUBPANEL 3
- #define XmBOX_SWITCH 4
- #ifndef DtIsView
- #define DtIsView(w) XtIsSubclass(w, dtViewWidgetClass)
- #endif /* XmIsView */
- extern Widget _DtCreateView();
- extern WidgetClass dtViewWidgetClass;
- typedef struct _DtViewClassRec * DtViewWidgetClass;
- typedef struct _DtViewRec * DtViewWidget;
- typedef struct
- {
- int reason;
- XEvent * event;
- int category_index;
- XmString category;
- int item_index;
- XmString item;
- } DtViewCallbackStruct;
- #define XmCR_SELECT XmCR_SINGLE_SELECT
- #if defined(__cplusplus) || defined(c_plusplus)
- } /* Close scope of 'extern "C"' declaration which encloses file. */
- #endif
- #endif /* _DtView_h */
- /* DON'T ADD ANYTHING AFTER THIS #endif */
|