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 |
|
Hajime Hoshi
|
8ec7ae4c08
|
Rename drivers -> driver
|
2019-03-28 01:48:45 +09:00 |
|
Hajime Hoshi
|
5e38f81462
|
Create packages drivers having actual drivers
|
2019-03-25 00:29:56 +09:00 |
|
Hajime Hoshi
|
dbc3461628
|
ui: Use flexbox for centering
|
2019-03-20 01:44:36 +09:00 |
|
Hajime Hoshi
|
a3882dbc37
|
ui: Bug fix: devicescale.GetAt must be called on the main thread
|
2019-03-12 00:28:37 +09:00 |
|
Hajime Hoshi
|
f56c3bd096
|
ui: Unexport SetWindowResizable (#320)
|
2019-02-25 02:19:47 +09:00 |
|
Hajime Hoshi
|
ea7c2f8da3
|
ui: Bug fix: Wrong assumption that the position was always >= 0
|
2019-02-24 23:34:36 +09:00 |
|
Hajime Hoshi
|
ba59cdbc5f
|
ui: Bug fix: The window must be shown on the current monitor (#829)
|
2019-02-24 23:26:07 +09:00 |
|
Hajime Hoshi
|
288e0a33ba
|
ui: Bug fix: SetSizeCallback must be effective only when the window is resizable
This is not a perfect solution but at least this fixes the
regression.
Fix #819
|
2019-02-24 03:25:38 +09:00 |
|