MultiResourceSetting class is used for a setting showing a list of resource names in a text box with a browse button.
class MultiResourceSetting : public Setting
|Returns the number of resource names stored in the setting.
|Returns an individual resource name stored in the setting.
ResourceSetting(Type identifier, const char *title, const char *picker,
const ResourceDescriptor *descriptor, const char *subdir = nullptr, uint32 flags = 0);
|The setting's unique identifier.
|The title of the setting.
|The title of the file picker dialog.
|A pointer to the resource descriptor for the type of resource that can be chosen with the setting.
|A subdirectory within the main resource directory to which the resource selection should be restricted.
|Flags that affect the behavior of the setting.
MultiResourceSetting class represents a setting that displays a text box and has a value which is a list of resource names. A button is also displayed that causes a file picker dialog to appear when clicked by the user. When a file is chosen through the file picker, the returned resource name is the virtual path to the resource if the
flags parameter is 0. If the following value is specified for the
flags parameter, then the generic path to the resource is returned.
|Return the generic resource path instead of the virtual resource path.
|Show files in the Import folder instead of the Data folder.
MultiResourceSetting is a specific type of setting.