Changeset 39

Show
Ignore:
Timestamp:
01/20/08 13:24:00 (11 months ago)
Author:
cinc
Message:

Use default window color in info area instead of white when no presentation parameters are set.

Location:
trunk/helper
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/helper/folderinfownd.c

    r16 r39  
     1/* 
     2  (c) Chris Wohlgemuth 1996/2008 
     3 
     4  This file is copyrighted. 
     5 
     6  For licensing contact cinc-ml@netlabs.org 
     7 
     8  No use or copying without prior permission. 
     9*/ 
     10 
    111#define INCL_WINWORKPLACE 
    212#define INCL_WIN 
     
    6777              ULONG fl=0; 
    6878              BOOL rc; 
    69               PPAINTCTXT pPaintCtxt; 
    7079 
    7180#if 0 
     81              PPAINTCTXT pPaintCtxt_; 
    7282              if(!CWThemeMgrObject) 
    7383                break; 
     
    8898              oi.idItem=CMA_ICON; 
    8999              oi.hItem=(ULONG)&cdii; 
    90                             
     100      
     101              /* The draw emphasis call is only to get the paintcontext filled with the 
     102               background color. May go away when cairo 1.4.7 is used. */ 
    91103              rc=_wizDrawIconEmphasis(pWCtlData->wpObject, &oi, 30, fl); 
    92104              rc=_wizDrawIcon(pWCtlData->wpObject, &oi, 30, fl); 
     
    154166        } 
    155167        else 
    156           WinFillRect(hps, &rcl, 0x00FFFFFF); 
     168          WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 
    157169         
    158170        /* Paint preview here */ 
     
    227239          lBg=(bg.bRed<<16)+(bg.bGreen<<8) + bg.bBlue; 
    228240          /* Set it */ 
    229           //HlpWriteToTrapLog("0x%x %x %x %x %d\n", lBg, bg.bRed, bg.bGreen, bg.bBlue, attrFound); 
    230241          WinFillRect(hps, &rcl, (LONG) lBg); 
    231242        } 
    232243        else 
    233           WinFillRect(hps, &rcl, 0x00FFFFFF); 
     244          WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 
    234245 
    235246        drawIcon(hwnd, hps, rcl); 
  • trunk/helper/ft2lib-htmlwnd.c

    r16 r39  
     1/* 
     2  (c) Chris Wohlgemuth 1996/2008 
     3 
     4  This file is copyrighted. 
     5 
     6  For licensing contact cinc-ml@netlabs.org 
     7 
     8  No use without prior permission. 
     9*/ 
     10 
    111#define INCL_WINWORKPLACE 
    212#define INCL_WIN 
     
    16191629#endif 
    16201630        else 
    1621           WinFillRect(hps, &rcl, 0x00FFFFFF); 
     1631          WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 
    16221632 
    16231633        drawItNow(hwnd, hps, &rcl, 0, 0); 
  • trunk/helper/htmlwnd.c

    r16 r39  
    16161616#endif 
    16171617        else 
    1618           WinFillRect(hps, &rcl, 0x00FFFFFF); 
     1618          WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 
    16191619         
    16201620        drawItNow(hwnd, hps, &rcl, 0, 0);