Changeset 39
- Timestamp:
- 01/20/08 13:24:00 (11 months ago)
- Location:
- trunk/helper
- Files:
-
- 3 modified
-
folderinfownd.c (modified) (5 diffs)
-
ft2lib-htmlwnd.c (modified) (2 diffs)
-
htmlwnd.c (modified) (1 diff)
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 1 11 #define INCL_WINWORKPLACE 2 12 #define INCL_WIN … … 67 77 ULONG fl=0; 68 78 BOOL rc; 69 PPAINTCTXT pPaintCtxt;70 79 71 80 #if 0 81 PPAINTCTXT pPaintCtxt_; 72 82 if(!CWThemeMgrObject) 73 83 break; … … 88 98 oi.idItem=CMA_ICON; 89 99 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. */ 91 103 rc=_wizDrawIconEmphasis(pWCtlData->wpObject, &oi, 30, fl); 92 104 rc=_wizDrawIcon(pWCtlData->wpObject, &oi, 30, fl); … … 154 166 } 155 167 else 156 WinFillRect(hps, &rcl, 0x00FFFFFF);168 WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 157 169 158 170 /* Paint preview here */ … … 227 239 lBg=(bg.bRed<<16)+(bg.bGreen<<8) + bg.bBlue; 228 240 /* Set it */ 229 //HlpWriteToTrapLog("0x%x %x %x %x %d\n", lBg, bg.bRed, bg.bGreen, bg.bBlue, attrFound);230 241 WinFillRect(hps, &rcl, (LONG) lBg); 231 242 } 232 243 else 233 WinFillRect(hps, &rcl, 0x00FFFFFF);244 WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 234 245 235 246 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 1 11 #define INCL_WINWORKPLACE 2 12 #define INCL_WIN … … 1619 1629 #endif 1620 1630 else 1621 WinFillRect(hps, &rcl, 0x00FFFFFF);1631 WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 1622 1632 1623 1633 drawItNow(hwnd, hps, &rcl, 0, 0); -
trunk/helper/htmlwnd.c
r16 r39 1616 1616 #endif 1617 1617 else 1618 WinFillRect(hps, &rcl, 0x00FFFFFF);1618 WinFillRect(hps, &rcl, SYSCLR_WINDOW /* 0x00FFFFFF*/ ); 1619 1619 1620 1620 drawItNow(hwnd, hps, &rcl, 0, 0);
