Expand description
This module contains relevent structs for slint side backend configurations. Apart from SpellMultiLayerShell and SpellMultiWinHandler, rest of the structs mentioned are either internal or not used anymore. Still their implementation is public because they had be set by the user of library in intial iterations of spell_framework.
Structs§
- Spell
Layer Shell - Previously needed to be implemented, now this struct is called and set internally
when
invoke_spellis called. - Spell
Lock Shell - Spell
Multi Layer Shell - This struct needs to be set when multiple windows are to be started together. It is
used in combination with
conjure_spellsand is required to be set before any other initialisation with an instance of SpellMultiWinHandler. It implements slint’s Platform trait and is set internally. - Spell
Multi WinHandler - Used for the initialisation of SpellMultiLayerShell, this struct is responsible for handling, initialising, updating and maintaing of various widgets that are being rendered simultaneously. It uses SpellSkiaWinAdapter internally.
Type Aliases§
- Spell
Skia WinAdapter - It is the main struct handling the rendering of pixels in the wayland window. It implements slint’s WindowAdapter trait. It is used internally by SpellMultiWinHandler and previously by SpellLayerShell. This adapter internally uses Skia 2D graphics library for rendering.