Skip to content

Commit

Permalink
Window: bind to SDL2's raise (revery-ui#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbaylin authored Jun 19, 2020
1 parent 5912a7b commit 2ee8499
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Core/Window.re
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ let isFullscreen = (w: t) => {
Sdl2.Window.isFullscreen(w.sdlWindow);
};

let raise = (w: t) => {
Sdl2.Window.raise(w.sdlWindow);
};

let restore = (w: t) => {
Sdl2.Window.restore(w.sdlWindow);
};
Expand Down
1 change: 1 addition & 0 deletions src/Core/Window.rei
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ let show: t => unit;
let maximize: t => unit;
let isMaximized: t => bool;
let isFullscreen: t => bool;
let raise: t => unit;
let restore: t => unit;
let minimize: t => unit;

Expand Down

0 comments on commit 2ee8499

Please sign in to comment.