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.
17 lines
291 B
C++
17 lines
291 B
C++
#ifndef X11BACKEND_HPP
|
|
#define X11BACKEND_HPP
|
|
|
|
#include <QPixmap>
|
|
|
|
class PlatformBackend {
|
|
public:
|
|
std::tuple<QPoint, QPixmap> getCursor();
|
|
pid_t pid();
|
|
static PlatformBackend &inst() {
|
|
static PlatformBackend inst;
|
|
return inst;
|
|
}
|
|
};
|
|
|
|
#endif // X11BACKEND_HPP
|