use Ox.UI.PATH for images

This commit is contained in:
rolux 2011-04-27 21:49:18 +02:00
parent 7e12eb43d7
commit e1b6e3890f
6 changed files with 10 additions and 10 deletions

View file

@ -21,7 +21,7 @@ Ox.IconItem = function(options, self) {
height: self.options.size * 1.5,
lineLength: self.options.size == 64 ? 15 : 23,
lines: self.options.size == 64 ? 4 : 5,
url: Ox.PATH + '/png/Ox.UI/transparent.png',
url: Ox.UI.PATH + 'png/transparent.png',
width: self.options.size
});
self.title = formatText(self.options.title, self.lines - 1, self.lineLength);

View file

@ -46,7 +46,7 @@ Ox.MapImage = function(options, self) {
Ox.forEach(self.markers, function(markers, k) {
if (markers.length) {
self.src += '&markers=icon:' + 'http://dev.pan.do:8000' +
Ox.PATH + 'png/Ox.UI/marker' +
Ox.UI.PATH + 'png/marker' +
Ox.toTitleCase(self.options['markerColor' + Ox.toTitleCase(k)]) +
'.png|' + markers.join('|')
}

View file

@ -58,7 +58,7 @@ Ox.BlockTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarkerPlay.png'
src: Ox.UI.PATH + 'png/videoMarkerPlay.png'
})
.css({
position: 'absolute',
@ -75,7 +75,7 @@ Ox.BlockTimeline = function(options, self) {
self.$markerPoint[i] = $('<img>')
.addClass('OxMarkerPoint' + titleCase)
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarker' + titleCase + '.png'
src: Ox.UI.PATH + 'png/videoMarker' + titleCase + '.png'
})
.appendTo(that.$element);
setMarkerPoint(i);

View file

@ -62,7 +62,7 @@ Ox.LargeTimeline = function(options, self) {
self.$cuts[i] = $('<img>')
.addClass('OxCut')
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarkerCut.png'
src: Ox.UI.PATH + 'png/videoMarkerCut.png'
})
.css({
left: (v * self.fps) + 'px'
@ -73,7 +73,7 @@ Ox.LargeTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarkerPlay.png'
src: Ox.UI.PATH + 'png/videoMarkerPlay.png'
})
.appendTo(that.$element);
setMarker();
@ -82,7 +82,7 @@ Ox.LargeTimeline = function(options, self) {
self.$markerPoint[i] = $('<img>')
.addClass('OxMarkerPoint' + v)
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarker' + v + '.png'
src: Ox.UI.PATH + 'png/videoMarker' + v + '.png'
})
.appendTo(self.$timeline);
setMarkerPoint(i);

View file

@ -60,7 +60,7 @@ Ox.SmallTimeline = function(options, self) {
self.$markerPosition = $('<img>')
.addClass('OxMarkerPosition')
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarkerPlay.png'
src: Ox.UI.PATH + 'png/videoMarkerPlay.png'
})
.css({
position: 'absolute',
@ -77,7 +77,7 @@ Ox.SmallTimeline = function(options, self) {
self.$markerPoint[i] = $('<img>')
.addClass('OxMarkerPoint' + titleCase)
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarker' + titleCase + '.png'
src: Ox.UI.PATH + 'png/videoMarker' + titleCase + '.png'
})
.appendTo(that.$element);
setMarkerPoint(i);

View file

@ -92,7 +92,7 @@ Ox.VideoEditorPlayer = function(options, self) {
self.$markerPoint[point][edge] = $('<img>')
.addClass('OxMarkerPoint OxMarker' + titleCase)
.attr({
src: Ox.PATH + 'png/Ox.UI/videoMarker' + titleCase + '.png'
src: Ox.UI.PATH + 'png/videoMarker' + titleCase + '.png'
})
.hide()
.appendTo(that.$element);