mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
devicescale: Rename XFCE -> Xfce
This commit is contained in:
parent
ee87a0fd71
commit
4bcb2e5682
@ -34,7 +34,7 @@ const (
|
|||||||
desktopCinnamon
|
desktopCinnamon
|
||||||
desktopUnity
|
desktopUnity
|
||||||
desktopKDE
|
desktopKDE
|
||||||
desktopXFCE
|
desktopXfce
|
||||||
)
|
)
|
||||||
|
|
||||||
func currentDesktop() desktop {
|
func currentDesktop() desktop {
|
||||||
@ -49,7 +49,7 @@ func currentDesktop() desktop {
|
|||||||
case "KDE":
|
case "KDE":
|
||||||
return desktopKDE
|
return desktopKDE
|
||||||
case "XFCE":
|
case "XFCE":
|
||||||
return desktopXFCE
|
return desktopXfce
|
||||||
default:
|
default:
|
||||||
return desktopUnknown
|
return desktopUnknown
|
||||||
}
|
}
|
||||||
@ -115,7 +115,7 @@ func impl() float64 {
|
|||||||
case desktopKDE:
|
case desktopKDE:
|
||||||
// TODO: Implement
|
// TODO: Implement
|
||||||
return 1
|
return 1
|
||||||
case desktopXFCE:
|
case desktopXfce:
|
||||||
// TODO: Implement
|
// TODO: Implement
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
2
run.go
2
run.go
@ -296,7 +296,7 @@ func SetWindowIcon(iconImages []image.Image) {
|
|||||||
ui.SetWindowIcon(iconImages)
|
ui.SetWindowIcon(iconImages)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeviceScaleFactor returns a device scale value.
|
// DeviceScaleFactor returns a device scale factor value.
|
||||||
//
|
//
|
||||||
// DeviceScaleFactor returns a meaningful value on high-DPI display environment,
|
// DeviceScaleFactor returns a meaningful value on high-DPI display environment,
|
||||||
// otherwise DeviceScaleFactor returns 1.
|
// otherwise DeviceScaleFactor returns 1.
|
||||||
|
Loading…
Reference in New Issue
Block a user