Changeset 115 for trunk/src/gui/image/qnativeimage.cpp
- Timestamp:
- Aug 17, 2009, 7:06:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/image/qnativeimage.cpp
r2 r115 141 141 } 142 142 143 #elif defined(Q_WS_PM) 144 145 QNativeImage::QNativeImage(int width, int height, QImage::Format format, 146 bool isTextBuffer, QWidget *widget) 147 { 148 image = QImage(width, height, format); 149 } 150 151 QNativeImage::~QNativeImage() 152 { 153 } 154 155 QImage::Format QNativeImage::systemFormat() 156 { 157 // @todo support 8-bit indexed colors? 158 // if (QColormap::instance().depth() == 16) 159 // return QImage::Format_RGB16; 160 return QImage::Format_RGB32; 161 } 143 162 144 163 #elif defined(Q_WS_X11) && !defined(QT_NO_MITSHM)
Note:
See TracChangeset
for help on using the changeset viewer.