summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/blueprint/BlueprintView.js
blob: 6b204e5205ad2c31199756e92a8c4f19ef0b10fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
var BlueprintView = View.extend({
	el: "#blueprintView",
	
	events: {
	},
	
	initialize: function(){
// 		this.info = new BuilderInfo ({ parent: this })
// 		this.toolbar = new BuilderToolbar ({ parent: this })
// 		this.settings = new BuilderSettings ({ parent: this })
// 		this.colorControl = new ColorControl ({ parent: this })
// 		this.cursor = new HelpCursor({ parent: this })
    this.blueprintUpload = new BlueprintUpload ({ parent: this })
    this.blueprintScaler = new BlueprintScaler ({ parent: this })
	},

	load: function(name){
// 		if (! name || name == "new") {
// 			this.ready({ isNew: true, _id: "new", name: "" })
// 			return
// 		}
// 		
// 		name = sanitize(name)
// 		
// 		$.get(this.action + name, this.ready.bind(this))
	},
	
	ready: function(data){
// 		this.settings.load(data)
// 		this.info.load(data)
	},
	
	hideExtras: function(){
	},
	
	useFloorplan: function(media){
	},

	pickWall: function(wall, pos){
	},

})