Changeset 10316 for trunk/src/user32/dc.h
- Timestamp:
- Nov 12, 2003, 3:13:26 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dc.h
r5685 r10316 1 /* $Id: dc.h,v 1.1 7 2001-05-11 08:39:42sandervl Exp $ */1 /* $Id: dc.h,v 1.18 2003-11-12 14:10:19 sandervl Exp $ */ 2 2 /* 3 3 * public dc functions … … 22 22 BOOL GetOS2UpdateRect(Win32BaseWindow *window,LPRECT pRect); 23 23 24 int WIN32API GetUpdateRgnFrame(HWND hwnd, HRGN hrgn); 25 24 26 #ifdef DEBUG 25 27 void dprintfOrigin(HDC hdc); … … 30 32 #ifdef INCLUDED_BY_DC 31 33 /*********************/ 32 typedef struct33 {34 HDC hdc;35 BOOL fErase;36 RECT rcPaint;37 BOOL fRestore;38 BOOL IncUpdate;39 BYTE rgbReserved[32];40 } PAINTSTRUCT_W, *PPAINTSTRUCT_W, *LPPAINTSTRUCT_W;41 42 #define PS_SOLID_W 0x0000000043 #define PS_DASH_W 0x0000000144 #define PS_DOT_W 0x0000000245 #define PS_DASHDOT_W 0x0000000346 #define PS_DASHDOTDOT_W 0x0000000447 #define PS_NULL_W 0x0000000548 #define PS_INSIDEFRAME_W 0x0000000649 #define PS_USERSTYLE_W 0x0000000750 #define PS_ALTERNATE_W 0x0000000851 #define PS_STYLE_MASK_W 0x0000000f52 53 typedef struct54 {55 UINT lopnStyle;56 POINT lopnWidth;57 ULONG lopnColor;58 } LOGPEN_W, *LPLOGPEN_W;59 60 typedef struct tagEXTLOGPEN61 {62 DWORD elpPenStyle;63 DWORD elpWidth;64 DWORD elpBrushStyle;65 DWORD elpColor;66 DWORD elpNumEntries;67 DWORD elpStyleEntry[1];68 } EXTLOGPEN_W, *PEXTLOGPEN_W, *NPEXTLOGPEN_W, *LPEXTLOGPEN_W;69 70 typedef struct71 {72 UINT lbStyle;73 ULONG lbColor;74 INT lbHatch;75 } LOGBRUSH_W, *LPLOGBRUSH_W;76 34 77 35 typedef struct _penobject … … 90 48 } tPenObject, *pPenObject; 91 49 92 /* DC Graphics Mode */93 #define GM_COMPATIBLE_W 194 #define GM_ADVANCED_W 295 96 #define DCX_WINDOW_W 0x00000001L97 #define DCX_CACHE_W 0x00000002L98 #define DCX_NORESETATTRS_W 0x00000004L99 #define DCX_CLIPCHILDREN_W 0x00000008L100 #define DCX_CLIPSIBLINGS_W 0x00000010L101 #define DCX_PARENTCLIP_W 0x00000020L102 #define DCX_EXCLUDERGN_W 0x00000040L103 #define DCX_INTERSECTRGN_W 0x00000080L104 #define DCX_EXCLUDEUPDATE_W 0x00000100L105 #define DCX_INTERSECTUPDATE_W 0x00000200L106 #define DCX_LOCKWINDOWUPDATE_W 0x00000400L107 #define DCX_USESTYLE_W 0x00010000L108 #define DCX_VALIDATE_W 0x00200000L109 110 #define RDW_INVALIDATE_W 0x0001111 #define RDW_INTERNALPAINT_W 0x0002112 #define RDW_ERASE_W 0x0004113 #define RDW_VALIDATE_W 0x0008114 #define RDW_NOINTERNALPAINT_W 0x0010115 #define RDW_NOERASE_W 0x0020116 #define RDW_NOCHILDREN_W 0x0040117 #define RDW_ALLCHILDREN_W 0x0080118 #define RDW_UPDATENOW_W 0x0100119 #define RDW_ERASENOW_W 0x0200120 #define RDW_FRAME_W 0x0400121 #define RDW_NOFRAME_W 0x0800122 /* Xform FLAGS */123 #define MWT_IDENTITY_W 1124 #define MWT_LEFTMULTIPLY_W 2125 #define MWT_RIGHTMULTIPLY_W 3126 127 /* Mapping Modes */128 #define MM_TEXT_W 1129 #define MM_LOMETRIC_W 2130 #define MM_HIMETRIC_W 3131 #define MM_LOENGLISH_W 4132 #define MM_HIENGLISH_W 5133 #define MM_TWIPS_W 6134 #define MM_ISOTROPIC_W 7135 #define MM_ANISOTROPIC_W 8136 137 #define RGN_OR_W 2138 139 /* Window scrolling */140 #define SW_SCROLLCHILDREN_W 0x0001141 #define SW_INVALIDATE_W 0x0002142 #define SW_ERASE_W 0x0004143 #define SW_SMOOTHSCROLL_W 0x0010144 50 145 51 /*********************/
Note:
See TracChangeset
for help on using the changeset viewer.