Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
77
cde/programs/dtfile/MultiView.h
Normal file
77
cde/programs/dtfile/MultiView.h
Normal file
@@ -0,0 +1,77 @@
|
||||
/* $XConsortium: MultiView.h /main/4 1995/11/02 14:42:56 rswiston $ */
|
||||
/************************************<+>*************************************
|
||||
****************************************************************************
|
||||
*
|
||||
* FILE: MultiView.h
|
||||
*
|
||||
* COMPONENT_NAME: Desktop File Manager
|
||||
*
|
||||
* DESCRIPTION: Public include file for the shared multi-view functions.
|
||||
*
|
||||
* (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company
|
||||
* (c) Copyright 1993, 1994, 1995 International Business Machines Corp.
|
||||
* (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
|
||||
* (c) Copyright 1993, 1994, 1995 Novell, Inc.
|
||||
*
|
||||
****************************************************************************
|
||||
************************************<+>*************************************/
|
||||
|
||||
#ifndef _MultiView_h
|
||||
#define _MultiView_h
|
||||
|
||||
typedef struct {
|
||||
char type;
|
||||
Boolean isHelpBtn;
|
||||
String name;
|
||||
String label;
|
||||
String mnemonic;
|
||||
XtPointer helpData;
|
||||
XtCallbackProc helpCallback;
|
||||
XtPointer activateData;
|
||||
XtCallbackProc activateCallback;
|
||||
unsigned int maskBit;
|
||||
Widget widget;
|
||||
} MenuDesc;
|
||||
|
||||
|
||||
/******** Public Function Declarations ********/
|
||||
|
||||
extern Widget _DtCreateMenuSystem(
|
||||
Widget parent ,
|
||||
char * menuBarName,
|
||||
XtCallbackProc helpCallback,
|
||||
XtPointer helpData,
|
||||
Boolean createSharedComponents,
|
||||
MenuDesc * menuDesc,
|
||||
int numMenuComponents,
|
||||
void (*getMenuDataProc)(),
|
||||
void (*setMenuSensitivity)(),
|
||||
void (*restoreMenuSensitivity)()) ;
|
||||
extern void _DtGlobalUpdateMenuItemState(
|
||||
Widget btn,
|
||||
unsigned int mask,
|
||||
unsigned int on,
|
||||
unsigned int * globalMenuStates) ;
|
||||
extern void _DtGlobalSetMenuSensitivity(
|
||||
Widget w,
|
||||
XtPointer client_data,
|
||||
XtPointer call_data) ;
|
||||
extern void _DtGlobalRestoreMenuSensitivity(
|
||||
Widget w,
|
||||
XtPointer client_data,
|
||||
XtPointer call_data) ;
|
||||
|
||||
/******** End Public Function Declarations ********/
|
||||
|
||||
|
||||
/* Defines for menu components */
|
||||
#define MENU_PANE 0
|
||||
#define MENU_PULLDOWN_BUTTON 1
|
||||
#define MENU_BUTTON 2
|
||||
#define MENU_SEPARATOR 3
|
||||
#define SHARED_MENU_PANE 4
|
||||
#define MENU_TOGGLE_BUTTON 5
|
||||
|
||||
|
||||
#endif /* _MultiView_h */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif */
|
||||
Reference in New Issue
Block a user