OpenWindows Server Programmer's Guide
只搜尋這本書
以 PDF 格式下載這本書

............................Contents


Preface
xv

New Features
xxi

1. Overview of OpenWindows Architecture
1
...Architecture Overview 1
...OPEN LOOK Graphical User Interface 3
...OpenWindows Applications 3
...OpenWindows Application Programmer's Interfaces 4
......OpenWindows Toolkits 4
......Libraries 5
...OPEN LOOK Window Manager 6
...OpenWindows Server 6
...OpenWindows Directory Structure 7

2. Introduction to the OpenWindows Server
11
...Server Architecture 12
......X11R5 Server 12
......MIT X Extensions 13
......DPS Extension 14
...Applications That Run With the Server 14

3. X Features and Enhancements
17
...Overview of the X Window System 17
......X Protocol 18
......The X Library 18
......X Toolkits 19
...X11 Features 19
......X11 Libraries 19
......Supported X11 Applications 20
......Unsupported Applications 21
...ICCCM Compliance 21
...MIT X Extensions Supported 21
......How To Access MIT X11 Extension Standards 22
......XInput Extension 22
......MBX (Multi-Buffering) Extension 22
......SHAPE Extension 23
......MIT-SHM (Shared Memory) Extension 23
......XTEST Extension 23
......MIT-SUNDRY-NONSTANDARD 23
...Notes on X11 Programming 24
......Compose Key Support 24
......Color Name Database 24
......Color Recommendations 24

4. DPS Features and Enhancements
27
...Introduction to the DPS System 27
...How Applications Use the DPS System 28
...DPS Extension to X 28
...DPS Font Enhancements 30
...DPS Libraries 31
......Adobe NX Agent Support 31
...Applications Modified to use DPS 31
...DPS Security Issues 32
......System File Access 32
......Secure Context Creation 32
...How to Access Information From Adobe 33
...When DPS Encounters Internal Errors 34

5. Font Support
35
...Font Formats 35
...Outline and Bitmap Fonts 36
...Replacing Outline Fonts with Bitmap Fonts 37
......When Replacement Occurs 37
...Using F3 Fonts in DPS 38
...Locating Fonts 38
......Font Directory Structure 38
......Changing the Default Font Path in X11 39
......Changing the Resource Path in DPS 40
......Font File Suffixes 42
...Adding New Fonts 43
......Adding Bitmap Fonts 43
......Adding Outline Fonts 44
...Using OPEN LOOK Fonts on X Terminals 47

6. Visuals and Display Devices
49
...Display Devices 49
......Reference Display Devices 49
..........SPARC Supported Reference Devices 49
..........x86 Supported Reference Devices 50
......IHV Display Devices 50
...Visuals 50
......Multiple Depth Devices 50
......Default Visual 51
...Reference Devices and Visuals 51
......Reference Devices 51
......SPARC Device-Specific Information 52
......x86 Device-Specific Information 54
...The Default Visual 55
......Changing the Screen Default Visual 55
..........SPARC Example 56
..........x86 Example 57
...Hints for Windows Programming With Visuals 57
......Default Visual Assumptions 57
...Multiple Hardware Colormaps 58
......Colormap Installation-Multiple LUT Devices 58
...Colormap Demo 58
...Gamma-Corrected Visuals 59

7. Visual Overlay Windows
65
...Basic Features of Overlay Windows 65
......Definition 65
......Creating an Overlay Window 66
......Overlay Window Viewability 67
......Rendering Transparency 67
...Advanced Features of Overlay Windows 67
......Overlay Window Background 67
......Overlay Window Border 68
......Overlay Window Backing Store 69
......Overlay Window Gravity 69
......Overlay Colormap 69
......Other Overlay Window Characteristics 69
......Input Distribution Model 70
......Print Capture 71
......Choosing Visuals 72
......Interaction with Other Extensions 73
...Xlib Interface 73
......XSolarisOvlPaintType 74
......XSolarisOvlCreateWindow 74
......XSolarisOvlIsOverlayWindow 75
......XSolarisOvlSetPaintType 76
......XSolarisOvlGetPaintType 77
......XSolarisOvlSetWindowTransparent 78
......XSolarisOvlCopyPaintType 79
......XSolarisOvlCopyAreaAndPaintType 81
......XReadScreen 86
...Semantics of Existing Primitive Rendering Routines 88
...Semantics of Existing Pixel Transfer Routine 89
......XGetImage 89
......XCopyArea and XCopyPlane 89
...Portability Inquiry Routines 89
......XSolarisOvlSelectPartner 89
......XSolarisOvlSelectPair 96
...Summary of New XLib Routines 99

8. Security Issues
101
...Access Control Mechanisms 102
......User-Based 102
......Host-Based 102
...Authorization Protocols 103
......MIT-MAGIC-COOKIE-1 103
......SUN-DES-1 103
......Changing the Default Authorization Protocol 104
...Manipulating Access to the Server 105
......Client Authority File 106
......Allowing Access When Using MIT-MAGIC-COOKIE-1 107
......Allowing Access When Using SUN-DES-1 107
...Running Clients Remotely, or Locally as Another User 108

A. Multi-Buffering Application Program Interface, Version 3.2
109
...Library File 109
...Header File 110
...New Routines 110
...New Types 110
...New Constants 110
...New Structures 112
...MBX Functions 113

Glossary
129

Index
135