Author: bklaas
Date: Mon Feb 22 15:22:27 2010
New Revision: 8543
URL: http://svn.slimdevices.com/jive?rev=8543&view=rev
Log:
Bug: n/a
Description: skin fixes for dot matrix clock on QVGA skins
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua?rev=8543&r1=8542&r2=8543&view=diff
==============================================================================
--- 7.5/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua
(original)
+++ 7.5/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua
Mon Feb 22 15:22:27 2010
@@ -1063,7 +1063,6 @@
w = 61,
h = 134,
img = _loadImage(self, fileName),
- border = { 6, 0, 6, 0 },
align = 'bottom',
}
end
@@ -1075,7 +1074,6 @@
h = 43,
img = _loadImage(self, fileName),
align = 'bottom',
- border = { 1, 0, 1, 0 },
}
end
@@ -1119,7 +1117,6 @@
align = 'bottom',
img = _loadImage(self,
"Clocks/Dot_Matrix/dotmatrix_alarm_on.png"),
w = 36,
- border = { 0, 0, 13, 0 },
}
s.icon_alarm_off = _uses(s.icon_alarm_on, {
@@ -1138,7 +1135,7 @@
}
local x = {}
- x.h1 = -7
+ x.h1 = 0
x.h2 = x.h1 + 72
x.dots = x.h2 + 74
x.m1 = x.dots + 28
@@ -1229,19 +1226,7 @@
w = 61,
h = 134,
img = _loadImage(self, fileName),
- border = { 6, 0, 6, 0 },
align = 'bottom',
- }
- end
-
- local _dotMatrixDate = function(self, digit)
- local fileName = "Clocks/Dot_Matrix/dotmatrix_date_" ..
tostring(digit) .. ".png"
- return {
- w = 27,
- h = 43,
- img = _loadImage(self, fileName),
- align = 'bottom',
- border = { 1, 0, 1, 0 },
}
end
@@ -1297,8 +1282,8 @@
w = 61,
}
- local leftDigit = 53
- local rightDigit = 126
+ local leftDigit = 59
+ local rightDigit = 132
local topDigit = 22
local bottomDigit = 160
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins