146 lines
4.0 KiB
C
146 lines
4.0 KiB
C
/*
|
|
* 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: TermViewP.h /main/1 1996/04/21 19:20:35 drk $";
|
|
*/
|
|
|
|
/* *
|
|
* (c) Copyright 1993, 1994 Hewlett-Packard Company *
|
|
* (c) Copyright 1993, 1994 International Business Machines Corp. *
|
|
* (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
|
|
* (c) Copyright 1993, 1994 Novell, Inc. *
|
|
*/
|
|
|
|
#ifndef _Dt_TermViewP_h
|
|
#define _Dt_TermViewP_h
|
|
|
|
#include <Xm/BulletinBP.h>
|
|
#include "TermView.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* DtTermView class structure... */
|
|
|
|
typedef struct _DtTermViewClassPart
|
|
{
|
|
int foo;
|
|
} DtTermViewClassPart;
|
|
|
|
/* full clas record declaration for DtTermView class... */
|
|
typedef struct _DtTermViewClassRec {
|
|
CoreClassPart core_class;
|
|
CompositeClassPart composite_class;
|
|
ConstraintClassPart constraint_class;
|
|
XmManagerClassPart manager_class;
|
|
XmBulletinBoardClassPart bulletin_board_class;
|
|
DtTermViewClassPart termview_class;
|
|
} DtTermViewClassRec;
|
|
|
|
externalref DtTermViewClassRec dtTermViewClassRec;
|
|
|
|
typedef struct {
|
|
Widget frame;
|
|
Widget widget;
|
|
Boolean managed;
|
|
} widgetInfo;
|
|
|
|
/* dttermview instance record... */
|
|
typedef struct _DtTermViewPart
|
|
{
|
|
Widget term;
|
|
Widget scrolledWindowFrame;
|
|
Widget scrolledWindow;
|
|
widgetInfo scrollBar;
|
|
widgetInfo menuBar;
|
|
Widget helpWidget;
|
|
Widget globalOptionsDialog;
|
|
Widget terminalOptionsDialog;
|
|
char *emulationId; /* $TERMINAL_EMULATOR variable */
|
|
unsigned char charCursorStyle;
|
|
int blinkRate;
|
|
Boolean visualBell;
|
|
Boolean marginBell;
|
|
int nMarginBell;
|
|
Boolean jumpScroll;
|
|
unsigned char shadowType;
|
|
XmFontList fontList;
|
|
XmFontList defaultFontList;
|
|
char *userFontList;
|
|
short rows;
|
|
short columns;
|
|
Dimension marginHeight;
|
|
Dimension marginWidth;
|
|
Dimension spacing;
|
|
int baseWidth;
|
|
int baseHeight;
|
|
int widthInc;
|
|
int heightInc;
|
|
int pty;
|
|
Boolean ptyAllocate;
|
|
char *ptySlaveName;
|
|
int subprocessPid;
|
|
char *subprocessCmd;
|
|
char **subprocessArgv;
|
|
Boolean subprocessLoginShell;
|
|
Boolean subprocessTerminationCatch;
|
|
Boolean subprocessExec;
|
|
Boolean scrollBarVisible;
|
|
Boolean menuBarVisible;
|
|
Boolean menuPopupVisible;
|
|
Boolean capsLock;
|
|
Boolean stop;
|
|
DtTermInsertCharMode insertCharMode;
|
|
XtCallbackList subprocessTerminationCallback;
|
|
XtCallbackList newCallback;
|
|
DtTermTerminalSize sizeDefault;
|
|
DtTermTerminalSizeList sizeList;
|
|
char *userFontName;
|
|
int currentFontToggleButtonIndex;
|
|
Boolean sized;
|
|
} DtTermViewPart;
|
|
|
|
/* full instance record declaration... */
|
|
|
|
typedef struct _DtTermViewRec {
|
|
CorePart core;
|
|
CompositePart composite;
|
|
ConstraintPart constraint;
|
|
XmManagerPart manager;
|
|
XmBulletinBoardPart bulletinBoard;
|
|
DtTermViewPart termview;
|
|
} DtTermViewRec;
|
|
|
|
|
|
|
|
|
|
/* end private function declarations... */
|
|
|
|
#ifdef __cplusplus
|
|
} /* close scope of 'extern "C"'... */
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* _Dt_TermViewP_h */
|
|
/* DON'T ADD ANYTHING AFTER THIS #endif... */
|