mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-20 00:36:43 +08:00
22 lines
610 B
TypeScript
22 lines
610 B
TypeScript
|
|
declare namespace SDK.UI {
|
|
|
|
interface DragDropFileImportHandlerOpts {
|
|
isZipFormat: boolean;
|
|
toLayoutView: boolean;
|
|
}
|
|
|
|
interface DragDropFileImportHandlerCallbackOpts {
|
|
layoutView: SDK.UI.ILayoutView;
|
|
clientX: number;
|
|
clientY: number;
|
|
layoutX: number;
|
|
layoutY: number;
|
|
}
|
|
|
|
class Util {
|
|
static ShowLongTextPropertyDialog(initText: string, caption: string): Promise<string | null>;
|
|
|
|
static AddDragDropFileImportHandler(callback: (filename: string, file: SDK.IZipFile | Blob, opts: DragDropFileImportHandlerCallbackOpts) => Promise<boolean>, opts?: DragDropFileImportHandlerOpts): void;
|
|
}
|
|
} |