Opened 11 years ago
Closed 11 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: |
Description
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.
Thanks,
ace
Attachments (1)
Change History (5)
Changed 11 years ago by
Attachment: | dojox.drawing.patches.zip added |
---|
comment:1 Changed 11 years ago by
Owner: | changed from Adam Peller to Mike Wilcox |
---|
comment:2 Changed 11 years ago by
Milestone: | 1.4 → tbd |
---|
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.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 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
#10637 replaced this ticket.
Dojox drawing patches