Draw the UI's display list into the window. Returns false when there was nothing to draw into (the window is hidden) and the frame should be tried again.
- r: the window renderer.
- ui: the UI whose display list to draw.
- clear: the colour the window is cleared to first.
present :: (r: *Renderer, ui: *UI_State, clear: Color) -> bool
Draw the UI's display list into the window. Returns false when there was nothing to draw into (the window is hidden) and the frame should be tried again.
Parameters
- r: *Renderer
- the window renderer.
- ui: *UI_State
- the UI whose display list to draw.
- clear: Color
- the colour the window is cleared to first.
Returns
- bool