开发者

how to customize the color of frame and title area of HUD panel

开发者 https://www.devze.com 2023-01-09 16:28 出处:网络
I need to let开发者_Python百科 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 col

I need to let开发者_Python百科 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消