Commit Graph

106 Commits

Author SHA1 Message Date
vcaesar
ead43d062e Fixed: fix x11 build 2024-10-06 17:51:51 -07:00
vcaesar
3258566802 Update: move scale to screen and rename pub mdata 2024-10-06 17:40:34 -07:00
Mokky
de675b4dd2
Update window.h
Fix: error when current window is minimized
2023-09-07 20:53:58 +09:00
vcaesar
90f41269da Update: update gomod and fixed warning 2023-09-03 12:12:56 -07:00
Jean Raby
8e7a413ec6
Fix x11 display leak (#590)
* Call XCloseDisplay in all return paths

Add test to confirm XOpenDisplay leak is plugged

* whitespace
2023-06-11 10:17:26 -07:00
vcaesar
6313e52156 Update: Optimize window hand code 2022-11-28 14:21:03 -08:00
vcaesar
469cd4da5e Update & Add: unified use the int to replace int32;
unified name and add more func;
Update gomod and CI
2022-11-27 17:55:45 -08:00
vcaesar
e9b5a9251e Update: Unified pid and xid name, Update godoc, fixed typo 2022-09-13 15:49:21 -07:00
vcaesar
b543a49322 Add clear scroll API and Update examples 2022-02-04 00:02:34 -08:00
vcaesar
d82ca8cee4 Refactor some mouse and window C code to Go 2022-02-03 03:03:32 -08:00
vcaesar
f0b614d78e Removed msc, macro and other C code 2022-02-03 01:41:46 -08:00
vcaesar
76abeff3ff add GetClient bounds support 2022-01-26 09:41:06 -08:00
vcaesar
bafa051f92 Update x11 alert() code and remove ScaleY() 2022-01-23 14:17:15 -04:00
vcaesar
63f914ae62 Fixed windows warning and x11 error 2022-01-22 12:46:46 -04:00
vcaesar
477a7b473c Refactor the Alert() code and remove some code 2022-01-22 11:53:03 -04:00
vcaesar
acfb61e8ce Update missed type 2022-01-21 16:25:37 -04:00
vcaesar
caf3fbb982 Fixed CI build 2022-01-21 16:21:09 -04:00
vcaesar
481fbb72a5 Add more multi screen support, update go mod, remove some code 2022-01-21 15:58:02 -04:00
vcaesar
ce0972d699 Close window X11 display fixed #438 2022-01-19 12:43:26 -04:00
vcaesar
f6abdbe21b Fixed windows CI build 2022-01-03 19:56:42 -04:00
vcaesar
337cd3f73a add sys scale option displayID support 2022-01-03 19:49:54 -04:00
vcaesar
cc2d0198ea Fixed CI build and test 2022-01-02 18:24:22 -04:00
vcaesar
34fc3ffb38 Optimize Linux get high DPI code 2021-11-26 18:07:08 -04:00
vcaesar
faeb2b1e20 add Linux high DPI support and only windows use scaled() 2021-11-16 16:07:06 -04:00
vcaesar
e433e36e8a Update CaptureScreen() use the scaled and some code 2021-11-15 18:22:54 -04:00
Sean E. Russell
a38bb946c1 Fixes #258: char* arrays in C not being copied correctly 2021-08-19 13:28:02 -05:00
vcaesar
fb2d6f2720 update error return and print 2020-10-27 10:46:17 -04:00
vcaesar
10a550d9da remove unused code fixed x11 build error 2019-12-04 10:12:33 -04:00
vcaesar
c3334d86b3 add all platform system scale support 2019-12-04 10:08:09 -04:00
vcaesar
c66bdc1120 update code style 2019-07-20 08:32:43 -04:00
vcaesar
f7c0fa2441 add Is64Bit() c function 2019-05-06 10:33:10 -04:00
vcaesar
3d4f723800 update code style 2019-03-19 11:15:33 -04:00
vcaesar
022e79d6d3 update code style 2019-03-19 11:05:32 -04:00
vcaesar
c577ec56ee update code style 2019-02-27 10:27:58 -04:00
vcaesar
adf02582ab update godoc and code style 2018-11-14 12:07:26 -04:00
vcaesar
a3aa5c000f update examples and update code style 2018-10-21 13:39:07 -04:00
vcaesar
65901862ec update head hint 2018-09-18 07:50:31 -04:00
vcaesar
f7ea916b21 update pkg to newest fixed ci 2018-09-17 14:23:05 -04:00
vcaesar
3447822f65 fixed return address of local variable and not use ternary operator 2018-09-17 12:54:56 -04:00
vcaesar
c4e7fbb392 update set handle by pid and add get handle mdata by pid 2018-08-28 09:16:25 -04:00
vcaesar
a6799263b5 add close window example and add set handle by pid func 2018-08-25 09:51:38 -04:00
vcaesar
727ab062fb update close_window() allow by pid 2018-08-23 12:06:42 -04:00
vcaesar
338a8b9292 refactoring close_window() allow by pid, window.h [ci skip] 2018-08-23 12:03:55 -04:00
vcaesar
de0ebaaf3c add get main title check isValid() 2018-08-23 10:42:23 -04:00
vcaesar
1bb08731d1 add set_hand_pid and add return 2018-08-21 13:04:23 -04:00
vcaesar
873e9d30dc update getTitle func and .h name 2018-08-21 12:47:31 -04:00
vcaesar
e565e4feb7 refactoring get_title() allow by pid, window.h [ci skip] 2018-08-21 12:18:43 -04:00
vcaesar
cea1b340d7 update code style and move scale to win_sys 2018-08-14 07:18:14 -04:00
vcaesar
2a813b1e31 update version number 2018-08-13 11:09:07 -04:00
vcaesar
b4fffb3d06 optimize robot unix getxid func 2018-08-13 10:40:31 -04:00