I'm new to ESD and I'm looking for advice to create a display something like a radar display, where i need place between 0 and N spots on the screen and position and render these according to incoming data from an external source unrelated to Eve Code.
Each spot is independent from the others. I can kind of achieve this by creating a fixed number of ESDCircle widgets offscreen and linking each independently with their own unique ESD_FUNCTION as shown in the attached pic
However this feels very inefficient as I need 6 unique functions for each of my N spots.
Is there are more effective/efficient way of achieving this result?
Is there any way of defining an array of widgets? If so how is indexing determined?
Within an ESD based project, can I dynamically add and manage widgets through external code?
Can I create a custom ESD_FUNCTION that would set all my parameters in one call? (valid,x,y,w,h,col)
Thanks in advance