~ubuntu-branches/ubuntu/karmic/grace/karmic

« back to all changes in this revision

Viewing changes to src/TabP.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-19 14:19:58 UTC
  • Revision ID: james.westby@ubuntu.com-20020319141958-5gxna6vo1ek3zjml
Tags: upstream-5.1.7
ImportĀ upstreamĀ versionĀ 5.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/************************************************************************* 
 
3
 * Version 1.1  on  July-30-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
        Dimension cut_size;
 
51
        Dimension raise;
 
52
        Dimension tab_height;
 
53
        Dimension margin_width;
 
54
        Dimension margin_height;
 
55
        GC normal_gc;
 
56
} XmTabPart;
 
57
 
 
58
typedef struct _XmTabRec {
 
59
        CorePart core;
 
60
        CompositePart composite;
 
61
        ConstraintPart constraint;
 
62
        XmManagerPart manager;
 
63
        XmTabPart tab;
 
64
} XmTabRec;
 
65
 
 
66
typedef struct _XmTabConstraintPart {
 
67
        XmString tab_label;
 
68
        XRectangle tab_rect;
 
69
} XmTabConstraintPart;
 
70
 
 
71
typedef struct _XmTabConstraintRec {
 
72
        XmManagerConstraintPart manager;
 
73
        XmTabConstraintPart tab;
 
74
} XmTabConstraintRec;
 
75
 
 
76
#ifdef __cplusplus
 
77
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
78
#endif
 
79
 
 
80
#endif /**  __TABP_H__  **/
 
81
 
 
82