File size: 1,820 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	group = "GedApps",
	id = "GedRoomEditor",
	save_in = "Libs/Volumes",
	PlaceObj('XTemplateWindow', {
		'__class', "GedApp",
		'Title', "Room Editor",
		'AppId', "GedRoomEditor",
		'CommonActionsInMenubar', false,
		'CommonActionsInToolbar', false,
	}, {
		PlaceObj('XTemplateAction', {
			'ActionId', "New",
			'ActionName', T(285113360304, --[[XTemplate GedRoomEditor ActionName]] "New"),
			'ActionIcon', "CommonAssets/UI/Ged/new.tga",
			'ActionToolbar', "main",
			'OnAction', function (self, host, source, ...)
				host:Op("GedOpNewVolume", "SelectedObject")
			end,
			'ActionContexts', {
				"RoomPanelGeneral",
			},
		}),
		PlaceObj('XTemplateAction', {
			'ActionId', "ViewObject",
			'ActionSortKey', "2",
			'ActionName', T(683738805190, --[[XTemplate GedRoomEditor ActionName]] "View Object"),
			'ActionIcon', "CommonAssets/UI/Ged/view.tga",
			'ActionToolbar', "main",
			'ActionToolbarSplit', true,
			'OnAction', function (self, host, source, ...)
				host:Op("GedOpViewRoom", "SelectedObject")
			end,
			'ActionContexts', {
				"RoomPanelOther",
			},
		}),
		PlaceObj('XTemplateWindow', {
			'__context', function (parent, context) return "root" end,
			'__class', "GedListPanel",
			'Id', "idRooms",
			'Margins', box(0, 0, 2, 0),
			'Dock', "left",
			'Title', "Rooms",
			'ActionsClass', "Object",
			'Delete', "GedOpListDeleteItem",
			'Format', "<EditorView>",
			'SelectionBind', "SelectedObject",
		}),
		PlaceObj('XTemplateWindow', {
			'__context', function (parent, context) return "SelectedObject" end,
			'__class', "GedPropPanel",
			'Title', "Properties",
			'ActionsClass', "PropertyObject",
			'Copy', "GedOpPropertyCopy",
			'Paste', "GedOpPropertyPaste",
		}),
		}),
})