/usr/include/Xm/SSpinBP.h is in libmotif-dev 2.3.4-13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | /* $TOG: SSpinBP.h /main/6 1999/09/01 17:13:50 mgreess $ */
/*
* (c) Copyright 1995 Digital Equipment Corporation.
* (c) Copyright 1995 Hewlett-Packard Company.
* (c) Copyright 1995 International Business Machines Corp.
* (c) Copyright 1995 Sun Microsystems, Inc.
* (c) Copyright 1995 Novell, Inc.
* (c) Copyright 1995 FUJITSU LIMITED.
* (c) Copyright 1995 Hitachi.
*/
/******************************************************************************
*
* File: SSpinBP.h
* Date: June 1, 1995
* Author: Mitchell Greess
*
* Contents:
* Private header file for the XmSimpleSpinBox widget.
* Implements the XmSimpleSpinBox.
*
******************************************************************************/
#ifndef _XmSSpinBP_h
#define _XmSSpinBP_h
#include <Xm/SpinBP.h>
#include <Xm/SSpinB.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _XmSimpleSpinBoxConstraint
{
int unused;
} XmSimpleSpinBoxConstraintPart, *XmSimpleSpinBoxConstraint;
typedef struct _XmSimpleSpinBoxConstraintRec
{
XmManagerConstraintPart manager;
XmSpinBoxConstraintPart spinBox;
XmSimpleSpinBoxConstraintPart simpleSpinBox;
} XmSimpleSpinBoxConstraintRec, *XmSimpleSpinBoxConstraintPtr;
/* Simple Spin Box class structure */
typedef struct _XmSimpleSpinBoxClassPart
{
XtPointer extension; /* not used */
} XmSimpleSpinBoxClassPart;
/* Full class record declaration for Simple Spin Box class */
typedef struct _XmSimpleSpinBoxClassRec
{
CoreClassPart core_class;
CompositeClassPart composite_class;
ConstraintClassPart constraint_class;
XmManagerClassPart manager_class;
XmSpinBoxClassPart spinBox_class;
XmSimpleSpinBoxClassPart simpleSpinBox_class;
} XmSimpleSpinBoxClassRec;
externalref XmSimpleSpinBoxClassRec xmSimpleSpinBoxClassRec;
/* The Simple Spin Box instance record */
typedef struct _XmSimpleSpinBoxPart
{
/*
* (Public) resources
*/
unsigned char arrow_sensitivity;
Boolean wrap;
/* Resources for autonumeric mode */
short decimal_points;
int increment_value;
int maximum_value;
int minimum_value;
/* Resources for string values mode */
int num_values; /* number of XmString in the array */
int position; /* 1-based pos'n of current selection */
unsigned char position_type; /* governs interpretation of .position:
XmPOSITION_{ARRAY,VALUE} */
XmStringTable values; /* array of XmString */
/* Resources for the text field child of the XmSimpleSpinBox */
short columns; /* number of columns */
Boolean editable; /* whether the text field is editable */
unsigned char sb_child_type; /* XmSTRING or XmNUMERIC */
Widget text_field;
/* (Private) state */
} XmSimpleSpinBoxPart;
/* Full instance record declaration */
typedef struct _XmSimpleSpinBoxRec
{
CorePart core;
CompositePart composite;
ConstraintPart constraint;
XmManagerPart manager;
XmSpinBoxPart spinBox;
XmSimpleSpinBoxPart simpleSpinBox;
} XmSimpleSpinBoxRec;
#ifdef __cplusplus
} /* Close scope of 'extern "C"' declaration which encloses file. */
#endif
#endif /* _SSpinBP_h */
/* DON'T ADD ANYTHING AFTER THIS #endif */
|