VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/cfb8_32wid.h@ 61386

最後變更 在這個檔案從61386是 51223,由 vboxsync 提交於 11 年 前

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.7 KB
 
1/* $XFree86$ */
2
3#ifndef _CFB8_32WID_H
4#define _CFB8_32WID_H
5
6#include "regionstr.h"
7#include "windowstr.h"
8
9typedef struct {
10 unsigned int (*WidGet)(WindowPtr);
11 Bool (*WidAlloc)(WindowPtr);
12 void (*WidFree)(WindowPtr);
13 void (*WidFillBox)(DrawablePtr, DrawablePtr, int, BoxPtr);
14 void (*WidCopyArea)(DrawablePtr, RegionPtr, DDXPointPtr);
15} cfb8_32WidOps;
16
17typedef struct {
18 pointer pix8;
19 int width8;
20 pointer pix32;
21 int width32;
22
23 /* WID information */
24 pointer pixWid;
25 int widthWid;
26 int bitsPerWid;
27 cfb8_32WidOps *WIDOps;
28} cfb8_32WidScreenRec, *cfb8_32WidScreenPtr;
29
30extern int cfb8_32WidScreenPrivateIndex; /* XXX */
31extern int cfb8_32WidGetScreenPrivateIndex(void);
32
33Bool
34cfb8_32WidScreenInit (
35 ScreenPtr pScreen,
36 pointer pbits32,
37 pointer pbits8,
38 pointer pbitsWid,
39 int xsize, int ysize,
40 int dpix, int dpiy,
41 int width32,
42 int width8,
43 int widthWid,
44 int bitsPerWid,
45 cfb8_32WidOps *WIDOps
46);
47
48/* cfbwindow.c */
49
50void
51cfb8_32WidPaintWindow (
52 WindowPtr pWin,
53 RegionPtr pRegion,
54 int what
55);
56
57Bool cfb8_32WidCreateWindow(WindowPtr pWin);
58Bool cfb8_32WidDestroyWindow(WindowPtr pWin);
59
60Bool
61cfb8_32WidPositionWindow(
62 WindowPtr pWin,
63 int x, int y
64);
65
66void
67cfb8_32WidCopyWindow(
68 WindowPtr pWin,
69 DDXPointRec ptOldOrg,
70 RegionPtr prgnSrc
71);
72
73Bool
74cfb8_32WidChangeWindowAttributes(
75 WindowPtr pWin,
76 unsigned long mask
77);
78
79void
80cfb8_32WidWindowExposures(
81 WindowPtr pWin,
82 RegionPtr pReg,
83 RegionPtr pOtherReg
84);
85
86/* cfbwid.c */
87
88Bool
89cfb8_32WidGenericOpsInit(cfb8_32WidScreenPtr pScreenPriv);
90
91#define CFB8_32WID_GET_SCREEN_PRIVATE(pScreen)\
92 (cfb8_32WidScreenPtr)((pScreen)->devPrivates[cfb8_32WidGetScreenPrivateIndex()].ptr)
93
94#endif /* _CFB8_32WID_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette