update timeline names

This commit is contained in:
rolux 2012-03-17 06:31:34 +00:00
parent 84e6cfdec3
commit 21fc25e7fd
3 changed files with 16 additions and 4 deletions

View file

@ -652,6 +652,12 @@
{"id": "rights", "title": "Rights Management"}, {"id": "rights", "title": "Rights Management"},
{"id": "contact", "title": "Contact"} {"id": "contact", "title": "Contact"}
], ],
"timelines": [
{"id": "antialias", "title": "Anti-Alias"},
{"id": "slitscan", "title": "Slit-Scan"},
{"id": "keyframes", "title": "Key Frames"},
{"id": "audio", "title": "Audio"}
],
"totals": [ "totals": [
{"id": "items"}, {"id": "items"},
{"id": "runtime"}, {"id": "runtime"},
@ -737,7 +743,7 @@
"videoScale": "fit", "videoScale": "fit",
"videoSize": "small", "videoSize": "small",
"videoSubtitles": true, "videoSubtitles": true,
"videoTimeline": "average", "videoTimeline": "antialias",
"videoView": "video", "videoView": "video",
"videoVolume": 1 "videoVolume": 1
}, },

View file

@ -568,6 +568,12 @@
{"id": "license", "title": "License"}, {"id": "license", "title": "License"},
{"id": "contact", "title": "Contact"} {"id": "contact", "title": "Contact"}
], ],
"timelines": [
{"id": "antialias", "title": "Anti-Alias"},
{"id": "slitscan", "title": "Slit-Scan"},
{"id": "keyframes", "title": "Key Frames"},
{"id": "audio", "title": "Audio"}
],
"totals": [ "totals": [
{"id": "items"}, {"id": "items"},
{"id": "files", "admin": true}, {"id": "files", "admin": true},
@ -657,7 +663,7 @@
"videoResolution": 240, "videoResolution": 240,
"videoScale": "fit", "videoScale": "fit",
"videoSize": "large", "videoSize": "large",
"videoTimeline": "average", "videoTimeline": "antialias",
"videoView": "video", "videoView": "video",
"videoVolume": 1 "videoVolume": 1
}, },

View file

@ -70,8 +70,8 @@ pandora.ui.mainMenu = function() {
] : [] ] : []
) }, ) },
{ id: 'timelines', title: 'Timelines', items: [ { id: 'timelines', title: 'Timelines', items: [
{ group: 'viewtimelines', min: 1, max: 1, items: ['average', 'center', 'frames'].map(function(timelines) { { group: 'viewtimelines', min: 1, max: 1, items: pandora.site.timelines.map(function(mode) {
return {id: timelines, title: Ox.toTitleCase(timelines), checked: ui.videoTimeline == timelines}; return {id: mode.id, title: mode.title, checked: ui.videoTimeline == mode.id};
}) } }) }
]}, ]},
{ id: 'columns', title: 'Columns', items: [ { id: 'columns', title: 'Columns', items: [