File size: 1,469 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
64
65
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	__is_kind_of = "XWindow",
	group = "Editor",
	id = "XEditorRoomToolsSection",
	save_in = "Libs/Volumes",
	PlaceObj('XTemplateWindow', {
		'IdNode', true,
		'Margins', box(0, 0, 0, 2),
		'LayoutMethod', "VList",
		'UniformColumnWidth', true,
		'FoldWhenHidden', true,
		'HandleMouse', true,
	}, {
		PlaceObj('XTemplateWindow', {
			'Id', "idSection",
			'BorderWidth', 1,
			'Padding', box(2, 1, 2, 1),
			'Background', RGBA(42, 41, 41, 232),
		}, {
			PlaceObj('XTemplateWindow', {
				'__class', "XLabel",
				'Id', "idSectionName",
				'HAlign', "center",
				'VAlign', "center",
				'Text', "Name",
			}),
			}),
		PlaceObj('XTemplateWindow', {
			'comment', "divider",
			'BorderWidth', 1,
			'MinHeight', 1,
			'MaxHeight', 1,
		}),
		PlaceObj('XTemplateWindow', {
			'Padding', box(0, 3, 0, 3),
			'VAlign', "top",
		}, {
			PlaceObj('XTemplateWindow', {
				'Id', "idActionContainer",
				'Dock', "box",
				'GridStretchY', false,
				'LayoutMethod', "VList",
				'LayoutHSpacing', 1,
				'UniformColumnWidth', true,
				'DrawOnTop', true,
			}),
			}),
		PlaceObj('XTemplateFunc', {
			'name', "GetContainer(self)",
			'func', function (self)
				return self.idActionContainer
			end,
		}),
		PlaceObj('XTemplateFunc', {
			'name', "SetName(self, name)",
			'func', function (self, name)
				self.idSectionName:SetText(name)
			end,
		}),
		}),
})