Ignore:
Timestamp:
Feb 22, 2000, 6:07:43 PM (26 years ago)
Author:
cbratschi
Message:

WS_EX_CONTEXTHELP, activated some WINE code

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 sandervl Exp $ */
     1/* $Id: text.cpp,v 1.8 2000-02-22 17:07:40 cbratschi Exp $ */
    22
    33/*
     
    66 * Copyright 1999 Christoph Bratschi
    77 *
    8  * Copyright 1997 Bertho A. Stultiens
    98 * Copyright 1993, 1994 Alexandre Julliard
    109 *
     
    1413#include "winuser.h"
    1514#include "user32.h"
     15#include "syscolor.h"
    1616
    17 #define DBG_LOCALLOG    DBG_text
     17#define DBG_LOCALLOG    DBG_text
    1818#include "dbglocal.h"
    1919
    2020//WINE parts: wine-991031
    21 
    22 static const WORD wPattern55AA[] =
    23 {
    24     0x5555, 0xaaaa, 0x5555, 0xaaaa,
    25     0x5555, 0xaaaa, 0x5555, 0xaaaa
    26 };
    27 
    28 static HBRUSH  hPattern55AABrush = 0;
    29 static HBITMAP hPattern55AABitmap = 0;
    30 
    31 /*********************************************************************
    32  *      CACHE_GetPattern55AABitmap
    33  */
    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_GetPattern55AABrush
    43  */
    44 HBRUSH CACHE_GetPattern55AABrush(void)
    45 {
    46     if (!hPattern55AABrush)
    47         hPattern55AABrush = CreatePatternBrush(CACHE_GetPattern55AABitmap());
    48     return hPattern55AABrush;
    49 }
    5021
    5122INT WIN32API DrawTextA(HDC hDC,LPCSTR lpString,INT nCount,PRECT lpRect,UINT nFormat)
     
    5627
    5728  if(nFormat == 0x828) {
    58         bla = 1;
     29        bla = 1;
    5930  }
    6031  return InternalDrawTextExA(hDC,lpString,nCount,lpRect,nFormat,NULL,FALSE);
Note: See TracChangeset for help on using the changeset viewer.