Changeset 2940 for trunk/include
- Timestamp:
- Feb 29, 2000, 1:55:09 AM (26 years ago)
- Location:
- trunk/include/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/windef.h
r2694 r2940 1 /* $Id: windef.h,v 1.2 0 2000-02-09 13:40:23sandervl Exp $ */1 /* $Id: windef.h,v 1.21 2000-02-29 00:55:09 sandervl Exp $ */ 2 2 3 3 /* … … 316 316 DECLARE_HANDLE(HCURSOR); 317 317 DECLARE_HANDLE(HDC); 318 DECLARE_HANDLE(HGLRC); // OpenGL 318 319 DECLARE_HANDLE(HDROP); 319 320 DECLARE_HANDLE(HDRVR); -
trunk/include/win/wingdi.h
r2567 r2940 1 /* $Id: wingdi.h,v 1.1 1 2000-01-29 17:37:20 phallerExp $ */1 /* $Id: wingdi.h,v 1.12 2000-02-29 00:55:09 sandervl Exp $ */ 2 2 3 3 #ifndef __WINE_WINGDI_H … … 9 9 extern "C" { 10 10 #endif 11 12 #define WINGDIAPI 11 13 12 14 #define _WINGDI_ … … 68 70 DWORD dwDamageMask; 69 71 } PIXELFORMATDESCRIPTOR, *LPPIXELFORMATDESCRIPTOR; 72 73 #define PFD_TYPE_RGBA 0 74 #define PFD_TYPE_COLORINDEX 1 75 76 #define PFD_MAIN_PLANE 0 77 #define PFD_OVERLAY_PLANE 1 78 #define PFD_UNDERLAY_PLANE (-1) 79 80 #define PFD_DOUBLEBUFFER 0x00000001 81 #define PFD_STEREO 0x00000002 82 #define PFD_DRAW_TO_WINDOW 0x00000004 83 #define PFD_DRAW_TO_BITMAP 0x00000008 84 #define PFD_SUPPORT_GDI 0x00000010 85 #define PFD_SUPPORT_OPENGL 0x00000020 86 #define PFD_GENERIC_FORMAT 0x00000040 87 #define PFD_NEED_PALETTE 0x00000080 88 #define PFD_NEED_SYSTEM_PALETTE 0x00000100 89 #define PFD_SWAP_EXCHANGE 0x00000200 90 #define PFD_SWAP_COPY 0x00000400 91 #define PFD_SWAP_LAYER_BUFFERS 0x00000800 92 #define PFD_GENERIC_ACCELERATED 0x00001000 93 94 #define PFD_DEPTH_DONTCARE 0x20000000 95 #define PFD_DOUBLEBUFFER_DONTCARE 0x40000000 96 #define PFD_STEREO_DONTCARE 0x80000000 70 97 71 98 typedef struct tagCOLORADJUSTMENT … … 2639 2666 typedef BOOL (* CALLBACK ABORTPROC)(HDC, INT); 2640 2667 2668 typedef struct _POINTFLOAT { 2669 FLOAT x; 2670 FLOAT y; 2671 } POINTFLOAT, *PPOINTFLOAT; 2672 2673 typedef struct _GLYPHMETRICSFLOAT { 2674 FLOAT gmfBlackBoxX; 2675 FLOAT gmfBlackBoxY; 2676 POINTFLOAT gmfptGlyphOrigin; 2677 FLOAT gmfCellIncX; 2678 FLOAT gmfCellIncY; 2679 } GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT; 2680 2681 #define WGL_FONT_LINES 0 2682 #define WGL_FONT_POLYGONS 1 2683 2684 // Layer plane descriptor 2685 typedef struct tagLAYERPLANEDESCRIPTOR { 2686 WORD nSize; 2687 WORD nVersion; 2688 DWORD dwFlags; 2689 BYTE iPixelType; 2690 BYTE cColorBits; 2691 BYTE cRedBits; 2692 BYTE cRedShift; 2693 BYTE cGreenBits; 2694 BYTE cGreenShift; 2695 BYTE cBlueBits; 2696 BYTE cBlueShift; 2697 BYTE cAlphaBits; 2698 BYTE cAlphaShift; 2699 BYTE cAccumBits; 2700 BYTE cAccumRedBits; 2701 BYTE cAccumGreenBits; 2702 BYTE cAccumBlueBits; 2703 BYTE cAccumAlphaBits; 2704 BYTE cDepthBits; 2705 BYTE cStencilBits; 2706 BYTE cAuxBuffers; 2707 BYTE iLayerPlane; 2708 BYTE bReserved; 2709 COLORREF crTransparent; 2710 } LAYERPLANEDESCRIPTOR, *PLAYERPLANEDESCRIPTOR, *LPLAYERPLANEDESCRIPTOR; 2711 2712 // LAYERPLANEDESCRIPTOR flags 2713 #define LPD_DOUBLEBUFFER 0x00000001 2714 #define LPD_STEREO 0x00000002 2715 #define LPD_SUPPORT_GDI 0x00000010 2716 #define LPD_SUPPORT_OPENGL 0x00000020 2717 #define LPD_SHARE_DEPTH 0x00000040 2718 #define LPD_SHARE_STENCIL 0x00000080 2719 #define LPD_SHARE_ACCUM 0x00000100 2720 #define LPD_SWAP_EXCHANGE 0x00000200 2721 #define LPD_SWAP_COPY 0x00000400 2722 #define LPD_TRANSPARENT 0x00001000 2723 2724 #define LPD_TYPE_RGBA 0 2725 #define LPD_TYPE_COLORINDEX 1 2726 2727 // wglSwapLayerBuffers flags 2728 #define WGL_SWAP_MAIN_PLANE 0x00000001 2729 #define WGL_SWAP_OVERLAY1 0x00000002 2730 #define WGL_SWAP_OVERLAY2 0x00000004 2731 #define WGL_SWAP_OVERLAY3 0x00000008 2732 #define WGL_SWAP_OVERLAY4 0x00000010 2733 #define WGL_SWAP_OVERLAY5 0x00000020 2734 #define WGL_SWAP_OVERLAY6 0x00000040 2735 #define WGL_SWAP_OVERLAY7 0x00000080 2736 #define WGL_SWAP_OVERLAY8 0x00000100 2737 #define WGL_SWAP_OVERLAY9 0x00000200 2738 #define WGL_SWAP_OVERLAY10 0x00000400 2739 #define WGL_SWAP_OVERLAY11 0x00000800 2740 #define WGL_SWAP_OVERLAY12 0x00001000 2741 #define WGL_SWAP_OVERLAY13 0x00002000 2742 #define WGL_SWAP_OVERLAY14 0x00004000 2743 #define WGL_SWAP_OVERLAY15 0x00008000 2744 #define WGL_SWAP_UNDERLAY1 0x00010000 2745 #define WGL_SWAP_UNDERLAY2 0x00020000 2746 #define WGL_SWAP_UNDERLAY3 0x00040000 2747 #define WGL_SWAP_UNDERLAY4 0x00080000 2748 #define WGL_SWAP_UNDERLAY5 0x00100000 2749 #define WGL_SWAP_UNDERLAY6 0x00200000 2750 #define WGL_SWAP_UNDERLAY7 0x00400000 2751 #define WGL_SWAP_UNDERLAY8 0x00800000 2752 #define WGL_SWAP_UNDERLAY9 0x01000000 2753 #define WGL_SWAP_UNDERLAY10 0x02000000 2754 #define WGL_SWAP_UNDERLAY11 0x04000000 2755 #define WGL_SWAP_UNDERLAY12 0x08000000 2756 #define WGL_SWAP_UNDERLAY13 0x10000000 2757 #define WGL_SWAP_UNDERLAY14 0x20000000 2758 #define WGL_SWAP_UNDERLAY15 0x40000000 2759 2641 2760 #include "poppack.h" 2642 2761 … … 2991 3110 #define EnumICMProfiles WINELIB_NAME_AW(EnumICMProfiles) 2992 3111 3112 3113 // OpenGL wgl prototypes 3114 3115 BOOL WINAPI wglCopyContext(HGLRC, HGLRC, UINT); 3116 HGLRC WINAPI wglCreateContext(HDC); 3117 HGLRC WINAPI wglCreateLayerContext(HDC, int); 3118 BOOL WINAPI wglDeleteContext(HGLRC); 3119 HGLRC WINAPI wglGetCurrentContext(VOID); 3120 HDC WINAPI wglGetCurrentDC(VOID); 3121 PROC WINAPI wglGetProcAddress(LPCSTR); 3122 BOOL WINAPI wglMakeCurrent(HDC, HGLRC); 3123 BOOL WINAPI wglShareLists(HGLRC, HGLRC); 3124 BOOL WINAPI wglUseFontBitmapsA(HDC, DWORD, DWORD, DWORD); 3125 BOOL WINAPI wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD); 3126 #define wglUseFontBitmaps WINELIB_NAME_AW(wglUseFontBitmaps) 3127 3128 3129 BOOL WINAPI wglDescribeLayerPlane(HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR); 3130 int WINAPI wglSetLayerPaletteEntries(HDC, int, int, int, CONST COLORREF *); 3131 int WINAPI wglGetLayerPaletteEntries(HDC, int, int, int, COLORREF *); 3132 BOOL WINAPI wglRealizeLayerPalette(HDC, int, BOOL); 3133 BOOL WINAPI wglSwapLayerBuffers(HDC, UINT); 3134 BOOL WINAPI wglUseFontOutlinesA(HDC, DWORD, DWORD, DWORD, FLOAT, 3135 FLOAT, int, LPGLYPHMETRICSFLOAT); 3136 BOOL WINAPI wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT, 3137 FLOAT, int, LPGLYPHMETRICSFLOAT); 3138 3139 #define wglUseFontOutlines WINELIB_NAME_AW(wglUseFontOutlines) 3140 2993 3141 #ifdef __cplusplus 2994 3142 }
Note:
See TracChangeset
for help on using the changeset viewer.