Backends
The base class of the backends, the window bridge contract and the UI bridges that hold, route and draw the UIs of a window. Learn: Choosing a backend, Embedding JOID, Writing a backend.
| Type | Kind | Summary |
|---|---|---|
Backend | class | The base class of every backend, which connects JOID to a window, a graphics API and an audio device in one register() call. |
IUIBridge | interface | The contract of a UI bridge, the place where JOID opens, holds and closes the UIs of one surface. |
IWindowBridge | interface | The bridge that reads the drawable size, the mouse, the held keys and the clipboard of the window, in screen pixels. |
StackUIBridge | class | A UI bridge in which opening a screen closes the open screens and popups, while overlays and popups stack above them. |
UIBridge | class | The base class of every UI bridge, which dispatches the input to its UIs, updates them and draws them by layer. |
UIBridgeRegistry | class | The registry of UI bridges, which runs the frame of each one and routes the input between them. |
WindowUIBridge | class | The default UI bridge, which clears the window to a color every frame and draws text tooltips. |
