CI / test (push) Failing after 23s
- lib/dock: tile layout, hit-testing, magnification, per-app colours (tested) - components/dock: plasmoid module (imports only app-catalog + app-launch) - shell: panel widgets now get pointer-move / pointer-leave while hovered Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
43 lines
774 B
Plaintext
43 lines
774 B
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "moonplasma/desktop/components/dock/gen/interface/moonplasma/desktop/plasmoid"
|
|
|
|
import {
|
|
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
|
}
|
|
|
|
// Values
|
|
pub fn info() -> PlasmoidInfo
|
|
|
|
pub fn on_event(Surface, @types.InputEvent) -> Bool
|
|
|
|
pub fn popup() -> PopupSurface?
|
|
|
|
pub fn render(@types.Size) -> Array[@types.DrawOp]
|
|
|
|
// Errors
|
|
|
|
// Types and methods
|
|
pub(all) struct PlasmoidInfo {
|
|
id : String
|
|
name : String
|
|
preferred : @types.Size
|
|
min_width : UInt32
|
|
stretch : Bool
|
|
}
|
|
|
|
pub(all) struct PopupSurface {
|
|
size : @types.Size
|
|
ops : Array[@types.DrawOp]
|
|
}
|
|
|
|
pub(all) enum Surface {
|
|
WIDGET
|
|
POPUP
|
|
}
|
|
pub fn Surface::from(Int32) -> Self
|
|
pub fn Surface::ordinal(Self) -> Int32
|
|
|
|
// Type aliases
|
|
|
|
// Traits
|