33 Commits

Author SHA1 Message Date
Marius Petcu
093f261fb8 Implement custom HTML5 cursors 2018-02-18 10:43:09 +02:00
Marius Petcu
7ff9139b56 Implement default x and y 2018-02-18 09:57:21 +02:00
Marius Petcu
d553ddf1f7 Add get_view_size() 2018-02-18 09:30:15 +02:00
Marius Petcu
d030ab9aea Rename is_mouse_inside_window to is_mouse_in_view 2018-02-18 02:12:18 +02:00
Marius Petcu
d8a572aef6 Implement custom cursors on macOS 2018-02-18 01:20:41 +02:00
Marius Petcu
40ba9f303a Implement a few system cursors 2018-02-18 00:19:37 +02:00
Marius Petcu
b1839ae2da Rename set_client_size to set_view_size 2018-02-17 21:06:20 +02:00
Marius Petcu
3e3fd73976 Reset window size with set_client_size 2018-02-17 21:03:56 +02:00
Marius Petcu
37ffac8392 Conditionally run Windows-specific stuff in example 2018-02-17 19:59:47 +02:00
chaos yu
b23b25bdc5 restore the removed code when testing 2018-01-28 18:26:57 +08:00
chaos yu
14d3e8f2cb correct the clipping area, update the example layout as there are too many buttons 2018-01-28 17:51:17 +08:00
chaos yu
5f7ac4b647 finish the set_cursor and reset_cursor function, updated the example to change cursor every second 2018-01-28 13:28:10 +08:00
Chaos Yu
32521f2743 place cursor to save folder to use LoadCursorFromFile 2018-01-24 13:31:46 +08:00
chaos yu
e71e374d1f add set_client_size function, and placeholders for macos to avoid error 2018-01-11 23:14:02 +08:00
Chaos Yu
f7946319f4 Revert "remove move_cursor_to function"
This reverts commit 89aff5ef84283d14e6498a5298ee5269a8b0fb5f.
2018-01-11 10:17:09 +08:00
chaos yu
89aff5ef84 remove move_cursor_to function 2018-01-10 20:06:38 +08:00
Chaos Yu
4d173dcc07 update example to clip cursor when get/lost focus and resized 2018-01-10 14:33:50 +08:00
Chaos Yu
f09412fb0f add move_cursor_to to move cursor within window area 2018-01-10 13:57:44 +08:00
Chaos Yu
5cf28a7f35 keep original cursor clipping rectangle on init 2018-01-10 13:37:18 +08:00
chaos yu
7442908d8a add clip_cursor and restore_cursor_clip on windows 2018-01-09 21:09:55 +08:00
chaos yu
00f27fd6b8 add set_cursor_pos for windows 2018-01-09 20:20:23 +08:00
Brian Kramer
cd498ec8c3 Console example 2018-01-08 22:59:01 -08:00
Brian Kramer
469bf7b0c7 cursor demo + show cursor on edge of screen
Improves example to show how to handle showing cursor properly when
disabled but leaves window.
2018-01-07 19:52:29 -08:00
Marius Petcu
59f02b4c81 Remove semicolons from Lua code 2018-01-03 17:30:41 +02:00
Marius Petcu
21c519b764 Add is_mouse_inside_window() example 2018-01-02 23:17:16 +02:00
Marius Petcu
9ae71210b3 Fix indentation 2018-01-02 22:53:30 +02:00
Marius Petcu
3d9bb258f3 Add on_mouse_* to example 2018-01-02 22:27:22 +02:00
Alexey Gulev
4c84d91261 added new method get_window_size() 2017-12-16 01:16:47 +03:00
Alexey Gulev
8a7763bd29 start counting position from top left corner like on windows PC 2017-10-06 20:43:33 +03:00
Björn Ritzl
83b6afe771 Added windows support as a native extension 2017-09-01 08:40:21 +02:00
Alexey Gulev
a5e377af47 example fixes 2017-05-14 23:07:04 +03:00
Alexey Gulev
4e89b3a6ad replace is_maximize() method to is_maximized() 2017-05-14 23:03:30 +03:00
Alexey Gulev
065254d2a4 new example based on dirtylarry 2017-05-12 00:18:17 +03:00