Changeset 2857 for trunk/src/user32/text.cpp
- Timestamp:
- Feb 22, 2000, 6:07:43 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/text.cpp
r2804 r2857 1 /* $Id: text.cpp,v 1. 7 2000-02-16 14:34:35 sandervlExp $ */1 /* $Id: text.cpp,v 1.8 2000-02-22 17:07:40 cbratschi Exp $ */ 2 2 3 3 /* … … 6 6 * Copyright 1999 Christoph Bratschi 7 7 * 8 * Copyright 1997 Bertho A. Stultiens9 8 * Copyright 1993, 1994 Alexandre Julliard 10 9 * … … 14 13 #include "winuser.h" 15 14 #include "user32.h" 15 #include "syscolor.h" 16 16 17 #define DBG_LOCALLOG 17 #define DBG_LOCALLOG DBG_text 18 18 #include "dbglocal.h" 19 19 20 20 //WINE parts: wine-991031 21 22 static const WORD wPattern55AA[] =23 {24 0x5555, 0xaaaa, 0x5555, 0xaaaa,25 0x5555, 0xaaaa, 0x5555, 0xaaaa26 };27 28 static HBRUSH hPattern55AABrush = 0;29 static HBITMAP hPattern55AABitmap = 0;30 31 /*********************************************************************32 * CACHE_GetPattern55AABitmap33 */34 HBITMAP CACHE_GetPattern55AABitmap(void)35 {36 if (!hPattern55AABitmap)37 hPattern55AABitmap = CreateBitmap( 8, 8, 1, 1, wPattern55AA );38 return hPattern55AABitmap;39 }40 41 /*********************************************************************42 * CACHE_GetPattern55AABrush43 */44 HBRUSH CACHE_GetPattern55AABrush(void)45 {46 if (!hPattern55AABrush)47 hPattern55AABrush = CreatePatternBrush(CACHE_GetPattern55AABitmap());48 return hPattern55AABrush;49 }50 21 51 22 INT WIN32API DrawTextA(HDC hDC,LPCSTR lpString,INT nCount,PRECT lpRect,UINT nFormat) … … 56 27 57 28 if(nFormat == 0x828) { 58 29 bla = 1; 59 30 } 60 31 return InternalDrawTextExA(hDC,lpString,nCount,lpRect,nFormat,NULL,FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.