On 01/02/2014 at 07:44, xxxxxxxx wrote:
Yeah. I think you'll have to create that effect yourself. Using a button that swaps an image when pressed. Or some other sort of trickery.
That little arrow only seems to get created when you use these custom gizmos in a Node based plugin. But not in a GeDialog plugin.
This is an example of creating the DT gizmo dynamically for a node (tag) plugin.
Just like when using the .res file to create the gizmo for these kinds of plugins. That little arrow automatically get created for us.
It's a built-in thing for the Node plugins that we get for free.
Bool SimpleTag::GetDDescription(GeListNode *node, Description *description,DESCFLAGS_DESC &flags)
//We will load the DateTime GUI into the first description level(much like loading UD entries into levels)
DescID did = DescLevel(1, DTYPE_NONE, 0);
if (!description->SetParameter(did,settings,DescLevel(ID_OBJECTPROPERTIES))) return FALSE;
flags |= DESCFLAGS_DESC_LOADED;