~ubuntu-branches/ubuntu/jaunty/xvidcap/jaunty-proposed

« back to all changes in this revision

Viewing changes to Xw/BoxP.h

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-25 15:47:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080225154712-qvr11ekcea4c9ry8
Tags: 1.1.6-0.1ubuntu1
* Merge from debian-multimedia (LP: #120003), Ubuntu Changes:
 - For ffmpeg-related build-deps, remove cvs from package names.
 - Standards-Version 3.7.3
 - Maintainer Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * BoxP.h
3
 
 *
4
 
 * Copyright (C) 1998 Rasca Gmelch, Berlin
5
 
 * EMail: thron@gmx.de
6
 
 *
7
 
 * This library is free software; you can redistribute it and/or
8
 
 * modify it under the terms of the GNU Library General Public
9
 
 * License as published by the Free Software Foundation; either
10
 
 * version 2 of the License, or (at your option) any later version.
11
 
 *
12
 
 * This library is distributed in the hope that it will be useful,
13
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
 
 * Library General Public License for more details.
16
 
 *
17
 
 * You should have received a copy of the GNU Library General Public
18
 
 * License along with this library; if not, write to the Free Software
19
 
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
 
 */
21
 
 
22
 
#ifndef __BoxP_h__
23
 
#define __BoxP_h__
24
 
 
25
 
#include <X11/CoreP.h>
26
 
#include <Xw/Box.h>
27
 
 
28
 
/* new fields for the box widget class record
29
 
 */
30
 
typedef struct {
31
 
        /* XtWidgetProc draw_frame; */
32
 
        XtActionProc tab_action;
33
 
} XwBoxClassPart;
34
 
 
35
 
#define XtInheritTabAction ((XtActionProc) _XtInherit)
36
 
 
37
 
/*
38
 
 * full class record declaration
39
 
 */
40
 
typedef struct _XwBoxClassRec {
41
 
        CoreClassPart           core_class;
42
 
        CompositeClassPart      composite_class;
43
 
        XwBoxClassPart          box_class;
44
 
} XwBoxClassRec;
45
 
 
46
 
/*
47
 
 * instance definitions
48
 
 */
49
 
typedef struct {
50
 
        /* resources */
51
 
        Dimension margin;
52
 
        Boolean resize;
53
 
        Boolean acceptDrop;
54
 
        XtCallbackList tab_callbacks;
55
 
        XtPointer data;         /* general purpose data pointer */
56
 
        Dimension hspace, vspace;
57
 
        XtOrientation orientation;
58
 
        Boolean expand;
59
 
 
60
 
        /* private state */
61
 
        Dimension pref_width;   /* preferred width and height */
62
 
        Dimension pref_height;
63
 
} XwBoxPart;
64
 
 
65
 
/*
66
 
 * full instance record declaration
67
 
 */
68
 
typedef struct _XwBoxRec {
69
 
        CorePart                core;
70
 
        CompositePart   composite;
71
 
        XwBoxPart               box;
72
 
} XwBoxRec;
73
 
 
74
 
extern XwBoxClassRec xwBoxClassRec;
75
 
 
76
 
#endif
77