Skip to content

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.

TypeKindSummary
BackendclassThe base class of every backend, which connects JOID to a window, a graphics API and an audio device in one register() call.
IUIBridgeinterfaceThe contract of a UI bridge, the place where JOID opens, holds and closes the UIs of one surface.
IWindowBridgeinterfaceThe bridge that reads the drawable size, the mouse, the held keys and the clipboard of the window, in screen pixels.
StackUIBridgeclassA UI bridge in which opening a screen closes the open screens and popups, while overlays and popups stack above them.
UIBridgeclassThe base class of every UI bridge, which dispatches the input to its UIs, updates them and draws them by layer.
UIBridgeRegistryclassThe registry of UI bridges, which runs the frame of each one and routes the input between them.
WindowUIBridgeclassThe default UI bridge, which clears the window to a color every frame and draws text tooltips.

Report a problem with this page