fui_system 0.14.1

System controls (dialogs, tray etc.) for FUI UI Framework
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <QPixmap>
#include "qpixmap.h"

void *QPixmap_new()
{
    return static_cast<void *>(new (std::nothrow) QPixmap());
}

void QPixmap_delete(void *self)
{
    delete static_cast<QPixmap *>(self);
}

int QPixmap_loadFromData(void *self, const unsigned char *data, int len)
{
    QPixmap *qPixmap = static_cast<QPixmap *>(self);
    return qPixmap->loadFromData((const uchar*)data, len);
}