ebiten/internal
Hajime Hoshi 49c3c30c79 ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled
IsWindowBeingClosed reports whether the window is being closed by
the user.

SetWindowClosingHandled sets whether the window closing is handled
or not. If the state is true, the window is not closed immediately
by the user and the game can handle the closing state. In this case,
the Update function should return an error in order to end the game.

This change also adds examples/windowclosing.

Closes #1574
2021-06-14 02:29:11 +09:00
..
affine Revert "Revert 2 commits using ColorM cache" 2021-05-30 15:17:11 +09:00
atlas internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
buffered Rename internal/shareable -> internal/atlas 2021-03-12 00:22:08 +09:00
clock internal/clock: Misspelling 2021-04-24 23:24:11 +09:00
debug Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
devicescale Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
driver ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00
glfw ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00
graphics ebiten: Use the common vertices backend at DrawTriangles 2021-03-20 20:25:42 +09:00
graphicscommand internal/graphicscommand: fix missing graphicscommand log (#1543) 2021-03-15 02:14:03 +09:00
graphicsdriver internal/graphicsdriver/opengl: Refactring 2021-06-13 14:19:33 +09:00
hooks internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00
jsutil Remove support of Go 1.13 and Go 1.14 2021-06-07 21:44:22 +09:00
mipmap internal/graphics: Bug fix: Race condition at QuadVertices 2021-03-20 16:32:13 +09:00
packing packing: Bug fix: Extend could create a too big page 2020-12-31 17:33:27 +09:00
png Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
restorable Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
shader internal/shader: Add more tests and improve the comment 2021-04-09 01:25:37 +09:00
shaderir graphicsdriver/opengl: Enable dFdx for mobiles 2020-11-21 19:40:11 +09:00
testflock Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
testing testing: Bug fix: Lack of uniform variables 2020-12-09 11:52:45 +09:00
thread Update comments 2020-10-21 03:17:40 +09:00
uidriver ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00
web Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00