File size: 4,710 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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========
PlaceObj('XTemplate', {
group = "Common",
id = "AnimMetadataEditor",
save_in = "Ged",
PlaceObj('XTemplateWindow', {
'__class', "GedApp",
'MinWidth', 800,
'MinHeight', 600,
'Title', "Anim Metadata Editor",
'AppId', "AnimMetadataEditor",
'InitialWidth', 800,
'InitialHeight', 600,
}, {
PlaceObj('XTemplateAction', {
'ActionId', "ThreeQuarters",
'ActionName', T(894575298305, --[[XTemplate AnimMetadataEditor ActionName]] "3/4 Camera"),
'ActionIcon', "CommonAssets/UI/Ged/center.tga",
'ActionToolbar', "main",
'ActionShortcut', "Ctrl-1",
'OnAction', function (self, host, source, ...)
local panel = host:GetLastFocusedPanel()
host:Op("GedOpCharacterCamThreeQuarters", "root", panel and panel.context)
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "ClosestCamera",
'ActionName', T(359840842466, --[[XTemplate AnimMetadataEditor ActionName]] "Closest Camera"),
'ActionIcon', "CommonAssets/UI/Ged/camera.tga",
'ActionToolbar', "main",
'ActionToolbarSplit', true,
'ActionShortcut', "Ctrl-2",
'OnAction', function (self, host, source, ...)
host:Op("GedOpCharacterCamClosest", "root")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Play",
'ActionName', T(559840604851, --[[XTemplate AnimMetadataEditor ActionName]] "Play"),
'ActionIcon', "CommonAssets/UI/Ged/play.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
local panel = host:GetLastFocusedPanel()
host:Op("GedOpAnimMetadataEditorPlay", "root", panel and panel.context)
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Pause",
'ActionName', T(935415793424, --[[XTemplate AnimMetadataEditor ActionName]] "Pause"),
'ActionIcon', "CommonAssets/UI/Ged/pause.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
local panel = host:GetLastFocusedPanel()
host:Op("GedOpAnimMetadataEditorStop", "root", panel and panel.context)
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Loop",
'ActionName', T(767188814770, --[[XTemplate AnimMetadataEditor ActionName]] "Loop"),
'ActionIcon', "CommonAssets/UI/Ged/undo.tga",
'ActionToolbar', "main",
'ActionToolbarSplit', true,
'OnAction', function (self, host, source, ...)
local panel = host:GetLastFocusedPanel()
host:Op("GedOpAnimMetadataEditorToggleLoop", "root", panel and panel.context)
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "Save",
'ActionName', T(841740040948, --[[XTemplate AnimMetadataEditor ActionName]] "Save"),
'ActionIcon', "CommonAssets/UI/Ged/save.tga",
'ActionToolbar', "main",
'ActionShortcut', "Ctrl-S",
'OnAction', function (self, host, source, ...)
host:Op("GedOpSaveAnimMetadata", "root")
end,
}),
PlaceObj('XTemplateAction', {
'ActionId', "AppearanceEditor",
'ActionName', T(406804987029, --[[XTemplate AnimMetadataEditor ActionName]] "Appearance Editor"),
'ActionIcon', "CommonAssets/UI/Ged/character.tga",
'ActionToolbar', "main",
'OnAction', function (self, host, source, ...)
host:Op("GedOpOpenAppearanceEditor", "root")
end,
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "root" end,
'__class', "GedPropPanel",
'Id', "idEntity",
'MinWidth', 300,
'LayoutMethod', "HPanel",
'Title', "Animation Viewer",
'EnableUndo', false,
'EnableCollapseDefault', false,
'EnableShowInternalNames', false,
'EnableCollapseCategories', false,
}),
PlaceObj('XTemplateWindow', {
'__class', "XPanelSizer",
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "Animations" end,
'__class', "GedTreePanel",
'Id', "idAnimations",
'Title', "AnimMetadata Presets",
'TitleFormatFunc', "GedFormatPresets",
'ActionContext', "PresetsPanelAction",
'SearchActionContexts', {
"PresetsPanelAction",
"PresetsChildAction",
},
'FormatFunc', "GedPresetTree",
'Format', "<EditorView>",
'SelectionBind', "AnimationMetadata",
'MultipleSelection', true,
'RootActionContext', "PresetsPanelAction",
'ChildActionContext', "PresetsChildAction",
}, {
PlaceObj('XTemplateTemplate', {
'__template', "GedStatusBar",
}),
}),
PlaceObj('XTemplateWindow', {
'__class', "XPanelSizer",
}),
PlaceObj('XTemplateWindow', {
'__context', function (parent, context) return "AnimationMetadata" end,
'__class', "GedPropPanel",
'Id', "idAnimMetadata",
'MinWidth', 300,
'LayoutMethod', "HPanel",
'Title', "Properties",
'ActionsClass', "PropertyObject",
}),
}),
})
|