Changeset 115 for trunk/src


Ignore:
Timestamp:
Aug 17, 2009, 7:06:32 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Added OS/2 support to QRasterWindowSurface and to QNativeImage (this gives us rendering of the widget contents in double-buffer mode).

Location:
trunk/src/gui
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/image/qnativeimage.cpp

    r2 r115  
    141141}
    142142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
    143162
    144163#elif defined(Q_WS_X11) && !defined(QT_NO_MITSHM)
  • trunk/src/gui/image/qnativeimage_p.h

    r2 r115  
    5656#include "qimage.h"
    5757
    58 #ifdef Q_WS_WIN
     58#if
    5959#include "qt_windows.h"
    6060
     
    8484    static QImage::Format systemFormat();
    8585
    86 #ifdef Q_WS_WIN
     86#if
    8787    HDC hdc;
    8888    HBITMAP bitmap;
  • trunk/src/gui/kernel/qwidget.cpp

    r112 r115  
    1035910359        qErrnoWarning("QWidget::releaseDC(): failed to release HDC");
    1036010360}
     10361
     10362
     10363
     10364
     10365
     10366
     10367
     10368
     10369
     10370
     10371
     10372
     10373
     10374
     10375
     10376
     10377
     10378
     10379
     10380
     10381
     10382
     10383
     10384
     10385
     10386
     10387
     10388
     10389
     10390
     10391
    1036110392#else
    1036210393/*!
  • trunk/src/gui/kernel/qwidget.h

    r92 r115  
    583583    HDC getDC() const;
    584584    void releaseDC(HDC) const;
     585
     586
     587
    585588#else
    586589    Qt::HANDLE handle() const;
  • trunk/src/gui/painting/qwindowsurface_raster.cpp

    r2 r115  
    199199#endif
    200200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
     211
     212
     213
     214
     215
     216
     217
     218
     219
     220
     221
     222
     223
     224
     225
     226
     227
     228
     229
     230
     231
     232
     233
     234
     235
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
    201249#endif
    202250
Note: See TracChangeset for help on using the changeset viewer.