The 'gadget' you'll use is in fact the canvas.
Don't expect 'everything' from these custom gadgets.
Also, globals are nasty, imho.
It's better to have a field with an activity state so you could set this per unitbar. If you want all unitbars to change at once you could try to make each unitbar react on an event that triggers activity/unactivity.
Don't expect 'everything' from these custom gadgets.
Also, globals are nasty, imho.
It's better to have a field with an activity state so you could set this per unitbar. If you want all unitbars to change at once you could try to make each unitbar react on an event that triggers activity/unactivity.