Opened 13 years ago

Closed 12 years ago

#10262 closed defect (duplicate)

[patch][nocla] Dojox Drawing, new PowerPoint mode, mouseover stencils to hand

Reported by: Ace Sorensen Owned by: Mike Wilcox
Priority: high Milestone: 1.5
Component: Dojox Version: 1.4.0b
Keywords: Cc: Mike Wilcox
Blocked By: Blocking:


I'm a little hesitant to send these changes since they're not the prettiest work I've done but they work. If I come up with a better way I'll send a patch, if not I thought it might be obvious to you since you've worked in the details.

The idea for the PowerPoint? functionality is that instead of silently going between edit mode draw mode, the tool is deselected after each draw and the user is placed in edit mode. If they wish to go back to draw they have to click on a tool again. This allows the user to draw shapes on top of each other (like a force vector coming out of a body).

It is implemented by using two global variables in the default file. The first allows the user to choose between the original mode and powerpoint mode, and the second keeps track of whether objects are clickable or not (whether in edit mode or not).

The ugliness comes from getting to the dojox.drawing.defaults without using the full name. Also for the mouse over in order to distinguish the problem (which you can't click on so no pointer is necessary) from the drawing, I just used the name which had dojox as a prefix in drawn stencils.



Attachments (1) (3.6 KB) - added by Ace Sorensen 13 years ago.
Dojox drawing patches

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Ace Sorensen

Attachment: added

Dojox drawing patches

comment:1 Changed 13 years ago by Adam Peller

Owner: changed from Adam Peller to Mike Wilcox

comment:2 Changed 13 years ago by Adam Peller

Milestone: 1.4tbd

comment:3 Changed 13 years ago by dante

Milestone: tbd1.5
Summary: Dojox Drawing, new PowerPoint mode, mouseover stencils to hand[patch][nocla] Dojox Drawing, new PowerPoint mode, mouseover stencils to hand

please verify CLA.

comment:4 Changed 12 years ago by Mike Wilcox

Resolution: duplicate
Status: newclosed

#10637 replaced this ticket.

Note: See TracTickets for help on using tickets.