texus / transparentwindows Goto Github PK
View Code? Open in Web Editor NEWExample of how to create non-rectangular semi-transparent windows (cross-platform)
License: MIT License
Example of how to create non-rectangular semi-transparent windows (cross-platform)
License: MIT License
i feel confuse about the code you write about macos
#elif defined (SFML_SYSTEM_MACOS)
bool setShape(sf::WindowHandle handle, const sf::Image& image);
bool setTransparency(sf::WindowHandle handle, unsigned char alpha);
#else
when those two function be call, nothing happen.And I run the code in mac, a borderless window with black background and an image in it appear like this:
hi!
great example!
currently I consider to enhance my old (linux) game launcher
https://github.com/frostworx/typhon-launcher
a bit and would like to make it work optionally as some "desktop HUD overlay",
so you could work on both the launcher and on the desktop, depending on where you click etc.
for that I need alpha gradient compatibility, but I haven't found a way to make it work.
all alpha gradients are cut rough, so either it is transparent or black.
(f.e. with that image: https://github.com/frostworx/typhon-launcher/blob/master/data/themedata/typhon/jewelcase1.png )
do you have a clue if that could work correctly?
would be nice if you could help.
In case I get something to work, would you mind me committing your code in my project?
of course with mentioning the source.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.