File size: 1,436 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 |
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========
PlaceObj('XTemplate', {
__is_kind_of = "XPropControl",
group = "Common",
id = "PropEntry",
save_in = "Common",
PlaceObj('XTemplateWindow', {
'__condition', function (parent, context) return context.prop_meta.separator end,
'__class', "XPropControl",
'HandleMouse', false,
'ChildrenHandleMouse', false,
}, {
PlaceObj('XTemplateWindow', {
'__class', "XText",
'TextStyle', "GedTitleDarkMode",
'ContextUpdateOnOpen', true,
'OnContextUpdate', function (self, context, ...)
self:SetText(context.prop_meta.separator)
XContextControl.OnContextUpdate(self, context)
end,
'Translate', true,
'TextHAlign', "center",
}),
}),
PlaceObj('XTemplateTemplate', {
'__condition', function (parent, context) return context.prop_meta.editor == "bool" end,
'__template', "PropBool",
}),
PlaceObj('XTemplateTemplate', {
'__condition', function (parent, context) return context.prop_meta.editor == "number" end,
'__template', "PropNumber",
}),
PlaceObj('XTemplateTemplate', {
'__condition', function (parent, context) return context.prop_meta.editor == "combo" or context.prop_meta.editor == "choice" end,
'__template', "PropChoice",
}),
PlaceObj('XTemplateTemplate', {
'__condition', function (parent, context) return context.prop_meta.editor == "hotkey" end,
'__template', "PropKeybinding",
}),
})
|