Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]窗口化缩放 #1071

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from
Open

[WIP]窗口化缩放 #1071

wants to merge 13 commits into from

Conversation

Blinue
Copy link
Owner

@Blinue Blinue commented Feb 11, 2025

Close #135

这个 PR 用于跟踪开发进度和收集反馈。预期需要很多探索来决定路线,可能需要针对不同类型的窗口做不同的适配。已实现的功能:

  • 禁用了源窗口的标题栏和大小调整。
  • 切换前台窗口不会中止缩放,且缩放窗口不再总是置顶。现在源窗口是缩放窗口的所有者,这确保了缩放窗口始终在源窗口之上。技术上缩放窗口不再需要置顶,但置顶有助于在旧设备上激活 DirectFlip,因此当源窗口位于前台,缩放窗口仍会置顶。
    • 因此不再需要“记忆缩放窗口”功能
    • 已知问题:Win10 的文件资源管理器存在兼容性问题,置顶总是失败。
  • 如果源窗口不在前台,允许鼠标进入黑边。
  • 游戏内叠加层上添加开发者选项和调试信息,打开开发者模式后可以使用。

@Blinue Blinue added the enhancement New feature or request label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

窗口化缩放 Windowed Mode
1 participant