Commit Graph

298 Commits (25831b053acadaa974c4031285178e5baf325ec1)

Author SHA1 Message Date
Marius Petcu 25831b053a Document defos.load_cursor() 2018-12-31 13:07:22 +02:00
Marius Petcu 145ca62bf7 Implement reusable cursors on HTML5 2018-12-31 13:07:22 +02:00
Marius Petcu 3d501ef57e Implement reusable cursors on macOS 2018-12-31 13:07:22 +02:00
Marius Petcu 6c4c406211
Merge pull request #67 from chaosddp/screen_related
Query supported resolutions and other display info.
Fix a number of bugs
Clean up docs
2018-10-26 00:51:10 +03:00
Marius Petcu b2a7836339 Log warnings instead of info for method unimplemented warnings 2018-10-22 16:59:51 +03:00
Marius Petcu d2e2554de2 Tidy up README and add compatibility status for each function 2018-10-22 16:44:39 +03:00
Marius Petcu 0667c010d3 Update Linux TODO list 2018-10-22 16:13:06 +03:00
Marius Petcu 9c7e13d09d Fix Linux build 2018-10-22 10:46:23 +03:00
Marius Petcu 7378ec75e4 Make x, y = nil, nil center in the middle of the current screen on Winows 2018-10-22 10:44:00 +03:00
Marius Petcu 5c75ac63e5 Allow only one of x, y to be nil when setting size on Linux 2018-10-22 10:36:15 +03:00
Marius Petcu a6f5b09665 Clarify what reflect_x and reflect_y do 2018-10-22 13:31:07 +03:00
Marius Petcu e2f24312d2 Ensure consistent handling and reporting of orientations across platforms 2018-10-22 13:16:51 +03:00
Marius Petcu 38f2b61acd Report correct scaling factor in get_display_modes() on Windows 2018-10-22 11:14:11 +03:00
Marius Petcu d7a70e0327 Rename get_parameters to get_arguments 2018-10-21 23:15:37 +03:00
Marius Petcu 1764b29d6b Implement get_parameters() on Linux 2018-10-21 22:50:46 +03:00
Marius Petcu d758259a7a Fix always on top not toggling back on Linux 2018-10-21 22:35:00 +03:00
Marius Petcu c9ce6a1d65 Fix view cursor coordinates on macOS 2018-10-21 22:21:52 +03:00
Marius Petcu d9cee6eb3d Round off cursor position display
On macOS, cursor position is returned with sub-pixel precision
2018-10-21 22:13:55 +03:00
Marius Petcu 64a6579402 Implement getters for the cursor position
Closes #82
2018-10-21 22:08:59 +03:00
Marius Petcu 3a227f5f05 Rename move_cursor_to to set_cursor_pos_view 2018-10-21 21:04:54 +03:00
Marius Petcu 511fb7b2d8 Implement keeping window always on top
Closes #83
2018-10-21 21:00:55 +03:00
Marius Petcu 82b7d20a53 Implement minimize function
Closes #86
2018-10-21 20:26:27 +03:00
Marius Petcu ea93213949 Remove mouse dx/dy being printed out when cursor locked
Let's not give library users ideas that don't work...
2018-10-21 19:53:31 +03:00
Marius Petcu 52026b2267 Restore clipping and locking when window is not focused on Windows
Closes #80
2018-10-21 19:49:02 +03:00
Marius Petcu 70604608e0 Fix defos.get_window_size() reporting wrongly when window is maximixed
Closes #68
2018-10-21 19:26:54 +03:00
Marius Petcu 22dcad083a Implement display functions on Windows 2018-10-21 18:17:24 +03:00
Marius Petcu fc390911c7 Add missing XFlush() calls 2018-10-20 20:18:08 +03:00
Marius Petcu f48d069a7a Add missing Linux features TODO list 2018-10-20 20:17:49 +03:00
Marius Petcu fb238ad114 Implement cursor hiding on Linux 2018-10-20 19:32:20 +03:00
Marius Petcu acb33688ba Implement disable_minimize_button and disable_maximize_button on Linux
(providing the window manager supports it)
2018-10-20 19:18:37 +03:00
Marius Petcu 7739f1956e Implement disable_window_resize() on Linux 2018-10-20 18:39:48 +03:00
Marius Petcu b052993d4c Implement is_mouse_in_view() on Linux 2018-10-20 17:56:35 +03:00
Marius Petcu 3b61b9c64b Implement get_bundle_root for Linux 2018-10-20 17:44:21 +03:00
Marius Petcu 30ee2164d5 Query window hint state from system 2018-10-20 17:28:33 +03:00
Marius Petcu 0ce309f7d2 Center window on current display in set_view_size and set_window_size 2018-10-20 16:48:32 +03:00
Marius Petcu 9219d65127 Implement get_current_screen_id correctly on Linux 2018-10-20 16:36:30 +03:00
Marius Petcu ec7ba99d48 Implement get_window_size on Linux 2018-10-20 16:36:02 +03:00
Marius Petcu 9a60cc014b Account for screen rotation 2018-10-20 14:42:39 +03:00
Marius Petcu b666ffd69e Fix some indentation 2018-10-20 14:26:49 +03:00
Marius Petcu 2c71b00c65 Ignore duplicate displays when mirroring 2018-10-20 14:25:22 +03:00
Marius Petcu be94b64cee Stick to DisplayID == RRCrtc convention 2018-10-20 14:22:27 +03:00
Marius Petcu 73316da891 Implement display query on Linux 2018-10-20 13:55:45 +03:00
Marius Petcu 8706fb4150 Implement display mode query on Linux 2018-10-20 12:56:13 +03:00
Marius Petcu 011252bb78 Fix Linux build 2018-10-20 11:56:29 +03:00
Marius Petcu bdb1cc8e5b Use reference instead of pointer for get_parameters returned array 2018-10-20 11:40:07 +03:00
Marius Petcu c732a678e7 Fix cursor memory leaks 2018-10-20 11:34:11 +03:00
Marius Petcu cf8c55fe94 Query display name 2018-10-20 01:54:31 +03:00
Marius Petcu 275248b141 Document display queries 2018-10-20 01:30:12 +03:00
Marius Petcu c0d7f4cc9a Bolden README section headers 2018-10-20 01:07:27 +03:00
Marius Petcu eee06804a9 Fix some indentation 2018-10-20 01:02:27 +03:00