fullscreenFlags available for those who want an alternative
to withFullscreen without reinventing too much.
Raw.begin got open and flags arguments.
Added Raw.setNextWindowFullscreen combo block.
I decided not to break down setNextWindowFullscreen further due to 2 things:
Using setNextWindowSize will require copying GetIO().DisplaySize results back and forth, or using naked Ptr ImVec2 (which may be fine here, but that's not a right thing to do in general). I'd very much prefer to defer that to an ImGuiIO interface later.
Using setNextWindowPos will require allocating pointers for what is basically a static ImVec2(0, 0).
Maybe I'm thinking too much about those pointers...
Take 2.
fullscreenFlags
available for those who want an alternative towithFullscreen
without reinventing too much.Raw.begin
gotopen
andflags
arguments.Raw.setNextWindowFullscreen
combo block.I decided not to break down
setNextWindowFullscreen
further due to 2 things:setNextWindowSize
will require copyingGetIO().DisplaySize
results back and forth, or using nakedPtr ImVec2
(which may be fine here, but that's not a right thing to do in general). I'd very much prefer to defer that to anImGuiIO
interface later.setNextWindowPos
will require allocating pointers for what is basically a staticImVec2(0, 0)
.Maybe I'm thinking too much about those pointers...