ebiten/internal/driver
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
..
compositemode.go ebiten: Add CompositeModeMultiply (#1251) 2020-07-18 21:37:17 +09:00
cursor.go internal/uidriver/glfw: Native macOS implementation for setting cursor shape (#1624) 2021-05-02 14:50:50 +09:00
event.go Fix misspellings 2019-10-12 01:10:53 +09:00
filter.go ebiten: Remove FilterDefault 2020-10-05 01:48:47 +09:00
gamepadbutton.go Revert "driver: Increase gamepad buttons to 64" 2020-12-29 02:49:58 +09:00
graphics.go internal/driver: Remove Image.Sync 2021-02-26 23:16:28 +09:00
input.go ebiten: Introduce type TouchID 2020-10-10 03:57:47 +09:00
keys.go ebiten: Change the key name convention to follow the Web standard 2021-04-14 22:49:07 +09:00
modifier.go event: Add Modifier 2019-09-03 01:12:50 +09:00
mousebutton.go input: Move MouseButton and GamepadButton to driver package 2019-03-30 23:19:52 +09:00
ui.go ebiten: Add IsWindowBeingClosed / SetWindowClosingHandled / IsWindowClosingHandled 2021-06-14 02:29:11 +09:00