VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/cfb8_16.h

Last change on this file was 51223, checked in by vboxsync, 11 years ago

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

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_16bpp/cfb8_16.h,v 1.1 1999/01/31 12:22:16 dawes Exp $ */
2
3#ifndef _CFB8_16_H
4#define _CFB8_16_H
5
6#include "regionstr.h"
7#include "windowstr.h"
8
9typedef struct {
10 pointer pix8;
11 int width8;
12 pointer pix16;
13 int width16;
14 unsigned char key;
15} cfb8_16ScreenRec, *cfb8_16ScreenPtr;
16
17extern int cfb8_16ScreenPrivateIndex; /* XXX */
18extern int cfb8_16GetScreenPrivateIndex(void);
19
20Bool
21cfb8_16ScreenInit (
22 ScreenPtr pScreen,
23 pointer pbits16,
24 pointer pbits8,
25 int xsize, int ysize,
26 int dpix, int dpiy,
27 int width16,
28 int width8
29);
30
31void
32cfb8_16PaintWindow (
33 WindowPtr pWin,
34 RegionPtr pRegion,
35 int what
36);
37
38Bool cfb8_16CreateWindow(WindowPtr pWin);
39Bool cfb8_16DestroyWindow(WindowPtr pWin);
40
41Bool
42cfb8_16PositionWindow(
43 WindowPtr pWin,
44 int x, int y
45);
46
47void
48cfb8_16CopyWindow(
49 WindowPtr pWin,
50 DDXPointRec ptOldOrg,
51 RegionPtr prgnSrc
52);
53
54Bool
55cfb8_16ChangeWindowAttributes(
56 WindowPtr pWin,
57 unsigned long mask
58);
59
60void
61cfb8_16WindowExposures(
62 WindowPtr pWin,
63 RegionPtr pReg,
64 RegionPtr pOtherReg
65);
66
67#define CFB8_16_GET_SCREEN_PRIVATE(pScreen)\
68 (cfb8_16ScreenPtr)((pScreen)->devPrivates[cfb8_16GetScreenPrivateIndex()].ptr)
69
70#endif /* _CFB8_16_H */
Note: See TracBrowser for help on using the repository browser.

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