On BeOS, a VST plug-in is a Library.
VST-GUI's images should be stored as BeOS resources in the plug-in itself. VST-GUI uses BeOS's translation kit to load the images, so that you may store your images in any image format supported by BeOS's translation kit.
However, we advise that you use *only* BeOS standard translators so that your users won't have any surprise because the plug-in requires some obscure translator to be installed, or because the translator you've installed with your plug-in is gone for some reason.
Each image that you use in your plug-in is identified by an id number.
Store your image using that particular id as resource id number, and B_RAW_TYPE
('RAWT'
) as resource type. The resource's name is ignored.
You may use it as you wish.
To build your BeOS resources, you may simply want to use the BeOS provided
command line utility called 'mwbres'
. Its use is straightforward,
at least when you have a working example. Look for the BeOS resource
examples for more information. If you are reading this page on a BeOS
system using R4.5, then you should find the official documentation here:
Once your resource file is built, then simply add that file in your plug-in's BeIDE project, or add theses resources manually to your binary with the command:
mergeres the_resource_file.rsrc plugin_file