Commit Graph
19 Commits
Author SHA1 Message Date
Bartosz Taudul d5191ccbd4 Enable alt-space menu on windows. 2022-12-09 19:04:45 +01:00
Bartosz Taudul ee3d5a94a7 Fix apfel check. 2022-12-09 18:59:01 +01:00
Bartosz Taudul 55f2da581a Check if glfwRequestWindowAttention() is available. 2022-10-15 01:15:22 +02:00
Bartosz Taudul d0968844d8 Only request attention if window has no focus. 2022-10-13 20:44:31 +02:00
Bartosz Taudul 4a1e93841d Add attention request function to windowing backend. 2022-10-13 19:22:21 +02:00
Bartosz Taudul de3190657e Make sure window redraw is active on refresh callback. 2022-10-13 19:08:37 +02:00
Bartosz Taudul a4e39f3d5f Enable redraw after screen resize. 2022-10-06 17:32:25 +02:00
Bartosz Taudul cf61fbf7ba Support hidpi. 2022-10-02 13:51:28 +02:00
Bartosz Taudul 4b5a823d39 Adapt render size to fit browser window. 2022-10-02 13:40:14 +02:00
Bartosz Taudul 78169326b3 Setup main emscripten loop. 2022-09-30 00:57:07 +02:00
Bartosz Taudul 863b36d04b Emscripten expects GLES2 (WebGL 1). 2022-09-30 00:39:42 +02:00
Bartosz Taudul 8b17522dff Use proper glfw version checks. 2022-09-29 00:45:48 +02:00
Bartosz Taudul 258fd73e6e Remove dead code. 2022-09-27 22:12:18 +02:00
Bartosz Taudul 1e7c6e3f49 Handle iconification by waiting for events. 2022-09-27 17:32:01 +02:00
Bartosz Taudul 49bda91be5 Cosmetics. 2022-08-20 01:45:55 +02:00
Bartosz Taudul 07d921b322 Cosmetics. 2022-08-14 11:29:36 +02:00
Bartosz Taudul 7dbfed9aea Drop access to native window.
The new NFD library is not using this information, and the old one was using
it only on Windows. Oh well.

Removal of this functionality also removes some build-time decisions.
2022-08-12 21:44:24 +02:00
Bartosz Taudul 46292b0719 Dynamically track saved window state. 2022-07-28 00:48:14 +02:00
Bartosz Taudul b86f1a907a Move all GLFW code to a separate class. 2022-07-28 00:24:52 +02:00