Rev 20 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 20 | Rev 11521 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | this.EventObject(); |
4 | this.EventObject(); |
5 | 5 | ||
6 | this.x = this.y = null; |
6 | this.x = this.y = null; |
7 | this.w = this.h = null; |
7 | this.w = this.h = null; |
8 | this._objects={}; |
8 | this._objects={}; |
9 | - | ||
10 | }; |
9 | }; |
11 | GroupManager._NewSetLocation = function(x,y){ |
10 | GroupManager._NewSetLocation = function(x,y){ |
12 | var byX=x-this.x; |
11 | var byX=x-this.x; |
13 | var byY=y-this.y; |
12 | var byY=y-this.y; |
14 | if(this._grpUX) byX=0; else x=null; |
13 | if(this._grpUX) byX=0; else x=null; |
Line 51... | Line 50... | ||
51 | dlyr._grpManager=this; |
50 | dlyr._grpManager=this; |
52 | dlyr._grpUX = unlockX; |
51 | dlyr._grpUX = unlockX; |
53 | dlyr._grpUY = unlockY; |
52 | dlyr._grpUY = unlockY; |
54 | dlyr._OldDynGMSetLocation = dlyr.setLocation; |
53 | dlyr._OldDynGMSetLocation = dlyr.setLocation; |
55 | dlyr.setLocation = GroupManager._NewSetLocation; |
54 | dlyr.setLocation = GroupManager._NewSetLocation; |
56 | if (this.x==dlyr.x) this.w+=dlyr.w; |
55 | if (this.x==dlyr.x) this.w+=dlyr.w; |
57 | this._objects[dlyr.id]=dlyr; |
56 | this._objects[dlyr.id]=dlyr; |
58 | this._setSize(dlyr); |
57 | this._setSize(dlyr); |
59 | return dlyr; |
58 | return dlyr; |
60 | }; |
59 | }; |
61 | p.changeLocationBy = function(byX,byY) { |
60 | p.changeLocationBy = function(byX,byY) { |