Commit Graph

79 Commits (master)

Author SHA1 Message Date
Marius Petcu 74fe628e86 Prevent preprocessor warnings 2019-08-13 16:26:54 +03:00
Marius Petcu 3d501ef57e Implement reusable cursors on macOS 2018-12-31 13:07:22 +02:00
Marius Petcu b2a7836339 Log warnings instead of info for method unimplemented warnings 2018-10-22 16:59:51 +03:00
Marius Petcu e2f24312d2 Ensure consistent handling and reporting of orientations across platforms 2018-10-22 13:16:51 +03:00
Marius Petcu d7a70e0327 Rename get_parameters to get_arguments 2018-10-21 23:15:37 +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 22dcad083a Implement display functions on Windows 2018-10-21 18:17:24 +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 c14a1877d1 Implement display queries on macOS 2018-10-20 01:02:20 +03:00
Marius Petcu 4a2744cf78 Merge branch 'master' into screen_related 2018-10-19 16:15:59 +03:00
chaosddp a7974ba8a5 add support for linux, but with limitation 2018-05-07 17:45:56 +08:00
chaosddp 612ecdab54 merge master 2018-05-07 14:14:41 +08:00
Chaos Yu 88b71fa3c2
Merge branch 'master' into linux 2018-05-07 09:19:45 +08:00
Alexey Gulev dd4e2e0929 added get_parameters() method that returns application parameters on mac, win and html5 2018-03-12 15:00:08 +03:00
Alexey Gulev 0b3dfcdd1b memory leak bug fixing
try to find <link> in html5 realisation before creation of new icon
2018-03-06 20:24:13 +03:00
chaosddp 1953c11c34 delete dmarray before return 2018-03-07 00:21:44 +08:00
chaosddp ec969c6847 use dmArray to return resolution list 2018-03-06 23:26:31 +08:00
Alexey Gulev 13a9f28e9a added mac support 2018-03-06 11:44:55 +03:00
Alexey Gulev 136c5cecb5 fixes for working with true relative path 2018-03-04 19:39:50 +03:00
chaosddp 6a094dd69d x11 hard cursor (image/x-xcursor) 2018-03-03 15:00:53 +08:00
Alexey Gulev 89e9b9ab1d added new method set_window_icon for macos, windows, html5 platform 2018-02-28 17:04:28 +03:00
chaosddp ed3a450a50 restore platform checking 2018-02-27 22:14:33 +08:00
Chaos Yu 077296ad67 remove platform checking, add some useful resource about x11 2018-02-27 10:55:02 +08:00
Chaos Yu a77f0a4abd test 2018-02-26 18:10:23 +08:00
chaosddp f40a97a1c5 list of supported resolutions and other display info of monitor 2018-02-25 02:51:58 +08:00
Marius Petcu 44e7f81b9d Add fullscreen and maximized setters 2018-02-18 17:25:02 +02:00
Marius Petcu 431f09b12f Add cursor lock disabled HTML5 callback 2018-02-18 15:46:23 +02:00
Marius Petcu 48ed34cbff Implement cursor locking on Windows 2018-02-18 14:55:33 +02:00
Marius Petcu bda6855f44 Fix "respond from synchroneous event handler" issue on HTML5 2018-02-18 14:20:52 +02:00
Marius Petcu b5a967d390 Implement cursor locking on macOS 2018-02-18 13:32:23 +02:00
Marius Petcu 397ac48f86 Unify enable/disable_mouse_cursor 2018-02-18 13:21:15 +02:00
Marius Petcu c9cfb3722a Simplify console hide/show API 2018-02-18 12:51:36 +02:00
Marius Petcu 727d4171e2 Add cursor lock boilerplate. Simplify cursor clip API 2018-02-18 12:44:08 +02:00
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 c48dfbaf93 Use float for coordinates 2018-02-18 09:38:50 +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 bedf09e267 Sort functions in defos.cpp 2018-02-17 19:19:59 +02: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 89aff5ef84.
2018-01-11 10:17:09 +08:00
chaos yu 89aff5ef84 remove move_cursor_to function 2018-01-10 20:06:38 +08:00