Initial commit

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dinlo
2026-05-31 18:44:04 +08:00
commit 436a9631fc
8616 changed files with 1389957 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import IconItem from './IconItem.js';
import RawIconItem from './RawIconItem.js';
/**
* All fields except for 'data' is optional.
* Missing fields are replaced by 'data' values when generating binary.
*/
export interface IconFileItem {
width?: number;
height?: number;
colors?: number;
planes?: number;
bitCount?: number;
data: IconItem | RawIconItem;
}
export default class IconFile {
/** Containing icons */
icons: IconFileItem[];
constructor();
static from(bin: ArrayBuffer | ArrayBufferView): IconFile;
generate(): ArrayBuffer;
}