zaafar / ClickableTransparentOverlay

A library for creating transparent overlay using windows API & ImGui.NET
Apache License 2.0
87 stars 33 forks source link

Latest update #73

Closed TheSadCollector closed 1 month ago

TheSadCollector commented 1 month ago

Seems like the last few updates has broken the resolution and only does about half the screen. Also I wanted to ask if there an option to disable the transparent background on the imgui menus? Changing the alpha seems to do nothing but I just want it a solid colour.

zaafar commented 1 month ago

try doing something like this and see if it fixes the issue. https://github.com/zaafar/ClickableTransparentOverlay/blob/master/Examples/SimpleExample/SampleOverlay.cs#L11

Also I wanted to ask if there an option to disable the transparent background on the imgui menus? Changing the alpha seems to do nothing but I just want it a solid colour.

do u have an example screenshot of what you want vs what you are getting.

TheSadCollector commented 1 month ago

try doing something like this and see if it fixes the issue. https://github.com/zaafar/ClickableTransparentOverlay/blob/master/Examples/SimpleExample/SampleOverlay.cs#L11

Also I wanted to ask if there an option to disable the transparent background on the imgui menus? Changing the alpha seems to do nothing but I just want it a solid colour.

do u have an example screenshot of what you want vs what you are getting.

Ah, that example worked great! Thank you. Only issue so far is when I change the alpha in ShowStyleEditor for any colour it seems to cause a crash with the error "Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

zaafar commented 1 month ago

if you can reproduce this issue in any one of the example projects (i.e. https://github.com/zaafar/ClickableTransparentOverlay/tree/master/Examples) & share the diff/code. i will take a look at it.

TheSadCollector commented 1 month ago

if you can reproduce this issue in any one of the example projects (i.e. https://github.com/zaafar/ClickableTransparentOverlay/tree/master/Examples) & share the diff/code. i will take a look at it.

Looks like I'm unable to replicate at all now! I think you can mark this as solved since it might've been user error!