native-canvas icon indicating copy to clipboard operation
native-canvas copied to clipboard

Transparency/Overlaying

Open blaconix opened this issue 6 years ago • 2 comments
trafficstars

Hello, first of all, I would like to congratulate you for this awesome piece if engineering, I've looked through the source and it's amazing.

Now, onto the main point. I seem to have some trouble regarding the customization of the window, could you provide another example in which you pass custom options? I managed to create another window with custom options by importing the createWindow function, but I have no idea how to get the main window which pops up to have them.

Also, is there any way to make the window, along with the canvas, transparent? I would like to run it as a transparent external overlay over another window. Again, I managed to create another window borderless and all, but still had issues with making it transparent.

All in all, it's really awesome what I got my hands on, and I'm glad I discovered this project.

blaconix avatar Jan 09 '19 11:01 blaconix

@Blaconix Sorry I'm just now seeing this issue. I'm not certain if the windows can be transparent, let me try to see if that's possible with SDL, and try to put together an example for you.

Thanks for your patience.

mcchatman8009 avatar Feb 25 '19 04:02 mcchatman8009

I'll be sure to take into account your suggestions on window customization, especially on the next releases to come. @Blaconix

mcchatman8009 avatar Feb 25 '19 05:02 mcchatman8009