mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
add Bounds to pub.h [ci skip]
This commit is contained in:
parent
56bc179c39
commit
751af33b71
@ -26,6 +26,15 @@ typedef struct _MData MData;
|
||||
|
||||
MData mData;
|
||||
|
||||
struct _Bounds{
|
||||
int32 X; // Top left X coordinate
|
||||
int32 Y; // Top left Y coordinate
|
||||
int32 W; // Total bounds width
|
||||
int32 H; // Total bounds height
|
||||
};
|
||||
|
||||
typedef struct _Bounds Bounds;
|
||||
|
||||
#if defined(IS_MACOSX)
|
||||
|
||||
static Boolean(*gAXIsProcessTrustedWithOptions) (CFDictionaryRef);
|
||||
|
@ -1,14 +1,5 @@
|
||||
// #include "../base/os.h"
|
||||
|
||||
struct _Bounds{
|
||||
int32 X; // Top left X coordinate
|
||||
int32 Y; // Top left Y coordinate
|
||||
int32 W; // Total bounds width
|
||||
int32 H; // Total bounds height
|
||||
};
|
||||
|
||||
typedef struct _Bounds Bounds;
|
||||
|
||||
Bounds get_bounds(uintptr pid, uintptr isHwnd){
|
||||
// Check if the window is valid
|
||||
Bounds bounds;
|
||||
|
Loading…
Reference in New Issue
Block a user