Add functions for getting window position and size (#89)

- getWindowPos
- getWindowSize
- getWindowWidth
- getWindowHeight

Closes #88
This commit is contained in:
Alexander Bondarenko
2021-09-11 13:09:11 +03:00
committed by GitHub
parent 08b3139477
commit be7aa1e9b1
2 changed files with 46 additions and 2 deletions

View File

@ -49,6 +49,15 @@ module DearImGui
, begin
, Raw.end
-- ** Utilities
, Raw.getWindowPos
, Raw.getWindowSize
, Raw.getWindowWidth
, Raw.getWindowHeight
-- ** Manipulation
, setNextWindowPos
, setNextWindowSize
, Raw.setNextWindowFullscreen
@ -57,7 +66,7 @@ module DearImGui
, setNextWindowCollapsed
, setNextWindowBgAlpha
-- * Child Windows
-- ** Child Windows
, withChild
, withChildOpen
, beginChild