https://github.com/matcool/gd-webview
attempt at making a webview api with geode
https://github.com/matcool/gd-webview
Last synced: 3 months ago
JSON representation
attempt at making a webview api with geode
- Host: GitHub
- URL: https://github.com/matcool/gd-webview
- Owner: matcool
- Created: 2023-11-10T13:00:37.000Z (over 1 year ago)
- Default Branch: copyaxmol
- Last Pushed: 2023-11-10T13:12:02.000Z (over 1 year ago)
- Last Synced: 2024-12-28T16:44:48.022Z (5 months ago)
- Language: C++
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gd-webview
99.9% code copied from https://github.com/axmolengine/axmol/blob/dev/core/ui/UIWebView/UIWebViewImpl-win32.cpp, but changed to make work with our cocos.
The way it works is it makes a subwindow, since webview2 can't actually render off-screen. This means that the webview is *always* on top of everything ingame, and that it **won't** work in fullscreen.
set it up by downloading webview2:
```powershell
mkdir webview2
curl -sSL "https://www.nuget.org/api/v2/package/Microsoft.Web.WebView2" | tar -xf - -C webview2
```