Add basic album list
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { ImageBucket, ImagePreview } from "types.slint";
|
||||
import { ImageBucket, ImagePreview, AlbumCover } from "types.slint";
|
||||
|
||||
export global Global {
|
||||
in-out property <bool> logged-in: false;
|
||||
in-out property <length> min-image-size: 88px;
|
||||
in-out property <length> image-margin: 2px;
|
||||
in-out property <ImagePreview> viewed-image;
|
||||
in-out property <[AlbumCover]> albums;
|
||||
in-out property <[ImageBucket]> image-buckets: [
|
||||
{ key: "2026-02-01", title: "Feb 1, 2026", count: 12 },
|
||||
{ key: "2026-02-02", title: "Feb 2, 2026", count: 12 },
|
||||
@@ -17,4 +18,5 @@ export global Global {
|
||||
callback set-timeline-width(length);
|
||||
callback timeline-scrolled(length);
|
||||
callback view-image(string);
|
||||
callback load-albums();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user