Ignore:
Timestamp:
Nov 12, 2003, 3:13:26 PM (22 years ago)
Author:
sandervl
Message:

Visible & Clip region changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/dc.h

    r5685 r10316  
    1 /* $Id: dc.h,v 1.17 2001-05-11 08:39:42 sandervl Exp $ */
     1/* $Id: dc.h,v 1.18 2003-11-12 14:10:19 sandervl Exp $ */
    22/*
    33 * public dc functions
     
    2222BOOL GetOS2UpdateRect(Win32BaseWindow *window,LPRECT pRect);
    2323
     24int WIN32API GetUpdateRgnFrame(HWND hwnd, HRGN hrgn);
     25
    2426#ifdef DEBUG
    2527void dprintfOrigin(HDC hdc);
     
    3032#ifdef INCLUDED_BY_DC
    3133/*********************/
    32 typedef struct
    33 {
    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         0x00000000
    43 #define PS_DASH_W          0x00000001
    44 #define PS_DOT_W           0x00000002
    45 #define PS_DASHDOT_W       0x00000003
    46 #define PS_DASHDOTDOT_W    0x00000004
    47 #define PS_NULL_W          0x00000005
    48 #define PS_INSIDEFRAME_W   0x00000006
    49 #define PS_USERSTYLE_W     0x00000007
    50 #define PS_ALTERNATE_W     0x00000008
    51 #define PS_STYLE_MASK_W    0x0000000f
    52 
    53 typedef struct
    54 {
    55     UINT   lopnStyle;
    56     POINT  lopnWidth;
    57     ULONG  lopnColor;
    58 } LOGPEN_W, *LPLOGPEN_W;
    59 
    60 typedef struct tagEXTLOGPEN
    61 {
    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 struct
    71 {
    72     UINT   lbStyle;
    73     ULONG  lbColor;
    74     INT    lbHatch;
    75 } LOGBRUSH_W, *LPLOGBRUSH_W;
    7634
    7735typedef struct _penobject
     
    9048} tPenObject, *pPenObject;
    9149
    92 /* DC Graphics Mode */
    93 #define GM_COMPATIBLE_W     1
    94 #define GM_ADVANCED_W       2
    95 
    96 #define DCX_WINDOW_W                    0x00000001L
    97 #define DCX_CACHE_W                     0x00000002L
    98 #define DCX_NORESETATTRS_W              0x00000004L
    99 #define DCX_CLIPCHILDREN_W              0x00000008L
    100 #define DCX_CLIPSIBLINGS_W              0x00000010L
    101 #define DCX_PARENTCLIP_W                0x00000020L
    102 #define DCX_EXCLUDERGN_W                0x00000040L
    103 #define DCX_INTERSECTRGN_W              0x00000080L
    104 #define DCX_EXCLUDEUPDATE_W             0x00000100L
    105 #define DCX_INTERSECTUPDATE_W           0x00000200L
    106 #define DCX_LOCKWINDOWUPDATE_W          0x00000400L
    107 #define DCX_USESTYLE_W                  0x00010000L
    108 #define DCX_VALIDATE_W                  0x00200000L
    109 
    110 #define RDW_INVALIDATE_W       0x0001
    111 #define RDW_INTERNALPAINT_W    0x0002
    112 #define RDW_ERASE_W            0x0004
    113 #define RDW_VALIDATE_W         0x0008
    114 #define RDW_NOINTERNALPAINT_W  0x0010
    115 #define RDW_NOERASE_W          0x0020
    116 #define RDW_NOCHILDREN_W       0x0040
    117 #define RDW_ALLCHILDREN_W      0x0080
    118 #define RDW_UPDATENOW_W        0x0100
    119 #define RDW_ERASENOW_W         0x0200
    120 #define RDW_FRAME_W            0x0400
    121 #define RDW_NOFRAME_W          0x0800
    122 /* Xform FLAGS */
    123 #define MWT_IDENTITY_W        1
    124 #define MWT_LEFTMULTIPLY_W    2
    125 #define MWT_RIGHTMULTIPLY_W   3
    126 
    127 /* Mapping Modes */
    128 #define MM_TEXT_W             1
    129 #define MM_LOMETRIC_W         2
    130 #define MM_HIMETRIC_W         3
    131 #define MM_LOENGLISH_W        4
    132 #define MM_HIENGLISH_W        5
    133 #define MM_TWIPS_W            6
    134 #define MM_ISOTROPIC_W        7
    135 #define MM_ANISOTROPIC_W      8
    136 
    137 #define RGN_OR_W              2
    138 
    139 /* Window scrolling */
    140 #define SW_SCROLLCHILDREN_W    0x0001
    141 #define SW_INVALIDATE_W        0x0002
    142 #define SW_ERASE_W             0x0004
    143 #define SW_SMOOTHSCROLL_W      0x0010
    14450
    14551/*********************/
Note: See TracChangeset for help on using the changeset viewer.