Ignore:
Timestamp:
Oct 29, 2009, 10:11:44 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Only supply one icon when creating a HPOINTER (WinCreatePointerIndirect() ignores the other one anyway) and make sure that the mini icon is used for HPOINTERs sent to the system tray which expects only mini icons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/image/qpixmap.h

    r260 r267  
    150150
    151151#if defined(Q_WS_PM)
    152     HBITMAP toPmHBITMAP(HBITMAP *mask = 0) const;
     152    HBITMAP toPmHBITMAP(HBITMAP *mask = 0, bool embedRealAlpha = false) const;
    153153    static HPOINTER toPmHPOINTER(const QIcon &icon, bool isPointer = false,
    154                                  int hotX = 0, int hotY = 0);
     154                                 int hotX = 0, int hotY = 0,
     155                                 bool embedRealAlpha = false, bool isMini = true);
    155156#endif
    156157
Note: See TracChangeset for help on using the changeset viewer.