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

« back to all changes in this revision

Viewing changes to lib/Xm/TravActI.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
/* 
 
2
 *  @OPENGROUP_COPYRIGHT@
 
3
 *  COPYRIGHT NOTICE
 
4
 *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
 
5
 *  Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group
 
6
 *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
 
7
 *  the full copyright text.
 
8
 *  
 
9
 *  This software is subject to an open license. It may only be
 
10
 *  used on, with or for operating systems which are themselves open
 
11
 *  source systems. You must contact The Open Group for a license
 
12
 *  allowing distribution and sublicensing of this software on, with,
 
13
 *  or for operating systems which are not Open Source programs.
 
14
 *  
 
15
 *  See http://www.opengroup.org/openmotif/license for full
 
16
 *  details of the license agreement. Any use, reproduction, or
 
17
 *  distribution of the program constitutes recipient's acceptance of
 
18
 *  this agreement.
 
19
 *  
 
20
 *  EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
 
21
 *  PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
22
 *  KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
 
23
 *  WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
 
24
 *  OR FITNESS FOR A PARTICULAR PURPOSE
 
25
 *  
 
26
 *  EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
 
27
 *  NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
 
28
 *  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
29
 *  DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED
 
30
 *  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 
31
 *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 
32
 *  ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
 
33
 *  EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
 
34
 *  POSSIBILITY OF SUCH DAMAGES.
 
35
*/ 
 
36
/* 
 
37
 * HISTORY
 
38
*/ 
 
39
/*   $XConsortium: TravActI.h /main/9 1995/07/13 18:15:46 drk $ */
 
40
/*
 
41
*  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
 
42
#ifndef _XmTravActI_h
 
43
#define _XmTravActI_h
 
44
 
 
45
#include <Xm/XmP.h>
 
46
 
 
47
#ifdef __cplusplus
 
48
extern "C" {
 
49
#endif
 
50
 
 
51
#define XmFOCUS_RESET   1<<0
 
52
#define XmFOCUS_IGNORE  1<<1
 
53
 
 
54
/********    Private Function Declarations    ********/
 
55
 
 
56
extern unsigned short _XmGetFocusFlag(
 
57
                        Widget w,
 
58
                        unsigned int mask) ;
 
59
extern void _XmSetFocusFlag(
 
60
                        Widget w,
 
61
                        unsigned int mask,
 
62
#if NeedWidePrototypes
 
63
                        int value ) ;
 
64
#else
 
65
                        Boolean value ) ;
 
66
#endif /* NeedWidePrototypes */
 
67
extern void _XmTrackShellFocus( 
 
68
                        Widget widget,
 
69
                        XtPointer client_data,
 
70
                        XEvent *event,
 
71
                        Boolean *dontSwallow) ;
 
72
extern void _XmPrimitiveEnter( 
 
73
                        Widget wid,
 
74
                        XEvent *event,
 
75
                        String *params,
 
76
                        Cardinal *num_params) ;
 
77
extern void _XmPrimitiveLeave( 
 
78
                        Widget wid,
 
79
                        XEvent *event,
 
80
                        String *params,
 
81
                        Cardinal *num_params) ;
 
82
extern void _XmPrimitiveUnmap( 
 
83
                        Widget pw,
 
84
                        XEvent *event,
 
85
                        String *params,
 
86
                        Cardinal *num_params) ;
 
87
extern void _XmPrimitiveFocusInInternal( 
 
88
                        Widget wid,
 
89
                        XEvent *event,
 
90
                        String *params,
 
91
                        Cardinal *num_params) ;
 
92
extern void _XmPrimitiveFocusOut( 
 
93
                        Widget wid,
 
94
                        XEvent *event,
 
95
                        String *params,
 
96
                        Cardinal *num_params) ;
 
97
extern void _XmPrimitiveFocusIn( 
 
98
                        Widget pw,
 
99
                        XEvent *event,
 
100
                        String *params,
 
101
                        Cardinal *num_params) ;
 
102
extern void _XmEnterGadget( 
 
103
                        Widget wid,
 
104
                        XEvent *event,
 
105
                        String *params,
 
106
                        Cardinal *num_params) ;
 
107
extern void _XmLeaveGadget( 
 
108
                        Widget wid,
 
109
                        XEvent *event,
 
110
                        String *params,
 
111
                        Cardinal *num_params) ;
 
112
extern void _XmFocusInGadget( 
 
113
                        Widget wid,
 
114
                        XEvent *event,
 
115
                        String *params,
 
116
                        Cardinal *num_params) ;
 
117
extern void _XmFocusOutGadget( 
 
118
                        Widget wid,
 
119
                        XEvent *event,
 
120
                        String *params,
 
121
                        Cardinal *num_params) ;
 
122
extern void _XmManagerEnter( 
 
123
                        Widget wid,
 
124
                        XEvent *event_in,
 
125
                        String *params,
 
126
                        Cardinal *num_params) ;
 
127
extern void _XmManagerLeave( 
 
128
                        Widget wid,
 
129
                        XEvent *event_in,
 
130
                        String *params,
 
131
                        Cardinal *num_params) ;
 
132
extern void _XmManagerFocusInInternal( 
 
133
                        Widget wid,
 
134
                        XEvent *event,
 
135
                        String *params,
 
136
                        Cardinal *num_params) ;
 
137
extern void _XmManagerFocusIn( 
 
138
                        Widget mw,
 
139
                        XEvent *event,
 
140
                        String *params,
 
141
                        Cardinal *num_params) ;
 
142
extern void _XmManagerFocusOut( 
 
143
                        Widget wid,
 
144
                        XEvent *event,
 
145
                        String *params,
 
146
                        Cardinal *num_params) ;
 
147
extern void _XmManagerUnmap( 
 
148
                        Widget mw,
 
149
                        XEvent *event,
 
150
                        String *params,
 
151
                        Cardinal *num_params) ;
 
152
 
 
153
/********    End Private Function Declarations    ********/
 
154
 
 
155
 
 
156
#ifdef __cplusplus
 
157
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
158
#endif
 
159
 
 
160
#endif /* _XmTravActI_h */