[c-host] app: added pointer interface and support

This commit is contained in:
Geoffrey McRae
2019-03-04 19:26:02 +11:00
parent 88c2e55acf
commit 273ef55857
2 changed files with 59 additions and 12 deletions

View File

@@ -62,10 +62,12 @@ CaptureFrame;
typedef struct CapturePointer
{
int x, y;
bool visible;
bool shapeUpdate;
CaptureFormat format;
unsigned int width, height;
unsigned int pitch;
void * data;
}
CapturePointer;
@@ -73,7 +75,7 @@ typedef struct CaptureInterface
{
const char * (*getName )();
bool (*create )();
bool (*init )();
bool (*init )(void * pointerShape, const unsigned int pointerSize);
bool (*deinit )();
void (*free )();
unsigned int (*getMaxFrameSize)();