Changeset 8 for trunk/include/qpixmap.h


Ignore:
Timestamp:
Nov 16, 2005, 8:36:46 PM (20 years ago)
Author:
dmik
Message:

Transferred Qt for OS/2 version 3.3.1-rc5 sources from the CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/qpixmap.h

    r7 r8  
    139139#if defined(Q_WS_WIN)
    140140    HBITMAP     hbm()           const;
     141#elif defined(Q_WS_PM)
     142    HBITMAP     hbm()           const;
    141143#endif
    142144
     
    209211        uchar* ppvBits; // Pointer to DIBSection bits
    210212#endif
     213#elif defined(Q_WS_PM)
     214        HBITMAP hbm;
     215        HBITMAP maskedHbm;  // pixmap precomposed for masking
     216//@@TODO (dmik): need this?       
     217        uchar *realAlphaBits;
    211218#elif defined(Q_WS_X11)
    212219        void   *ximage;
     
    243250                                   const QPixmap *src, int sx, int sy,
    244251                                   int sw, int sh, bool useDstAlpha );
     252#elif defined(Q_WS_PM)
     253    void prepareForMasking( bool prepare );
     254    void attachHandle( HBITMAP hbm );
     255    HBITMAP detachHandle();
     256    friend class QPMMimeImage;
    245257#endif
    246258    static Optimization defOptim;
     
    298310    return data->mcp ? 0 : data->hbm_or_mcpi.hbm;
    299311}
     312#elif defined(Q_WS_PM)
     313inline HBITMAP QPixmap::hbm() const
     314{
     315    return data->hbm;
     316}
    300317#endif
    301318
Note: See TracChangeset for help on using the changeset viewer.