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, height: self.options.size * 1.5,
lineLength: self.options.size == 64 ? 15 : 23, lineLength: self.options.size == 64 ? 15 : 23,
lines: self.options.size == 64 ? 4 : 5, 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 width: self.options.size
}); });
self.title = formatText(self.options.title, self.lines - 1, self.lineLength); 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) { Ox.forEach(self.markers, function(markers, k) {
if (markers.length) { if (markers.length) {
self.src += '&markers=icon:' + 'http://dev.pan.do:8000' + 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)]) + Ox.toTitleCase(self.options['markerColor' + Ox.toTitleCase(k)]) +
'.png|' + markers.join('|') '.png|' + markers.join('|')
} }

View file

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

View file

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

View file

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

View file

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