Ignore:
Timestamp:
Jun 20, 2002, 10:46:29 PM (23 years ago)
Author:
umoeller
Message:

More pager fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/comctl.c

    r169 r178  
    823823                                // center the icon in the bitmap
    824824                                // V0.9.16 (2001-10-15) [umoeller]
    825                                 POINTL ptlOfs;
    826                                 ptlOfs.x = (   (pa->rclIcon.xRight - pa->rclIcon.xLeft)
    827                                              - pa->lIconSize
    828                                            ) / 2;
    829                                 ptlOfs.y = (   (pa->rclIcon.yTop - pa->rclIcon.yBottom)
    830                                              - pa->lIconSize
    831                                            ) / 2;
    832 
    833                                 // paint icon into bitmap
    834                                 gpihIcon2Bitmap(hpsMem,
     825
     826                                // replaced call V0.9.19 (2002-06-18) [umoeller]
     827                                gpihDrawPointer(hpsMem,
     828                                                (   (pa->rclIcon.xRight - pa->rclIcon.xLeft)
     829                                                  - pa->szlIcon.cx
     830                                                ) / 2,
     831                                                (   (pa->rclIcon.yTop - pa->rclIcon.yBottom)
     832                                                  - pa->szlIcon.cy
     833                                                ) / 2,
    835834                                                pa->hptr,
    836                                                 lBkgndColor,
    837                                                 &ptlOfs,
    838                                                 pa->lIconSize);
     835                                                &pa->szlIcon,
     836                                                NULL,       // no clipping
     837                                                0);         // no mini
    839838                            }
    840839
     
    10011000            WinQueryWindowRect(hwndStatic, &pa->rclIcon);
    10021001            pa->OldStaticProc = WinSubclassWindow(hwndStatic, ctl_fnwpBitmapStatic);
    1003             pa->lIconSize = WinQuerySysValue(HWND_DESKTOP, SV_CXICON);
     1002            pa->szlIcon.cx = WinQuerySysValue(HWND_DESKTOP, SV_CXICON);
     1003            pa->szlIcon.cy = WinQuerySysValue(HWND_DESKTOP, SV_CYICON);
    10041004        }
    10051005    }
Note: See TracChangeset for help on using the changeset viewer.