Sprites.Media.Sprite.File
The File panel: import and export a sprite. Window is an independent floating window, shown while its own flag is true, so it can be open in any combination with the other panels, and it carries a close button. Its buttons are Import and Export, stand-ins for now until the file actions land. The Windows buttons that open it, the selector and the Tools window live in Sprites.Media.Sprite.Tool.
Sprites.Media.Sprite.File.Window Void
Sprites.Media.Sprite.File.Window(visible)
The File panel's window: a floating panel of Import and Export, shown while visible is true, with a close button that clears visible. The buttons are stand-ins for now, each doing nothing until the file actions land.
| Input | Type | Description |
|---|---|---|
visible | Sprites.Reactive.Value | Shows the window while true. |
Returns nothing.
const visible = Sprites.Reactive.Value(false);
Sprites.Ui.Button.SetValue(visible, true, 'Open File window');
Sprites.Media.Sprite.File.Window(visible);