Hajime Hoshi
|
7482cae978
|
internal/ui: bug fix: the aspect ratio must be updated whenever the window size is forcibly updated
This also adds a new flag -aspectratiofixed to examples/windowsize
Updates #1804
|
2022-02-09 19:56:50 +09:00 |
|
Hajime Hoshi
|
740dfd5aed
|
internal/glfw: refactoring: keep the original API when possible
Updates #1804
|
2022-02-09 19:36:47 +09:00 |
|
Hajime Hoshi
|
623c050537
|
ebiten: rename SetKeepWindowAspectRatio -> SetWindowAspectRatioFixed
Updates #1804
|
2022-02-09 19:29:55 +09:00 |
|
Tom Lister
|
18659ef4ab
|
internal/ui: add SetWindowKeepAspectRatio (#1985)
Updates #1804
|
2022-02-09 19:11:25 +09:00 |
|
Hajime Hoshi
|
180eb483bb
|
internal/ui: make currentMonitor return initMonitor when the window is not initialized yet
|
2022-02-09 00:26:49 +09:00 |
|
Hajime Hoshi
|
b2872f216a
|
internal/ui: update comments
Updates #1575
|
2022-02-08 20:27:46 +09:00 |
|
Hajime Hoshi
|
cd2ef6771a
|
internal/ui: bug fix: a wrong monitor was used at setWindowPositionInDIP
|
2022-02-08 20:20:36 +09:00 |
|
Hajime Hoshi
|
9f581327fa
|
intetrnal/ui: remove recreating a window after the fullscreen mode
As macOS's fullscreen is a native fullscreen, this hack is no longer
needed.
Updates #1004
|
2022-02-08 19:41:09 +09:00 |
|
Hajime Hoshi
|
f8097eb45d
|
internal/ui: give an initial window size at createWindow
This enables to skip setWindowSizeInDIPImpl in most cases.
Updates #1651
Updates #1914
|
2022-02-08 19:36:30 +09:00 |
|
Hajime Hoshi
|
320e7037f6
|
internal/ui: update comments
|
2022-02-08 19:23:38 +09:00 |
|
Hajime Hoshi
|
6dbc5ba558
|
internal/ui: refactoring: call updateWindowSizeLimits in createWindow
|
2022-02-08 16:06:12 +09:00 |
|
Hajime Hoshi
|
4c6c31e384
|
all: reorder build tags in an alphabetical order
|
2022-02-08 15:49:15 +09:00 |
|
Hajime Hoshi
|
9c8b4db81f
|
internal/ui: separate 'vibrate' part to internal/vibrate
|
2022-02-08 14:48:55 +09:00 |
|
Hajime Hoshi
|
d2d3673bd2
|
internal/ui: remove a redundant call of SetTitle
|
2022-02-08 04:30:58 +09:00 |
|
Hajime Hoshi
|
2fc09c7fcb
|
internal/ui: use the cursor position to choose the initial monitor for Linux/UNIX
Updates #1918
Closes #1982
|
2022-02-08 03:20:45 +09:00 |
|
Hajime Hoshi
|
294ee43716
|
internal/ui: remove a special logic for UNIX
The issue #1118 can no longer be reproduced.
Updates #1118
Updates #1982
|
2022-02-08 01:29:22 +09:00 |
|
Hajime Hoshi
|
cb4085277b
|
internal/ui: bug fix: adjust the window position correctly
Updates #1982
|
2022-02-07 23:52:16 +09:00 |
|
Hajime Hoshi
|
ed04021151
|
internal/ui: use the cursor position to choose the initial monitor for Windows
Updates #1918
Updates #1982
|
2022-02-07 23:31:46 +09:00 |
|
Hajime Hoshi
|
cafb71719c
|
internal/ui: use the cursor position to choose the initial monitor
Updates #1982
|
2022-02-07 22:37:10 +09:00 |
|
Hajime Hoshi
|
126dc81a96
|
internal/ui: add a comment
|
2022-02-07 00:51:48 +09:00 |
|
Hajime Hoshi
|
b78160262c
|
internal/ui: rename files
|
2022-02-07 00:37:32 +09:00 |
|
Hajime Hoshi
|
f18aef2b08
|
ebiten: refactoring: move the caller of SetGraphicsDriver to the package ui
|
2022-02-06 22:01:25 +09:00 |
|
Hajime Hoshi
|
df60c4c92d
|
internal/driver: rename to internal/graphicsdriver
|
2022-02-06 20:41:32 +09:00 |
|
Hajime Hoshi
|
52f4c409ac
|
internal/ui: refactoring: make Graphics a global function
|
2022-02-06 20:29:49 +09:00 |
|
Hajime Hoshi
|
0f09ddfbd2
|
internal/driver: remove Window
Closes #1983
|
2022-02-06 20:12:40 +09:00 |
|
Hajime Hoshi
|
80c03792cb
|
internal/driver: move the key definitions to internal/ui
Updates #1983
|
2022-02-06 19:14:18 +09:00 |
|
Hajime Hoshi
|
887a3ff749
|
internal/cbackend: bug fix: compile error again
|
2022-02-06 19:07:17 +09:00 |
|
Hajime Hoshi
|
2fbfa5444b
|
internal/driver: remove Input
|
2022-02-06 18:34:31 +09:00 |
|
Hajime Hoshi
|
6f72b15912
|
internal/driver: move some definitions to internal/ui
Updates #1983
|
2022-02-06 18:13:45 +09:00 |
|
Hajime Hoshi
|
149736c3cf
|
internal/uidriver/*: integrate the packages into internal/ui
Updates #1983
|
2022-02-06 17:23:04 +09:00 |
|
Hajime Hoshi
|
7e5085f15b
|
Add uidriver package and move UI implementation to this packaage
|
2019-04-07 18:21:16 +09:00 |
|
Hajime Hoshi
|
a4a129e3af
|
ui: Rename currentUI -> theUI
|
2019-04-07 11:10:55 +09:00 |
|
Hajime Hoshi
|
6b8516c7a5
|
driver: Move ui.RegularTermination to driver
|
2019-04-07 10:54:05 +09:00 |
|
Hajime Hoshi
|
1b8d4abfdb
|
driver: Move ui.GraphicsContext to driver
|
2019-04-07 10:48:18 +09:00 |
|
Hajime Hoshi
|
b579bd7fd0
|
graphics: Remove GraphicsContext.Invalidated
|
2019-04-07 10:08:55 +09:00 |
|
Hajime Hoshi
|
6cdcd1ee62
|
input: Refactoring: Remove input dependencies from ui
|
2019-04-06 23:42:55 +09:00 |
|
Hajime Hoshi
|
a980de8326
|
ui: Take the Input driver
|
2019-04-06 23:29:13 +09:00 |
|
Hajime Hoshi
|
de9f54fd9d
|
driver: Add Input
|
2019-04-06 21:48:54 +09:00 |
|
Hajime Hoshi
|
80dcec865d
|
ui: Refactoring: Remove pollEvents
|
2019-03-31 19:51:53 +09:00 |
|
Hajime Hoshi
|
c21fb4d390
|
input: Move Touch to driver package
|
2019-03-31 18:58:43 +09:00 |
|
Hajime Hoshi
|
e273618081
|
input: Rename Reset -> ResetForFrame
|
2019-03-31 18:49:00 +09:00 |
|
Hajime Hoshi
|
64d3e26fb0
|
input: Rename UpdateTouches -> SetTouches
|
2019-03-31 16:30:03 +09:00 |
|
Hajime Hoshi
|
0536efd95f
|
ui: Remove AdjustedCursorPosition
|
2019-03-31 02:06:42 +09:00 |
|
Hajime Hoshi
|
dec6be1a11
|
ui: Remove AdjustedTouches
|
2019-03-31 02:03:59 +09:00 |
|
Hajime Hoshi
|
5d6f66935a
|
ui: Remove UpdateTouches
|
2019-03-31 01:54:38 +09:00 |
|
Hajime Hoshi
|
43ec1e7fb3
|
input: Refactoring: Make Touch a struct
|
2019-03-31 01:14:49 +09:00 |
|
Hajime Hoshi
|
853dbdf19d
|
input: Refactoring
|
2019-03-31 00:45:52 +09:00 |
|
Hajime Hoshi
|
7445144194
|
Move graphicsdriver.GrapahicsDriver to driver.Graphics
|
2019-03-30 22:38:02 +09:00 |
|
Hajime Hoshi
|
f2e42c3ea1
|
ui: Remove dependencies on driver package
|
2019-03-30 21:59:11 +09:00 |
|
Hajime Hoshi
|
d6d57fdadf
|
ui: Refactoring
|
2019-03-28 03:36:31 +09:00 |
|