4#ifndef QDIRECTFBCONVENIENCE_H
5#define QDIRECTFBCONVENIENCE_H
7#include <QtGui/qimage.h>
9#include <QtCore/QEvent>
10#include <QtGui/QPixmap>
80#define QDFB_STRINGIFY(x) #x
81#define QDFB_TOSTRING(x) QDFB_STRINGIFY(x)
83 (__FILE__ ":" QDFB_TOSTRING(__LINE__))
Q_NODISCARD_CTOR QDirectFBPointer(T *t=nullptr)
static bool pixelFomatHasAlpha(const DFBSurfacePixelFormat format)
static QEvent::Type eventType(DFBWindowEventType type)
static IDirectFBSurface * dfbSurfaceForPlatformPixmap(QPlatformPixmap *)
static QImage::Format imageFormatFromSurfaceFormat(const DFBSurfacePixelFormat format, const DFBSurfaceCapabilities caps)
static Qt::MouseButtons mouseButtons(DFBInputDeviceButtonMask mask)
static Qt::KeyboardModifiers keyboardModifiers(DFBInputDeviceModifierMask mask)
static IDirectFB * dfbInterface()
static QDirectFbKeyMap * keyMap()
static IDirectFBDisplayLayer * dfbDisplayLayer(int display=DLID_PRIMARY)
static int colorDepthForSurface(const DFBSurfacePixelFormat format)
static Qt::MouseButton mouseButton(DFBInputDeviceButtonIdentifier identifier)
Type
This enum type defines the valid event types in Qt.
Format
The following image formats are available in Qt.
struct wl_display * display
Combined button and popup list for selecting options.
IDirectFBDisplayLayer * toDfbLayer(QPlatformScreen *screen)
QDirectFbScreen * toDfbScreen(QWindow *window)
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
GLint GLsizei GLsizei GLenum format
static void cleanup(T *t)