Make event and action dropdowns in custom panel
Next step from #16 (closed)
Now that we have our own place to make buttons, make a dropdown for events (events being either 1. onhover 2. onclick). After choosing an event, choose an action (1. popup later maybe also "highlight").
After choosing an action, enter the ID(s?) of the elements that the action should be aplied on. This could be combined later with #26 (closed) to find the IDs in another way.
TODO:
-
Interface: -
Make "rules": dropdowns for choosing actions and events -
Be able to add and remove several "rules" -
Pick a cell to apply the rule to by clicking it -
If the action is "highlight", be able to choose a colour. -
On change of any of these, save the new rule in the selected object -
Delete the saved rule when the cross is clicked -
On opening/generating the Arrange panel, generate the buttons for all the rules already saved.
-