Hajime Hoshi
|
db1b664424
|
devicescale: Refactoring: define Windows error consts
|
2019-01-04 06:05:35 +09:00 |
|
Hajime Hoshi
|
75a024e40e
|
devicescale: Bug fix: GetWindowDC returns error on Wine
Fixes #743
|
2019-01-04 05:58:34 +09:00 |
|
Hajime Hoshi
|
5c1b0bbcec
|
devicescale: Remove 'syscall' package usages (#766)
|
2019-01-04 05:53:18 +09:00 |
|
Hajime Hoshi
|
d165673789
|
devicescale: Bug fix: Crash on Wine
GetWindowDC(0) doesn't work on Wine. Let that return an arbitrary
scale 1 in this case.
Fixes #738
|
2018-11-24 16:37:30 +09:00 |
|
Ben Echols
|
5e70fce639
|
Added monitor cache and scale cache (#731)
|
2018-11-07 20:54:37 +09:00 |
|
Hajime Hoshi
|
faf32b9d37
|
devicescale: Plan 9 support
|
2018-10-13 04:08:40 +09:00 |
|
Hajime Hoshi
|
f3b7148564
|
ui: Bug fix: DeviceScaleFactor should return the current monitor's scale
|
2018-10-08 01:11:13 +09:00 |
|
Hajime Hoshi
|
e0d2d5e753
|
ui: Bug fix: wrong scaling when a window move across monitors
Fixes #701
|
2018-10-07 23:05:20 +09:00 |
|
Hajime Hoshi
|
55a397bd65
|
devicescale: Specify the monitor to get the scale
Fixes #695
|
2018-10-06 19:43:23 +09:00 |
|
Hajime Hoshi
|
8771d27d64
|
devicescale: Rename variables
|
2018-10-06 17:29:40 +09:00 |
|
Hajime Hoshi
|
1807a3f530
|
devicescale: Rename function
|
2018-10-04 01:28:53 +09:00 |
|
Hajime Hoshi
|
11d23bafa9
|
devicescale: Bug fix: the active window can't be passed to ReleaseDC
|
2018-10-03 04:16:28 +09:00 |
|
Hajime Hoshi
|
eef9c01735
|
gofmt -s -w
|
2018-10-03 03:25:44 +09:00 |
|
Hajime Hoshi
|
cf41e0aa0a
|
devicescale: Rename logPixelSx -> logPixelsX
|
2018-10-03 03:13:36 +09:00 |
|
Hajime Hoshi
|
399317a2cf
|
devicescale: Get the current monitor's scale on Windows (#644)
|
2018-10-03 03:09:42 +09:00 |
|
Hajime Hoshi
|
21c1ee5dfb
|
ui: Cache devicescale value on mobiles
|
2018-10-02 03:51:13 +09:00 |
|
Hajime Hoshi
|
bf850e12a4
|
ui: Recalc device scale repeatedly for multiple displays (#644)
|
2018-10-02 02:49:08 +09:00 |
|
Hajime Hoshi
|
ed99719fdb
|
devicescale: Use app.RunOnJVM and remove internal/jni
|
2018-08-06 23:50:37 +09:00 |
|
Hajime Hoshi
|
af77a17aaa
|
devicescale: Use mainScreen instead of screens[0] to get the 'current' screen state
|
2018-08-05 19:18:40 +09:00 |
|
Hajime Hoshi
|
6e51d31524
|
Use new GopherWasm API (#634)
I plan to merge this right after
https://github.com/gopherjs/gopherwasm/pull/3 is merged.
|
2018-06-30 00:02:15 +09:00 |
|
Hajime Hoshi
|
a9359e4ef8
|
Use GopherJS/GopherWasm
|
2018-06-24 16:10:24 +09:00 |
|
Hajime Hoshi
|
980055e07a
|
devicescale: Use gopherwasm
|
2018-05-25 02:00:41 +09:00 |
|
Hajime Hoshi
|
167d21ec46
|
devicescale: Panic on Android when called from init funcs
|
2018-05-05 03:16:29 +09:00 |
|
Hajime Hoshi
|
9a06b31556
|
ui: Don't panic at DeviceScaleFactor in init
Fixes #597
|
2018-05-05 01:28:29 +09:00 |
|
Hajime Hoshi
|
4bcb2e5682
|
devicescale: Rename XFCE -> Xfce
|
2018-01-04 17:16:02 +09:00 |
|
Hajime Hoshi
|
ee87a0fd71
|
devicescale: Add other desktops
|
2018-01-04 03:29:58 +09:00 |
|
Hajime Hoshi
|
75f5cbd45a
|
devicescale: Rename windowManager -> desktop
|
2018-01-04 03:22:30 +09:00 |
|
Hajime Hoshi
|
60993fe3ea
|
devicescale: Rename files
|
2018-01-04 03:19:19 +09:00 |
|
Hajime Hoshi
|
738d23cf51
|
devicescale: Bug fix: need to parse XDG_CURRENT_DESKTOP for GNOME classic
|
2018-01-04 00:55:53 +09:00 |
|
Hajime Hoshi
|
70f9fee8af
|
devicescale: Detect window manager
|
2018-01-04 00:01:41 +09:00 |
|
Hajime Hoshi
|
eac5564342
|
devicescale: Fix scaling on UNIX
|
2018-01-03 23:38:47 +09:00 |
|
Hajime Hoshi
|
9ec0785203
|
Rename files _xwindow.go to _unix.go
|
2018-01-03 23:38:47 +09:00 |
|
Hajime Hoshi
|
edaaa178b8
|
devicescale: Implement scaling for Gnome and Cinnamon (#344)
|
2018-01-03 23:36:33 +09:00 |
|
Hajime Hoshi
|
5a17497723
|
devicescale: Make DeviceScale concurrent-safe
|
2018-01-03 16:52:26 +09:00 |
|
Hajime Hoshi
|
0f450fb1e2
|
devicescale: Use NewLazyDLL on Windows
|
2018-01-03 16:24:53 +09:00 |
|
Hajime Hoshi
|
7b759faf36
|
devicescale: Bug fix: SetProcessDPIAware needs to be called
|
2018-01-03 15:43:56 +09:00 |
|
Hajime Hoshi
|
c82809867d
|
Add internal/devicescale
|
2018-01-03 05:22:56 +09:00 |
|