Ignore:
Timestamp:
Jan 12, 2000, 6:37:29 PM (26 years ago)
Author:
cbratschi
Message:

fixed WM_CALCVALIDRECTS, added region for WM_NCPAINT

File:
1 edited

Legend:

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

    r2290 r2421  
    1 /* $Id: dc.h,v 1.3 2000-01-01 14:54:51 cbratschi Exp $ */
     1/* $Id: dc.h,v 1.4 2000-01-12 17:37:29 cbratschi Exp $ */
    22/*
    33 * public dc functions
     
    343343
    344344    return yyrc;
    345 } 
     345}
    346346
    347347BOOL OPEN32API _O32_CreateCaret (HWND hwnd, HBITMAP hbm, int width, int height);
     
    353353
    354354    yyrc = _O32_CreateCaret(a, b, c, d);
     355    SetFS(sel);
     356
     357    return yyrc;
     358}
     359
     360BOOL OPEN32API _O32_SelectClipRgn(HDC hdc,HRGN hrgn);
     361
     362inline BOOL O32_SelectClipRgn(HDC hdc,HRGN hrgn)
     363{
     364 BOOL yyrc;
     365 USHORT sel = RestoreOS2FS();
     366
     367    yyrc = _O32_SelectClipRgn(hdc,hrgn);
    355368    SetFS(sel);
    356369
     
    426439   // from pmddi.h:
    427440   /* CopyClipRegion */
    428    
     441
    429442   #define COPYCRGN_ALLINTERSECT        0L
    430443   #define COPYCRGN_VISRGN              1L
     
    432445
    433446   /* SetupDC */
    434    
     447
    435448   #define SETUPDC_VISRGN               0x00000001L
    436449   #define SETUPDC_ORIGIN               0x00000002L
Note: See TracChangeset for help on using the changeset viewer.