The resource inspector shows all resources that have been loaded into an ANTETYPE file and these resources can be used as background images in cells or widgets.
Drag onto canvas
It is possible to select multiple resources within the resource inspector which makes dragging resources onto the ANTETYPE slighly more complicated. To drag a resource (or mulitiple) from the resource inspector to the canvas a user needs to perform a long click on the resource which after 2 seconds enables the dragging mode.
The resources can be dragged on the canvas or into the hierarchy in the screen inspector, and rectangle cells will be created for each resource with the background set as the resource.
If you drag a resourcee on to the canvas it will by default be placed at the top of the screen hierarchy, if you would prefer to drag the resource to a place within the hierarchy you must enable nesting mode.
From the resource inspector you can also add a resource to the canvas through the context menu.
From the Style Bar
The Image Fill pop-over in the style bar combines the resource chooser and the image settings. All imported resources show up and can be selected.
From Style Inspector
Within the style inspector in the background section it is possible to set the type to image.
Clicking on the file selector shows a version of the resource inspector that can be used to choose the resource that should be used as the background.
Resources can be exported from ANTETYPE in the same format they were originally added to ANTETYPE.
Select either a single or multiple resources in the resource inspector and then use the context menu and select Export…. A Save dialog is shown so that the target directory can be selected and the user can also choose to overwrite any existing images.
Editing resources in other applications
To edit a resource in an external application users can simply choose to edit it in an external appliction from the context menu in the resource inspector.
As part of the editing process we export a version of the resource to a temporary folder and pass the temporary resource to the specified application. Each time the resource is saved in the other application, the changes are automatically loaded back into ANTETYPE.
If this simple method doesn't suit your workflow (perhaps a colleague edits icons or the editing software is not your computer) you can choose to export the resource manually, edit manually and then import it back into ANTETYPE. Please note that you must make sure that the filename matches the name of the resource in the resource inspector otherwise it will not replace the existing resource but create a new resource when imported.