Closed hsource closed 1 year ago
@SnosMe - would it be possible to just merge this in? That would save me the tedious work of having to rebase once in a while. You don't have to address the Mac bugs and can just @ me for them and I can take a look.
Here's a new recording of the latest test - note that it actually works on fullscreen too, but my screen recorder (liceCAP) is broken with it.
Motivation
I wanted to get awakened_poe_trade working on Mac, and this was the biggest barrier, since no binaries existed for this on Mac.
PS: thanks a lot for the great demo app! I don't think developing this would've been possible without that
Fix
Created Mac interface for overlay_window.h - for the most part, this is structured similarly to the Windows/Linux code, with a few exceptions:
Side changes
Testing
Tested by:
yarn demo:electron
attachByTitle
in the electron-demo file to attach to a window with a different titleTested
Resizing, focusing
Fullscreen
https://user-images.githubusercontent.com/2937410/119969235-29ddc780-bf63-11eb-90d0-d80e57dbf5c5.mp4