如何自定义HUD面板的框架和标题区域的颜色
我需要让用户自定义 HUD 窗口外观。有没有办法改变HUD窗口的框架和标题区域颜色?有一个 API 用于更改窗口的背景颜色,但标题和框架保持半透明的黑色。我想避免自己绘制这些区域。
谢谢,
纳瓦
I need to let the user to customize the HUD window appearance. Is there a way to change the frame and the title area color of HUD window? There is an API for changing a background color of the window, but title and the frame stay semitransparent black. I'd like to avoid drawing these areas by myself.
Thanks,
Nava
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
万一没人知道,我找到了几个可以做到这一点的链接。其中之一是 Synapse 项目,它展示了如何使用私有标头并自行绘制窗口。这绝对不是直截了当的,IMO 应该被本机接口允许。非常感谢写它的人:
Synapse 项目
In case nobody knows, I found a couple of links that do it. One of them is a Synapse project, which shows how to use private headers and draws the window by itself. Definitely it's not straight forward and IMO should be allowed by native interfaces. Many thanks to the guy that wrote it:
Synapse project