OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.games.games_session_if.GamesSessionIf Class Reference

Lifecycle consumed by the screen; composition owns its implementation. More...

Public Member Functions

None activate (self, GamesUiIf games_ui, GamesRuntimeUiIf runtime_ui)
 Bind a visible destination and start its inventory.
None deactivate (self)
 Unbind presentation and invalidate pending runtime work.
None resize (self, int width, int height)
 Request a native host resize without blocking presentation.
None close (self)
 Retire the session and release its native resources.

Detailed Description

Lifecycle consumed by the screen; composition owns its implementation.

Member Function Documentation

◆ activate()

None ui.games.games_session_if.GamesSessionIf.activate ( self,
GamesUiIf games_ui,
GamesRuntimeUiIf runtime_ui )

Bind a visible destination and start its inventory.

Parameters
games_uiInventory presentation to bind.
runtime_uiNative host presentation to bind.

◆ resize()

None ui.games.games_session_if.GamesSessionIf.resize ( self,
int width,
int height )

Request a native host resize without blocking presentation.

Parameters
widthHost width in pixels.
heightHost height in pixels.

The documentation for this class was generated from the following file:
  • ui/games/games_session_if.py