f2b2a7eb4a
Implement the basic barebone structure of GIF recording. While it is likely broken (probably black frames and similar issues) it's a good start. Good night.
18 lines
312 B
C++
18 lines
312 B
C++
#ifndef U32BACKEND_HPP
|
|
#define U32BACKEND_HPP
|
|
|
|
#include <QPixmap>
|
|
#include <windows.h>
|
|
|
|
class PlatformBackend {
|
|
public:
|
|
std::tuple<QPoint, QPixmap> getCursor();
|
|
DWORD pid();
|
|
static PlatformBackend &inst() {
|
|
static PlatformBackend inst;
|
|
return inst;
|
|
}
|
|
};
|
|
|
|
#endif // U32BACKEND_HPP
|