yglukhov / nimx

GUI library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Borderless window on macos

tetris-hermetris opened this issue · comments

Is it any way to create a borderless window in macOS using nimx? (styleMask: .borderless)
Something like this:
Screen-Shot-2020-12-10-at-17 08 08
Maybe some AppKit-only solution?

I don't think nimx exposes any direct api to do that, but at least it should be possible to create a window natively and pass it to nimx or SDL_CreateWindowFrom and then pass it to nimx, or something like that. Until now it was a road less taken, so PRs are welcome :)

I thought you could use alpha for that