Drop pkg.generated.mbti files the test run left in the last commit
CI / test (push) Successful in 12m25s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hhiJfJNAYqWzQiuKMf
This commit is contained in:
Claude committed 2026-11-26 02:36:40 +00:00
1 parent 9f7489cfea
commit 63ce79fa7c
53 files changed
+5 -1313

No files matched your search

@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/compositor/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/compositor/gen/world/compositor"
// Values
pub fn run(Array[String]) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,27 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/icon-desktop/gen/interface/chandra/desktop/desktop-module"
import {
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
pub fn backdrop() -> WallpaperMode
pub fn on_scroll(@types.Point, Int32, Int32) -> Bool
pub fn tick(UInt32) -> UInt32
// Errors
// Types and methods
pub(all) enum WallpaperMode {
OVER_WALLPAPER
REPLACE_WALLPAPER
}
pub fn WallpaperMode::from(Int32) -> Self
pub fn WallpaperMode::ordinal(Self) -> Int32
// Type aliases
// Traits
@@ -1,21 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/icon-desktop/gen/interface/chandra/desktop/module-config"
// Values
pub fn config_items() -> Array[ConfigItem]
pub fn set_config(String, String) -> Bool
// Errors
// Types and methods
pub(all) struct ConfigItem {
key : String
label : String
choices : Array[String]
value : String
}
// Type aliases
// Traits
@@ -1,42 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/icon-desktop/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/icon-desktop/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,42 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/inspector/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/inspector/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,42 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/layout/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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
-13
View File
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/layout/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,42 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/network/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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
@@ -1,42 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/screenshot/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/screenshot/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,44 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/session-settings/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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]
}
type Row
pub(all) enum Surface {
WIDGET
POPUP
}
pub fn Surface::from(Int32) -> Self
pub fn Surface::ordinal(Self) -> Int32
// Type aliases
// Traits
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/session-settings/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,27 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/starfield/gen/interface/chandra/desktop/desktop-module"
import {
"chandra/desktop/interface/chandra/desktop/types",
}
// Values
pub fn backdrop() -> WallpaperMode
pub fn on_scroll(@types.Point, Int32, Int32) -> Bool
pub fn tick(UInt32) -> UInt32
// Errors
// Types and methods
pub(all) enum WallpaperMode {
OVER_WALLPAPER
REPLACE_WALLPAPER
}
pub fn WallpaperMode::from(Int32) -> Self
pub fn WallpaperMode::ordinal(Self) -> Int32
// Type aliases
// Traits
@@ -1,21 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/starfield/gen/interface/chandra/desktop/module-config"
// Values
pub fn config_items() -> Array[ConfigItem]
pub fn set_config(String, String) -> Bool
// Errors
// Types and methods
pub(all) struct ConfigItem {
key : String
label : String
choices : Array[String]
value : String
}
// Type aliases
// Traits
@@ -1,42 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/starfield/gen/interface/chandra/desktop/plasmoid"
import {
"chandra/desktop/interface/chandra/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
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/components/starfield/gen"
// Values
pub fn mbt_ffi_cabi_realloc(Int32, Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
// Type aliases
// Traits
-3
View File
@@ -7,9 +7,6 @@ pub fn run(Array[String]) -> Int32
// Errors
// Types and methods
type IdleClock
type Pacer
// Type aliases
+2 -2
View File
@@ -24,10 +24,10 @@ pub fn render_scene(@scene.SceneGraph) -> Pixmap
pub fn scale_pixmap(Pixmap, Int32, Int32) -> Pixmap
pub fn set_glyph_source((Int32, Int32, Bool, Bool) -> Glyph) -> Unit
pub fn set_image(UInt32, Pixmap) -> UInt32
pub fn set_glyph_source((Int32, Int32, Bool, Bool) -> Glyph) -> Unit
pub fn shm_thumbnail(@scene.ShmBufferSnapshot, Int32, Int32) -> Pixmap?
pub fn text_width(String, Int32, Bool, Bool) -> Int32
-2
View File
@@ -92,7 +92,6 @@ pub(all) enum TextAlign {
Right
}
#derive(Eq)
pub(all) struct ThemePalette {
desktop_top : Rgba
desktop_bottom : Rgba
@@ -106,7 +105,6 @@ pub(all) struct ThemePalette {
border : Rgba
}
#derive(Eq)
pub(all) struct ThemeTokens {
name : String
palette : ThemePalette
@@ -1,32 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/default-apps"
// Values
pub fn apps() -> Array[AppChoice]
pub fn categories() -> Array[AppCategory]
pub fn refresh() -> Unit
pub fn set_default(UInt32, UInt32) -> Unit
// Errors
// Types and methods
pub(all) struct AppCategory {
name : String
current : String
missing : String
}
pub(all) struct AppChoice {
category : UInt32
id : String
name : String
icon : UInt32
current : Bool
}
// Type aliases
// Traits
@@ -1,13 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/icons"
// Values
pub fn app_icon(String) -> UInt32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,15 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/inspector"
// Values
pub fn is_on() -> Bool
pub fn set_on(Bool) -> Unit
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,17 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/layout-control"
// Values
pub fn current_layout() -> UInt32
pub fn layout_modes() -> Array[String]
pub fn set_layout(UInt32) -> Unit
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,35 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/modules"
// Values
pub fn available() -> Array[ModuleInfo]
pub fn browse() -> Unit
pub fn load_module(String) -> Unit
pub fn loaded() -> Array[InstanceInfo]
pub fn move_instance(String, Int32) -> Unit
pub fn unload_instance(String) -> Unit
// Errors
// Types and methods
pub(all) struct InstanceInfo {
slot : String
module_ : String
name : String
}
pub(all) struct ModuleInfo {
id : String
name : String
path : String
loaded : UInt32
}
// Type aliases
// Traits
@@ -1,45 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/network"
// Values
pub fn connect(String, String) -> Unit
pub fn disconnect() -> Unit
pub fn forget(String) -> Unit
pub fn scan() -> Unit
pub fn set_airplane_mode(Bool) -> Unit
pub fn set_wifi_enabled(Bool) -> Unit
pub fn status() -> NetStatus
pub fn wifi_networks() -> Array[WifiNetwork]
// Errors
// Types and methods
pub(all) struct NetStatus {
state : UInt32
signal : UInt32
name : String
message : String
wifi_enabled : Bool
airplane : Bool
can_manage : Bool
has_wifi : Bool
}
pub(all) struct WifiNetwork {
ssid : String
signal : UInt32
secured : Bool
active : Bool
saved : Bool
}
// Type aliases
// Traits
@@ -1,25 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/power"
// Values
pub fn power_off() -> Unit
pub fn reboot() -> Unit
pub fn screen_off_minutes() -> UInt32
pub fn set_screen_off_minutes(UInt32) -> Unit
pub fn set_suspend_minutes(UInt32) -> Unit
pub fn suspend() -> Unit
pub fn suspend_minutes() -> UInt32
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,23 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/screenshot"
// Values
pub fn is_recording() -> Bool
pub fn records_pointer() -> Bool
pub fn set_records_pointer(Bool) -> Unit
pub fn start_recording(UInt32) -> Unit
pub fn stop_recording() -> Unit
pub fn take(UInt32) -> Unit
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,17 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/session-settings"
// Values
pub fn is_on(UInt32) -> Bool
pub fn set_setting(UInt32, Bool) -> Unit
pub fn settings() -> Array[String]
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,15 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/session"
// Values
pub fn logout() -> Unit
pub fn reload() -> Unit
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,28 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/shortcuts"
// Values
pub fn cancel_capture() -> Unit
pub fn capture(UInt32) -> Unit
pub fn reset(UInt32) -> Unit
pub fn reset_all() -> Unit
pub fn shortcuts() -> Array[Shortcut]
// Errors
// Types and methods
pub(all) struct Shortcut {
name : String
binding : String
default_binding : String
conflict : String
capturing : Bool
}
// Type aliases
// Traits
@@ -1,24 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/system"
// Values
pub fn read() -> Snapshot
// Errors
// Types and methods
pub(all) struct Snapshot {
cpu_permille : UInt32
mem_used_kib : UInt64
mem_total_kib : UInt64
battery_percent : Int32
charging : Bool
uptime_secs : UInt64
net_rx_bytes_per_sec : UInt64
net_tx_bytes_per_sec : UInt64
load_centi : UInt32
}
// Type aliases
// Traits
@@ -1,23 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/wallpaper"
// Values
pub fn current_desktop() -> UInt32
pub fn current_wallpaper() -> UInt32
pub fn desktops() -> Array[String]
pub fn set_desktop(UInt32) -> Unit
pub fn set_wallpaper(UInt32) -> Unit
pub fn wallpapers() -> Array[String]
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,32 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/desktop/windows"
// Values
pub fn all() -> Array[WindowDetail]
pub fn focus(UInt64) -> Unit
pub fn focus_window(UInt32) -> Unit
pub fn list_windows() -> Array[WindowInfo]
// Errors
// Types and methods
pub(all) struct WindowDetail {
id : UInt64
title : String
app_id : String
focused : Bool
}
pub(all) struct WindowInfo {
id : UInt32
title : String
focused : UInt32
minimized : UInt32
}
// Type aliases
// Traits
@@ -1,23 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/host/font"
// Values
pub fn load(UInt32, String) -> Bool
pub fn rasterise(UInt32, UInt32, UInt32) -> Glyph
// Errors
// Types and methods
pub(all) struct Glyph {
width : Int32
height : Int32
xoff : Int32
yoff : Int32
advance : Int32
coverage : FixedArray[Byte]
}
// Type aliases
// Traits
@@ -1,135 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/interface/chandra/host/raster"
// Values
pub fn capture(Int32, Int32, Int32, Int32, Int32, Int32) -> UInt32
pub fn export_memfd() -> Int32
pub fn grab_recording_frame(Int32, Int32, Int32, Int32, Bool, Int32, Int32) -> Bool
pub fn image_pixels(Int32, Int32, FixedArray[Byte], UInt32) -> UInt32
pub fn load_image(String) -> UInt32
pub fn read_frame() -> FixedArray[Byte]
pub fn release(UInt32) -> Unit
pub fn send_recording_frame(Int32) -> Int32
pub fn snapshot_frame() -> Bool
pub fn snapshot_pixels(Int32, Int32, Int32, Int32, Int32, Int32) -> FixedArray[Byte]
pub fn snapshot_png(Int32, Int32, Int32, Int32) -> FixedArray[Byte]
pub fn submit(Frame) -> Unit
pub fn thumbnail(UInt32, Int32, Int32, UInt32) -> UInt32
pub fn write_frame_png(String) -> Bool
// Errors
// Types and methods
pub(all) struct Color {
r : Byte
g : Byte
b : Byte
a : Byte
}
pub(all) struct Disc {
cx : Int32
cy : Int32
radius : Int32
color : Color
filled : Bool
}
pub(all) struct Fill {
area : Rect
color : Color
radius : Int32
}
pub(all) struct Frame {
width : Int32
height : Int32
wallpaper : Array[Op]?
background : Array[Op]
windows : Array[Window]
panel : Array[Op]
popups : Array[Popup]
}
pub(all) struct Label {
x : Int32
y : Int32
text : String
size : Int32
color : Color
align : Byte
bold : Bool
mono : Bool
}
pub(all) enum Op {
FillRect(Fill)
StrokeRect(Stroke)
DrawLine(Segment)
DrawCircle(Disc)
DrawText(Label)
PushClip(Rect)
PopClip
DrawImage(Picture)
}
pub(all) struct Picture {
area : Rect
image : UInt32
}
pub(all) struct Popup {
area : Rect
surface : UInt32
}
pub(all) struct Rect {
x : Int32
y : Int32
w : Int32
h : Int32
}
pub(all) struct Segment {
x0 : Int32
y0 : Int32
x1 : Int32
y1 : Int32
color : Color
width : Int32
}
pub(all) struct Stroke {
area : Rect
color : Color
width : Int32
radius : Int32
}
pub(all) struct Window {
geometry : Rect
inset_top : Int32
inset_right : Int32
inset_bottom : Int32
inset_left : Int32
deco : Array[Op]
fullscreen : Bool
surface : UInt32
}
// Type aliases
// Traits
@@ -42,7 +42,7 @@ pub fn sleep_ms(Int32) -> Unit
pub fn spawn(String, String) -> Bool
pub fn spawn_socket(String) -> Int32
pub fn spawn_socket(String) -> Int
pub fn take_fd(Int32) -> Int32
-46
View File
@@ -12,60 +12,22 @@ pub let binary_config : ClockConfig
pub fn binary_info() -> (String, String, Int32, Int32, Int32)
pub fn days_in_month(Int32, Int32) -> Int32
pub let digital_config : ClockConfig
pub fn digital_info() -> (String, String, Int32, Int32, Int32)
pub fn is_leap(Int32) -> Bool
pub fn iso_week(Int32, Int32, Int32) -> Int32
pub fn long_date(@types.Datetime) -> String
pub fn month_grid(Int32, Int32, Bool) -> Array[DayCell]
pub fn render_binary(@types.Size, @theme.Tokens, @types.Datetime, seconds? : Bool) -> Array[@types.DrawOp]
pub fn render_digital(@types.Size, @theme.Tokens, @types.Datetime, hour12? : Bool, show_date? : Bool, ampm? : Bool) -> Array[@types.DrawOp]
pub fn weekday_of(Int32, Int32, Int32) -> Int32
// Errors
// Types and methods
pub(all) struct Calendar {
mut open : Bool
mut year : Int32
mut month : Int32
mut monday_first : Bool
mut week_numbers : Bool
mut hover : CalendarHit
}
pub fn Calendar::go_today(Self, @types.Datetime) -> Unit
pub fn Calendar::handle(Self, Bool, @types.InputEvent, @types.Datetime) -> Bool
pub fn Calendar::hit(Self, Int32, Int32) -> CalendarHit
pub fn Calendar::new() -> Self
pub fn Calendar::render(Self, @theme.Tokens, @types.Datetime, hour12? : Bool, ampm? : Bool) -> Array[@types.DrawOp]
pub fn Calendar::shift(Self, Int32) -> Unit
pub fn Calendar::size(Self) -> (Int32, Int32)
pub fn Calendar::toggle(Self, @types.Datetime) -> Unit
#derive(Eq, @debug.Debug)
pub(all) enum CalendarHit {
Prev
Next
Today
Nothing
}
pub(all) struct ClockConfig {
mut hour12 : Bool
mut show_date : Bool
mut seconds : Bool
mut ampm : Bool
cal : Calendar
}
pub fn ClockConfig::binary_items(Self) -> Array[ConfigEntry]
pub fn ClockConfig::digital_items(Self) -> Array[ConfigEntry]
@@ -80,14 +42,6 @@ pub(all) struct ConfigEntry {
value : String
}
#derive(Eq, @debug.Debug)
pub(all) struct DayCell {
year : Int32
month : Int32
day : Int32
in_month : Bool
}
// Type aliases
// Traits
-2
View File
@@ -58,8 +58,6 @@ pub let size_choices : Array[String]
pub fn tile_color(String) -> @types.Color
pub fn titled_at(Array[DockItem], DockConfig, Int32, Int32, Int32) -> Bool
pub fn toggle_pin(Array[String], String) -> Array[String]
// Errors
-68
View File
@@ -1,68 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/lib/icondesk"
import {
"chandra/desktop/interface/chandra/desktop/theme",
"chandra/desktop/interface/chandra/desktop/types",
"moonbitlang/core/debug",
}
// Values
pub let count_choices : Array[String]
pub let size_choices : Array[String]
pub let state : Desk
// Errors
// Types and methods
#derive(Eq, @debug.Debug)
pub(all) enum Action {
NoAction
Launch(String)
}
#derive(Eq, @debug.Debug)
pub(all) struct ConfigEntry {
key : String
label : String
choices : Array[String]
value : String
}
pub(all) struct Desk {
mut count : String
mut size : String
places : Map[String, (Int32, Int32)]
mut w : Int32
mut h : Int32
mut bottom : Int32
mut hover : String
mut selected : String
mut focused : Bool
mut press_id : String
mut press_x : Int32
mut press_y : Int32
mut dragging : Bool
mut ptr_x : Int32
mut ptr_y : Int32
}
pub fn Desk::app_at(Self, Array[@types.AppEntry], Int32, Int32) -> String
pub fn Desk::cell(Self) -> (Int32, Int32, Int32)
pub fn Desk::cell_at(Self, Int32, Int32) -> (Int32, Int32)
pub fn Desk::cell_origin(Self, Int32, Int32) -> (Int32, Int32)
pub fn Desk::config_items(Self) -> Array[ConfigEntry]
pub fn Desk::decode_places(Self, String) -> Unit
pub fn Desk::encode_places(Self) -> String
pub fn Desk::grid(Self) -> (Int32, Int32)
pub fn Desk::handle(Self, Array[@types.AppEntry], @types.InputEvent) -> (Bool, Action)
pub fn Desk::layout(Self, Array[@types.AppEntry]) -> Array[(Int32, Int32)]
pub fn Desk::new() -> Self
pub fn Desk::render(Self, Array[@types.AppEntry], @types.Size, @theme.Tokens, (String) -> UInt32) -> Array[@types.DrawOp]
pub fn Desk::set_config(Self, String, String) -> Bool
pub fn Desk::shown(Self, Array[@types.AppEntry]) -> Array[@types.AppEntry]
// Type aliases
// Traits
+2 -20
View File
@@ -7,25 +7,11 @@ import {
}
// Values
pub fn action_at(Array[@types.AppEntry], State, @types.Point) -> Int32
pub let action_logout : Int32
pub let action_power_off : Int32
pub let action_reload : Int32
pub let action_restart : Int32
pub let action_suspend : Int32
pub fn close(State) -> Unit
pub fn filter(Array[@types.AppEntry], String) -> Array[@types.AppEntry]
pub fn handle_event(Array[@types.AppEntry], State, Target, @types.InputEvent, (String) -> Result[Unit, String], session? : (Int32) -> Unit) -> Bool
pub fn needs_confirm(Int32) -> Bool
pub fn handle_event(Array[@types.AppEntry], State, Target, @types.InputEvent, (String) -> Result[Unit, String]) -> Bool
pub fn popup_size(Array[@types.AppEntry], State) -> @types.Size
@@ -33,12 +19,10 @@ pub let popup_w : Int32
pub fn render_button(@types.Size, @theme.Tokens, State) -> Array[@types.DrawOp]
pub fn render_popup(Array[@types.AppEntry], @theme.Tokens, State, icon? : (String) -> UInt32) -> Array[@types.DrawOp]
pub fn render_popup(Array[@types.AppEntry], @theme.Tokens, State, icon? : (String) -> UInt) -> Array[@types.DrawOp]
pub fn row_at(Array[@types.AppEntry], State, @types.Point) -> Int32
pub let session_actions : Array[String]
pub fn shown_rows(Array[@types.AppEntry], State) -> Array[@types.AppEntry]
// Errors
@@ -49,8 +33,6 @@ pub struct State {
mut query : String
mut hover : Int32
mut error : String
mut hover_action : Int32
mut armed : Int32
}
pub fn State::new() -> Self
-63
View File
@@ -1,63 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/lib/starfield"
import {
"chandra/desktop/interface/chandra/desktop/theme",
"chandra/desktop/interface/chandra/desktop/types",
"moonbitlang/core/debug",
}
// Values
pub let density_choices : Array[String]
pub let frame_ms : UInt32
pub let motion_choices : Array[String]
pub let speed_choices : Array[String]
pub let state : Field
// Errors
// Types and methods
#derive(Eq, @debug.Debug)
pub(all) struct ConfigEntry {
key : String
label : String
choices : Array[String]
value : String
}
pub(all) struct Field {
stars : Array[Star]
mut seed : UInt32
mut speed : String
mut density : String
mut motion : String
mut boost : Double
mut pulse : Double
mut cx : Double
mut cy : Double
mut tx : Double
mut ty : Double
mut w : Int32
mut h : Int32
mut last : Int32
mut frames : Int32
}
pub fn Field::animating(Self) -> Bool
pub fn Field::config_items(Self) -> Array[ConfigEntry]
pub fn Field::handle(Self, @types.InputEvent) -> Bool
pub fn Field::new() -> Self
pub fn Field::render(Self, @types.Size, @theme.Tokens) -> Array[@types.DrawOp]
pub fn Field::scroll(Self, Int32) -> Bool
pub fn Field::set_config(Self, String, String) -> Bool
pub fn Field::step(Self, Double) -> Unit
pub fn Field::tick(Self, UInt32) -> UInt32
type Star
// Type aliases
// Traits
-12
View File
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/compositor"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/icon-desktop-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
-12
View File
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/inspector-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
-12
View File
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/layout-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
-12
View File
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/network-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/screenshot-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/session-settings-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
-12
View File
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/starfield-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits
-12
View File
@@ -1,12 +0,0 @@
// Generated using `moon info`, DON'T EDIT IT
package "chandra/desktop/world/taskbar-widget"
// Values
// Errors
// Types and methods
// Type aliases
// Traits