This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
A drawing question (popup menu & hot spot & extension line)
posted 9 years ago
I really need some advice on how to implement features below:
A user clicks an icon (I will provide it), then clicks again in a drawing area, a shape represented by the icon will be there. If a user (right) clicks on the shape, a popup menu will come out with several options, like Add a solid line, convert it, etc. If a user selects "add a solid line", a solid line will be extened from the shape, with an active hot spot at the end. If clicking the hot spot, a user will get the same popup menu again. Users can drag the line to scale it.
If the user selects "convert it", the shape will become another equivalent shape.