~ubuntu-branches/ubuntu/quantal/openmotif/quantal

« back to all changes in this revision

Viewing changes to lib/Xm/ClipWindowP.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-23 12:12:31 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100623121231-u89gxdp51sg9wjj2
Tags: 2.3.0-1
* New Maintainer (Closes: #379258) 
* Acknowledge NMU changes
* New upstream release (Closes: #494375)
* Get rid of security patches as they are already part of new upstream
  release (00-xpmvuln.openmotif.patch, 342092-CVE-2005-3964.patch)
* Bump Standards to 3.8.4
* Added {misc:Depends} to make the package lintian cleaner
* Fix weak-library-dev-dependency by adding ${binary:Version}) for the
  -dev Package of openmotif
* Let package depend on autotools-dev to use newer autotools-helper-files
* Work around an autoconf-bug (Gentoo-Bug #1475)
* Added Client-side anti-aliased fonts support via XFT
* Added UTF-8 and UTF8_STRING atom support
* Ability to show text and pixmaps in Label, LabelGadget and all
  derived widgets
* Support of PNG/JPEG image formats in the same way as XPM is supported
* Increase FILE_OFFSET_BITS to 64 to show files >2GB in file-selector
  Idea taken from Magne Oestlyngen (Closes: #288537)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XConsortium: ClipWindowP.h /main/5 1995/07/15 20:48:39 drk $ */
 
2
/*
 
3
 *  @OPENGROUP_COPYRIGHT@
 
4
 *  COPYRIGHT NOTICE
 
5
 *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
 
6
 *  Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
 
7
 *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
 
8
 *  the full copyright text.
 
9
 *  
 
10
 *  This software is subject to an open license. It may only be
 
11
 *  used on, with or for operating systems which are themselves open
 
12
 *  source systems. You must contact The Open Group for a license
 
13
 *  allowing distribution and sublicensing of this software on, with,
 
14
 *  or for operating systems which are not Open Source programs.
 
15
 *  
 
16
 *  See http://www.opengroup.org/openmotif/license for full
 
17
 *  details of the license agreement. Any use, reproduction, or
 
18
 *  distribution of the program constitutes recipient's acceptance of
 
19
 *  this agreement.
 
20
 *  
 
21
 *  EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
 
22
 *  PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
23
 *  KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
 
24
 *  WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
 
25
 *  OR FITNESS FOR A PARTICULAR PURPOSE
 
26
 *  
 
27
 *  EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
 
28
 *  NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
 
29
 *  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
30
 *  DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
 
31
 *  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
32
 *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 
33
 *  ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
 
34
 *  EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
 
35
 *  POSSIBILITY OF SUCH DAMAGES.
 
36
 */
 
37
/*
 
38
 * HISTORY
 
39
 */
 
40
#ifndef _XmClipWindowP_h
 
41
#define _XmClipWindowP_h
 
42
 
 
43
#include <Xm/DrawingAP.h>
 
44
 
 
45
#ifdef __cplusplus
 
46
extern "C" {
 
47
#endif
 
48
 
 
49
externalref WidgetClass xmClipWindowWidgetClass;
 
50
 
 
51
typedef struct _XmClipWindowClassRec * XmClipWindowWidgetClass;
 
52
typedef struct _XmClipWindowRec      * XmClipWindowWidget;
 
53
 
 
54
 
 
55
#ifndef XmIsClipWindow
 
56
#define XmIsClipWindow(w)  (XtIsSubclass (w, xmClipWindowWidgetClass))
 
57
#endif
 
58
 
 
59
 
 
60
/*  New fields for the ClipWindow widget class record  */
 
61
 
 
62
typedef struct
 
63
{
 
64
   XtPointer extension;   
 
65
} XmClipWindowClassPart;
 
66
 
 
67
 
 
68
/* Full class record declaration */
 
69
 
 
70
typedef struct _XmClipWindowClassRec
 
71
{
 
72
        CoreClassPart           core_class;
 
73
        CompositeClassPart      composite_class;
 
74
        ConstraintClassPart     constraint_class;
 
75
        XmManagerClassPart      manager_class;
 
76
        XmDrawingAreaClassPart  drawing_area_class;
 
77
        XmClipWindowClassPart   clip_window_class;
 
78
} XmClipWindowClassRec;
 
79
 
 
80
externalref XmClipWindowClassRec xmClipWindowClassRec;
 
81
 
 
82
 
 
83
/* New fields for the ClipWindow widget record */
 
84
 
 
85
typedef struct
 
86
{
 
87
        unsigned char flags;
 
88
        Dimension old_width ;
 
89
} XmClipWindowPart;
 
90
 
 
91
 
 
92
/****************************************************************
 
93
 *
 
94
 * Full instance record declaration
 
95
 *
 
96
 ****************************************************************/
 
97
 
 
98
typedef struct _XmClipWindowRec
 
99
{
 
100
        CorePart                core;
 
101
        CompositePart           composite;
 
102
        ConstraintPart          constraint;
 
103
        XmManagerPart           manager;
 
104
        XmDrawingAreaPart       drawing_area;
 
105
        XmClipWindowPart        clip_window;
 
106
} XmClipWindowRec;
 
107
 
 
108
 
 
109
/********    Private Function Declarations    ********/
 
110
/********    End Private Function Declarations    ********/
 
111
 
 
112
 
 
113
#ifdef __cplusplus
 
114
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
115
#endif
 
116
 
 
117
#endif /* _XmClipWindowP_h */
 
118
/* DON'T ADD ANYTHING AFTER THIS #endif */