Hajime Hoshi
856b339298
internal/ui: bug fix: show a black dot at the red button when needed
...
When SetWindowClosingHandled(true) is called, a black dot should be
shown at the red button to close the window.
Closes #3020
2024-07-31 23:54:18 +09:00
Hajime Hoshi
f4029aaa77
ebiten: add (*Monitor).Size() to replace ScreenSizeInFullscreen()
...
Also, this change fixes redundant checks the case when a monitor
does not exist. Now Ebitengine checks a monitor existence at the
initialization.
Closes #2145
Closes #2795
2024-03-23 23:32:43 +09:00
Hajime Hoshi
3e4c47eb70
internal/ui: refactoring
2024-03-03 23:27:02 +09:00
Hajime Hoshi
6d898d752e
ebiten: add (*Monitor).DeviceScaleFactor()
...
This replaces ebiten.DeviceScaleFactor().
Updates #2795
2024-02-12 17:09:03 +09:00
Hajime Hoshi
630789757f
all: add files for PlayStation 5
...
The implementation is WIP.
Updates #2799
2023-10-16 00:54:08 +09:00
Hajime Hoshi
47e70f2544
internal/ui: use errors.New instead of fmt.Errorf
2023-10-15 23:27:04 +09:00
Hajime Hoshi
18714e22a1
internal/ui: reland: return errors when getting a graphics driver fails
2023-10-15 18:34:08 +09:00
Hajime Hoshi
bd10f19567
Revert "internal/ui: return errors when getting a graphics driver fails"
...
This reverts commit d4e31aedd6
.
Reason: compile error with -tags=nintendosdk
2023-10-15 18:32:47 +09:00
Hajime Hoshi
d4e31aedd6
internal/ui: return errors when getting a graphics driver fails
2023-10-15 18:26:13 +09:00
Hajime Hoshi
27fd10595b
internal/ui: refactoring: reduce global functions and prefer Get()
2023-10-15 03:40:48 +09:00
Hajime Hoshi
69f1fa5f29
internal/ui: unify the receivers for UI
2023-10-15 02:51:23 +09:00
Hajime Hoshi
7018e7dfb1
internal/ui: rename files
2023-10-11 02:03:58 +09:00