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

« back to all changes in this revision

Viewing changes to lib/Xm/PrintSP.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: PrintSP.h /main/8 1996/10/11 10:31:32 drk $ */
 
2
/*
 
3
 * (c) Copyright 1996 Digital Equipment Corporation.
 
4
 * (c) Copyright 1996 Hewlett-Packard Company.
 
5
 * (c) Copyright 1996 International Business Machines Corp.
 
6
 * (c) Copyright 1996 Sun Microsystems, Inc.
 
7
 * (c) Copyright 1996 Novell, Inc. 
 
8
 * (c) Copyright 1996 FUJITSU LIMITED.
 
9
 * (c) Copyright 1996 Hitachi.
 
10
 */
 
11
#ifndef _XmPrintShellP_h
 
12
#define _XmPrintShellP_h
 
13
 
 
14
#include <Xm/XmP.h>
 
15
#include <X11/ShellP.h>
 
16
#include <Xm/Print.h>
 
17
 
 
18
 
 
19
#ifdef __cplusplus
 
20
extern "C" {
 
21
#endif
 
22
 
 
23
/* 
 
24
 * we make it a appShell subclass so it can have it's own instance
 
25
 * hierarchy
 
26
 */
 
27
 
 
28
typedef struct {
 
29
    XmSyntheticResource * syn_resources;   
 
30
    int                   num_syn_resources;   
 
31
    XtPointer             extension;
 
32
} XmPrintShellClassPart;
 
33
 
 
34
typedef struct _XmPrintShellClassRec{
 
35
    CoreClassPart               core_class;
 
36
    CompositeClassPart          composite_class;
 
37
    ShellClassPart              shell_class;
 
38
    WMShellClassPart            wm_shell_class;
 
39
    VendorShellClassPart        vendor_shell_class;
 
40
    TopLevelShellClassPart      top_level_shell_class;
 
41
    ApplicationShellClassPart   application_shell_class;
 
42
    XmPrintShellClassPart       print_shell_class;
 
43
} XmPrintShellClassRec;
 
44
 
 
45
 
 
46
typedef struct {
 
47
    Boolean          xp_connected ;
 
48
    Boolean          last_page ;
 
49
    unsigned short   print_resolution ;
 
50
    Position         min_x, min_y, max_x, max_y ;
 
51
    unsigned short   default_pixmap_resolution ;
 
52
    XtCallbackList   start_job_callback;
 
53
    XtCallbackList   end_job_callback;
 
54
    XtCallbackList   page_setup_callback;
 
55
    XtCallbackList   pdm_notification_callback ;
 
56
} XmPrintShellPart, *XmPrintShellPartPtr;
 
57
 
 
58
 
 
59
typedef struct _XmPrintShellRec{
 
60
    CorePart            core;
 
61
    CompositePart       composite;
 
62
    ShellPart           shell;
 
63
    WMShellPart         wm;
 
64
    VendorShellPart     vendor;
 
65
    TopLevelShellPart   topLevel;
 
66
    ApplicationShellPart application;
 
67
    XmPrintShellPart     print;
 
68
} XmPrintShellRec;
 
69
 
 
70
externalref XmPrintShellClassRec        xmPrintShellClassRec;
 
71
 
 
72
#ifdef __cplusplus
 
73
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
74
#endif
 
75
 
 
76
#endif /* _XmPrintShellP_h */
 
77
/* DON'T ADD STUFF AFTER THIS #endif */
 
78