| 1 |
// Copyright (C) 2016 The Qt Company Ltd. |
| 2 |
// |
| 3 |
// SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 4 |
|
| 5 |
#ifndef QXCBIMAGE_H |
| 6 |
#define QXCBIMAGE_H |
| 7 |
|
| 8 |
#include "qxcbscreen.h" |
| 9 |
#include <QtCore/QPair> |
| 10 |
#include <QtGui/QImage> |
| 11 |
#include <QtGui/QPixmap> |
| 12 |
#include <xcb/xcb_image.h> |
| 13 |
|
| 14 |
QT_BEGIN_NAMESPACE |
| 15 |
|
| 16 |
QImage::Format qt_xcb_imageFormatForVisual(QXcbConnection *connection, |
| 17 |
uint8_t depth, const xcb_visualtype_t *visual); |
| 18 |
QPixmap qt_xcb_pixmapFromXPixmap(QXcbConnection *connection, xcb_pixmap_t pixmap, |
| 19 |
int width, int height, int depth, |
| 20 |
const xcb_visualtype_t *visual); |
| 21 |
xcb_pixmap_t qt_xcb_XPixmapFromBitmap(QXcbScreen *screen, const QImage &image); |
| 22 |
xcb_cursor_t qt_xcb_createCursorXRender(QXcbScreen *screen, const QImage &image, |
| 23 |
const QPoint &spot); |
| 24 |
|
| 25 |
QT_END_NAMESPACE |
| 26 |
|
| 27 |
#endif |