forked from revery-ui/revery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Windows): ensure WS_CAPTION is set on undecorated windows (revery…
…-ui#862) * Native: add initWindow, rename init -> initApp * Formatting * Revery_Native: add clarifying comment * Window: move where Maximize is placed so flag is set
- Loading branch information
Showing
4 changed files
with
35 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
external init: unit => unit = "revery_initialize"; | ||
external initApp: unit => unit = "revery_initializeApp"; | ||
external uninitApp: unit => unit = "revery_uninitializeApp"; | ||
|
||
external uninit: unit => unit = "revery_uninitialize"; | ||
external _initWindow: Sdl2.Window.nativeWindow => unit = | ||
"revery_initializeWindow"; | ||
let initWindow = (w: Sdl2.Window.t) => | ||
_initWindow(w |> Sdl2.Window.getNativeWindow); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters