~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qmon/tab/TabP.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/************************************************************************* 
 
3
 * Version 1.0  on  15-May-1997
 
4
 * (c) 1997 Pralay Dakua (pkanti@hotmail.com)
 
5
 *     
 
6
 * This is a free software and permission to use, modify, distribute,
 
7
 * selling and using for commercial purpose is hereby granted provided
 
8
 * that THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE
 
9
 * INCLUDED IN ALL COPIES AND THEIR SUPPORTING DOCUMENTATIONS.
 
10
 *
 
11
 * There is no warranty for this software. In no event Pralay Dakua
 
12
 * will be liable for merchantability and fitness of the software and 
 
13
 * damages due to this software.
 
14
 *
 
15
 * Author:
 
16
 * Pralay Dakua (pkanti@hotmail.com)
 
17
 *
 
18
 **************************************************************************/
 
19
 
 
20
#ifndef __TABP_H__
 
21
#define __TABP_H__
 
22
 
 
23
#include <Xm/XmP.h>
 
24
#include <Xm/ManagerP.h>
 
25
#include "Tab.h"
 
26
 
 
27
#ifdef __cplusplus
 
28
extern "C" {
 
29
#endif
 
30
 
 
31
typedef struct _XmTabClassPart {
 
32
        XtPointer extension;
 
33
} XmTabClassPart;
 
34
 
 
35
typedef struct _XmTabClassRec {
 
36
        CoreClassPart core_class;
 
37
        CompositeClassPart composite_class;
 
38
        ConstraintClassPart constraint_class;
 
39
        XmManagerClassPart manager_class;
 
40
        XmTabClassPart tab_class;
 
41
} XmTabClassRec;
 
42
 
 
43
extern XmTabClassRec xmTabClassRec;
 
44
 
 
45
typedef struct _XmTabPart {
 
46
        XtCallbackList value_changed_callback;
 
47
        Widget active_tab;
 
48
        XmFontList tab_font_list;
 
49
        Boolean resize_children;
 
50
   Boolean layout_disabled;
 
51
   Cardinal tabs_per_row;
 
52
        Dimension cut_size;
 
53
        Dimension raise;
 
54
        Dimension tab_height;
 
55
   Cardinal tab_rows;
 
56
        Dimension tab_total_width;
 
57
        Dimension tab_total_height;
 
58
        Dimension margin_width;
 
59
        Dimension margin_height;
 
60
        GC normal_gc;
 
61
   GC highlight_gc;
 
62
} XmTabPart;
 
63
 
 
64
typedef struct _XmTabRec {
 
65
        CorePart core;
 
66
        CompositePart composite;
 
67
        ConstraintPart constraint;
 
68
        XmManagerPart manager;
 
69
        XmTabPart tab;
 
70
} XmTabRec;
 
71
 
 
72
typedef struct _XmTabConstraintPart {
 
73
        XmString tab_label;
 
74
        XRectangle tab_rect;
 
75
} XmTabConstraintPart;
 
76
 
 
77
typedef struct _XmTabConstraintRec {
 
78
        XmManagerConstraintPart manager;
 
79
        XmTabConstraintPart tab;
 
80
} XmTabConstraintRec;
 
81
 
 
82
#ifdef __cplusplus
 
83
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
84
#endif
 
85
 
 
86
#endif /**  __TABP_H__  **/
 
87
 
 
88