Cycle drop-down with thumbnails
-
On 17/08/2018 at 06:44, xxxxxxxx wrote:
Is there a way for creating thumbnails in plugin's UI, similar to C4D's noise thumbnails?
-
On 20/08/2018 at 10:12, xxxxxxxx wrote:
Hi,
there are basically two ways to achieve something like this, depending on the type of plugin you are implementing.
In a CommandData you would attach a GeDialog and use a BitmapButtonCustomGui to display the thumbnails. Instead of BitmapButtons you could of course also implement your own GeUserArea.
In NodeData derived plugins (ObjectData, TagData,...) it's a bit different, as a GeDialog needs to be attached to a CommandData. You could still use above approach by calling such a command in reaction to a button press, though. Then your dialog would probably need to be asynchronous and should update to display the thumbnails for the currently selected object or tag (or whatever).
The other approach here would be the implementation of a CustomGui, which could then be used directly in the description of the implemented object or tag. But this is only possible in C++.