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.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A drawing question (popup menu & hot spot & extension line)

Yang Li
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic