46 #include <private/qpixmap_blitter_p.h> 48 #include <QtGui/QWidget> 49 #include <QtGui/QScreen> 55 static IDirectFB *dfb = 0;
57 DFBResult result = DirectFBCreate(&dfb);
58 if (result != DFB_OK) {
59 DirectFBErrorFatal(
"QDirectFBConvenience: error creating DirectFB interface", result);
68 IDirectFBDisplayLayer *layer;
71 DirectFBErrorFatal(
"QDirectFbConvenience: " 72 "Unable to get primary display layer!", result);
99 if (caps & DSCAPS_PREMULTIPLIED)
111 return ((0x1f << 7) & format) >> 7;
121 if (blittablePmData) {
147 if (mask & DIBM_LEFT) {
150 if (mask & DIBM_MIDDLE) {
153 if (mask & DIBM_RIGHT) {
163 if (mask & DIMM_SHIFT) {
166 if (mask & DIMM_ALT) {
169 if (mask & DIMM_ALTGR) {
172 if (mask & DIMM_CONTROL) {
175 if (mask & DIMM_META) {
184 case DWET_BUTTONDOWN:
Format
The following image formats are available in Qt.
#define QT_END_NAMESPACE
This macro expands to.
static IDirectFBDisplayLayer * dfbDisplayLayer(int display=DLID_PRIMARY)
T * data() const
Returns the value of the pointer referenced by this object.
static QDirectFbKeyMap * keyMap()
static Qt::MouseButtons buttons
static QImage::Format imageFormatFromSurfaceFormat(const DFBSurfacePixelFormat format, const DFBSurfaceCapabilities caps)
IDirectFBDisplayLayer * toDfbLayer(QPlatformScreen *screen)
static QEvent::Type eventType(DFBWindowEventType type)
static IDirectFBSurface * dfbSurfaceForPlatformPixmap(QPixmapData *)
static int colorDepthForSurface(const DFBSurfacePixelFormat format)
QDirectFbScreen * toDfbScreen(QWidget *window)
static Qt::KeyboardModifiers keyboardModifiers(DFBInputDeviceModifierMask mask)
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_GUI_EXPORT EGLDisplay display()
static Qt::MouseButton mouseButton(DFBInputDeviceButtonIdentifier identifier)
Type
This enum type defines the valid event types in Qt.
static IDirectFB * dfbInterface()
QBlittable * blittable() const
static Qt::MouseButtons mouseButtons(DFBInputDeviceButtonMask mask)
static QDirectFbKeyMap * dfbKeymap
QDirectFBPointer< IDirectFBSurface > m_surface