Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 369 lines (306 sloc) 12.234 kB
5a71995 @mcrossley First commit of version 0.8.0
mcrossley authored
1 Main Changes
b1327f3 @mcrossley v0.8.8
mcrossley authored
2
9962cff @mcrossley v0.11.1
mcrossley authored
3 v0.11.1
4 > WindDirection
5 * Added 'useColorLabels' initialisation parameter
6
6b63df6 @mcrossley v0.11.0
mcrossley authored
7 v0.11.0
8 > Odometer
9 * Added new gauge odometer type
10 > Radial
11 * Added optional odometer in place of LCD display.
12 New initialisation parameters:
13 - useOdometer: use an odometer instead of an LCD, still obeys LCDvisible. Default=false
14 - odometerParams: pass a set of parameters in an object to over-ride the defaults. The height parameter will be ignored. Default={}
15 - odometerUseValue: if true display the current gauge 'value' in the odometer, otherwise the odometer
16 value is set independently. Default=false
17 New methods:
18 - .setOdoValue()
19 - .getOdoValue()
20
21 v0.10.2
22 > WindDirection
23 * Added setLcdTitleStrings() method
24
9dc7d74 @mcrossley v0.10.1a
mcrossley authored
25 v0.10.1a
26 > Linear
27 * Fixes stupid or/and error on gaugeType checking!
28
1709dc6 @mcrossley v0.10.1
mcrossley authored
29 v0.10.1
30 > Linear
31 * Added range check to gaugeType, forcing default = TYPE1 if anything other than TYPE1 or TYPE2 is supplied
32 as a parameter.
33 * Change frame width scaling calculations to use a ratio of the diagonal length or min of width/height depending
34 on which is the smaller
35 * Fixed error in foreground scaling
36
d83284b @mcrossley v0.10.0
mcrossley authored
37 v0.10.0
38 > Linear
6b63df6 @mcrossley v0.11.0
mcrossley authored
39 * Added gaugeType initialisation parameter - switches to Linear a 'thermometer' type gauge
d83284b @mcrossley v0.10.0
mcrossley authored
40 * Altered scaling factors of Linear and LinearBargraph, frame width now proportional to gauge size
41
396c804 @mcrossley v0.9.17
mcrossley authored
42 v0.9.17
43 > Radial/RadialBargraph
44 * Fixed radial sector/area drawing instructions so they work with Chrome Dev build 19
45 > General Changes
46 * Change background visible logic so that the LCD background display is controlled solely by lcdVisible parameter.
47
adeb8e8 @mcrossley v0.9.16
mcrossley authored
48 v0.9.16
49 > Radial
50 * Added range checking to section/area drawing code
51 * Added initialisation parameter 'trendColors', takes an array of 3x LED colors for Up/Steady/Down
52 Default: [steelseries.LedColor.RED_LED, steelseries.LedColor.GREEN_LED, steelseries.LedColor.CYAN_LED]
53 > RadialBargraph
54 * Added TrendIndicator as per Radial implementation
55 > WindDirection
56 * Added range checking to section/area drawing code
57 > General Changes
58 * Added initialisation parameters foregroundVisible','backgroundVisible','foregroundVisible' to all gauge components
59 * Extracted the digital font name to a variable at the top of the script to make it easier to
60 change in the future.
61
62 v0.9.15
9fe0e65 @mcrossley >0.9.15
mcrossley authored
63 > Radial/RadialBargraph/DisplaySingle/WindDirection
64 * Changed LCD font positioning code to make appearance consistent across browsers
65 Tested on Chrome 16, IE9, FF 9
66
a55cee7 @mcrossley >v0.9.14
mcrossley authored
67 >v0.9.14
68 > Radial
69 * Fixed missing repaint() calls on setMaxValue/setMinValue setTitleString/setUnitString public methods
70
511ea23 @mcrossley v0.9.13
mcrossley authored
71 v0.9.13
72 > Radial
73 * Changed TrendIndicator 'glow' as the canvas 'shadow' effect did not really work well
74
16294c3 @mcrossley v0.9.12
mcrossley authored
75 v0.9.12
76 > Linear/LinearBargraph
77 * Added missing darker value track for the TURNED background
78 * Fixed up misalignment of bargraph track backgrounds
79 * Changed so zero value lights first LED to be consistent with RadialBargraphs
80
e252d3b @mcrossley v0.9.11
mcrossley authored
81 v0.9.11
82 > Radial
83 * Fixed misalignment of threshold indicator
84 > RadialVertical
85 * Fixed min/max indicators not displaying in correct place in orientation:North, and
ebc0c54 @mcrossley v0.9.11a
mcrossley authored
86 not displaying at all in orientation:West
87 > TrafficLight
88 * Fixed typo bug that caused component to not work correct in InternetExplorer
e252d3b @mcrossley v0.9.11
mcrossley authored
89 > General Changes
b27657f @mcrossley Merge branch 'master' of ssh://git@ssh.github.com:443/HanSolo/SteelSe…
mcrossley authored
90 * Added new LCD colours AMBER and LIGHTBLUE
e252d3b @mcrossley v0.9.11
mcrossley authored
91
cc1452e @mcrossley v0.9.10
mcrossley authored
92 v0.9.10
93 > General Changes
94 * Added pointer TYPE16 - the same as Gerrits stopwatch pointer,
95 and TYPE15 without the crescent - as it was very easy to do!
96 * Added 'glow' to the trend indicator
97
1717686 @mcrossley v0.9.9
mcrossley authored
98 v0.9.9
99 > General Changes
100 * Added TURNED background pattern to Radial and Linear gauges
cc1452e @mcrossley v0.9.10
mcrossley authored
101 * Added TYPE15 crescent pointer based on stopwatch pointer
1717686 @mcrossley v0.9.9
mcrossley authored
102 * Added shadow blurring to all pointers
103
0966c64 @mcrossley v0.9.8b
mcrossley authored
104 v0.9.8b
105 > General Changes
106 * Fixed bug in title/unit centring on Radial gauges
107
4fabd17 @mcrossley Merge branch 'master' of ssh://git@ssh.github.com:443/HanSolo/SteelSe…
mcrossley authored
108 v0.9.8a
109 > General Changes
110 * Fixed bug introduced into radialVertical
111 * Minor tweak to the TrenIndicator
112
99a1469 @mcrossley v0.9.8
mcrossley authored
113 v0.9.8
114 > Radial
115 * Tweaked the trend indicator, switched segments from dark colour to gray background when 'off'
116 * Tweaked the conicalGradient frames to smooth the outer non anti-aliased edge
117
118 > General Changes
119 * Changed conicalGradient() from using line sections to arc segments so it scales to very large/small gauges better
120
b6eae18 @mcrossley v0.9.7
mcrossley authored
121 v0.9.7
122 > Radial
123 * Added optional trend indicator
124 Initialisation param: trendVisible
125 Methods: setTrendVisible(bool), setTrend(state)
126 States: steelseries.TrendState.UP|STEADY|DOWN|OFF
127
128 > RadialBargraph
129 * Fixed the LED track backround, it was being drawn at a fixed size, it now scales with the gauge
130
131 > WindDirection
132 * Fixed bug in some of the redraw routines that caused the frame to be dropped in some circumstances
133
134 > General Changes
135 * Changed drawRadialForeground() to clear the buffer before drawing as the semi-transparent foregrounds
136 added together if re-drawn.
137
138 v0.9.6
139 > RadialBargraph
140 * Stopped setMaxValue() from redrawing the foreground buffer
141
53d3fb4 @mcrossley v0.9.5
mcrossley authored
142 v0.9.5
143 > WindDirection
144 * LCD panels slightly reduced in size
145
146 > General Changes
147 * Brushed Metal texture routine is now 75% faster
148
74cf258 @mcrossley v0.9.4
mcrossley authored
149 v0.9.4
150 > Radial/RadialBargraph
151 * Tweaks to LCD text positioning
152
153 > General Changes
154 * Added BRUSHED_METAL and BRUSHED_STAINLESS background colours
155
fca53ec @mcrossley v0.9.3
mcrossley authored
156 v0.9.3
157 > RadialVertical
158 * Changed to use the standard Radial drawRadialPointer() function rather than its own
159 custom version
160
161 > Radial/RadialBargraph
162 * Reduced height of LCD panel slightly, and moved panel a little lower on Radial gauges
163
164 > Linear
165 * Fixed error in frame radius for the 'Metal' frames
166 * Added Stainless background, and made bar track less transparent on 'material' backgrounds
167
168 > WindDirection
169 * Changed vale ranges from 0-359 to 0-360 to allow for software using 0 for 'calm' and '360'
170 for North.
171
2b36e04 @mcrossley v0.9.2
mcrossley authored
172 v0.9.2
173 > General Changes
174 * Added STAINLESS background colour to Radial gauges (not linear yet)
175
926dfcf @mcrossley v0.9.1
mcrossley authored
176 v0.9.1
177 > General Changes
178 * Fixed minor drawing error of pointer type 4
179 * Added pointer type14
180 * Optimised conicalGradient to calculate a step size relevant to gauge size
181 * Code size reduction exercise continues
182
611e988 @HanSolo Added section handling to DisplaySingle
authored
183 v0.9.0
184 > General Changes
185 * Added section handling to DisplaySingle
186 * Added a demo html page to show the new feature
187
4e46612 @HanSolo Added the right version number and the changings to the log.
authored
188 v0.8.9
189 > General Changes
190 * Added TrafficLight component and LightBulb component to the lib.
191 * Also added two html demo pages for the two new components to the repo
192
926dfcf @mcrossley v0.9.1
mcrossley authored
193
194 -------------------------
b1327f3 @mcrossley v0.8.8
mcrossley authored
195 v0.8.8
196 > General Changes
197 * Added tickLabelOrientation to Radial and RadialBargraph initialisation parameters. Accepts
198 steelseries.TickLabelOrientation.NORMAL|TANGENT|HORIZONTAL.
199 * Changed default tickLabelOrientation for TYPE1 Radial gauges to TANGENT
200 * Added GLOSSY_METAL frame type
201
202 > Clock
203 * Changed/Fixed TZ handling, if TZ offsets = zero clock shows local time, if a TZ offset is defined
204 then the clock will display UTC + offset(s)
205
142cd6c @mcrossley version 0.8.1
mcrossley authored
206 -------------------------
5eb3b22 @mcrossley v0.8.7
mcrossley authored
207 v0.8.7
208 > General Changes
209 * Added new Altimeter component
210
211 -------------------------
4f37cd0 @mcrossley v 0.8.6
mcrossley authored
212 v0.8.6
213 > General Changes
214 * Bug fix to GradientWrapper()
215 * Bug fix to radial drawTitles() function
216
217 > Radial/LinearBargraph
218 * Added gradient colouring to the value bar LEDs
219 * Added the following initialisation parameters:
220 - useSectionColors: bool, valueGradient: steelseries.gradientWrapper(), useValueGradient: bool
221 * Added the following methods:
222 - setSectionColorsActive(bool), setValueGradient(steelseries.gradientWrapper), setValueGradientActive(bool)
223
224 -------------------------
ee7734a @mcrossley v0.8.5
mcrossley authored
225 v0.8.5
226 > StopWatch
227 * Cosmetic improvement to seconds pointer
228 * Bug fix to the certain lap()/reset() combinations
229
230 -------------------------
341e3b4 @mcrossley v0.8.4
mcrossley authored
231 v0.8.4
232 > Radial/LinearBargraph
233 * Fixed a bug with section recalculation when the gauge range was changed via setMin/Max()
234
235 > General Changes
236 * Added StopWatch component
237 - supports start(), stop(), reset(), and lap() methods
238 * Fixed a bug in drawRadialForeground() that prevented the foreground changing on some gauges
239
240 -------------------------
ed05fc6 @mcrossley version 0.8.3
mcrossley authored
241 v0.8.3
242 > RadialBargraph
243 * Added section parameter handling, any defined sections will colour the bargraph
244 * setSection() method now functional
245
246 > LinearBargraph
247 * Added section parameter handling, any defined sections will colour the bargraph
248 * setSection() method now functional
926dfcf @mcrossley v0.9.1
mcrossley authored
249
ed05fc6 @mcrossley version 0.8.3
mcrossley authored
250 > General Changes
251 * Added some value checking to the commonly called setValue() type methods to avoid
926dfcf @mcrossley v0.9.1
mcrossley authored
252 unnecessary component redraws
ed05fc6 @mcrossley version 0.8.3
mcrossley authored
253
254 -------------------------
5f4dded @mcrossley version 0.8.2
mcrossley authored
255 v0.8.2
256 > General Changes
257 * Added Battery component
258 * More code tidying
ed05fc6 @mcrossley version 0.8.3
mcrossley authored
259
5f4dded @mcrossley version 0.8.2
mcrossley authored
260 -------------------------
142cd6c @mcrossley version 0.8.1
mcrossley authored
261 v0.8.1
262 > General Changes
263 * Added shadow to the central knob
264
265 > Clock
266 * Brand new component.
267 * Setting Pointer type to 1 or 2 sets pointer style, scale, and background colour to defaults
268 so if you wish to change pointer colour, or background colour, do so after setting the pointer type.
269
270 -------------------------
5a71995 @mcrossley First commit of version 0.8.0
mcrossley authored
271 v0.8.0
272 > Radial
273 * Added parameter frameVisible
274 * Added parameter fractionalScaleDecimals
275 * Added parameter customLayer - add watermarks to gauges
276 * Added pointer shadow
277 * Added LCD text shadow (STANDARD & STANDARD_GREEN only)
278 * Stopped sections and areas overlapping
279 * Added method setMaxMeasuredValue()
280 * Added method setMinMeasuredValue()
281 * Added method setTitleString()
282 * Added method setUnitString()
283 * Added method setMinValue()
284 * Added method getMinValue()
285 * Added method setMaxValue()
286 * Added method getMaxValue()
287 * Added method setThreshold()
288 * Added method setArea()
289 * Added method setSection()
290
291 > RadialBargraph
292 * Added parameter frameVisible
293 * Added parameter fractionalScaleDecimals
294 * Added parameter customLayer - add watermarks to gauges
295 * Added LCD text shadow (STANDARD & STANDARD_GREEN only)
296 * Added method setMinValue()
297 * Added method getMinValue()
298 * Added method setMaxValue()
299 * Added method getMaxValue()
300 * Added method setTitleString()
301 * Added method setUnitString()
302
303 > RadialVertical
304 * Added parameter frameVisible
305 * Added pointer shadow
306 * Stopped sections and areas overlapping
307
308 > Linear
309 * Added parameter frameVisible
310 * Added LCD text shadow (STANDARD & STANDARD_GREEN only)
311 * Moved 'units' when in vertical format
312 * Added method setMaxMeasuredValue()
313 * Added method setMinMeasuredValue()
314 * Added method setTitleString()
315 * Added method setUnitString()
316 * Added method setMinValue()
317 * Added method getMinValue()
318 * Added method setMaxValue()
319 * Added method getMaxValue()
320 * Added method setThreshold()
321
322 > LinearBargraph
323 * Added parameter frameVisible
324 * Added LCD text shadow (STANDARD & STANDARD_GREEN only)
325 * Moved 'units' when in vertical format
326 * Added method setMaxMeasuredValue()
327 * Added method setMinMeasuredValue()
328 * Added method setTitleString()
329 * Added method setUnitString()
330 * Added method setMinValue()
331 * Added method getMinValue()
332 * Added method setMaxValue()
333 * Added method getMaxValue()
334 * Added method setThreshold()
335
336 > DisplaySingle
337 * Added parameter autoScroll - scrolls if text too wide for display, otherwise static
338 * Added LCD text shadow (STANDARD & STANDARD_GREEN only)
339
340 > DisplayMulti
341 * Added LCD text shadow (STANDARD & STANDARD_GREEN only)
342
343 > Level
344 * Added parameter frameVisible
345 * Fixed corrupted degree and infinity symbols
346
347 > Compass
348 * Added parameter frameVisible
349 * Added parameter pointSymbols - localise "N","NE","E" text
350 * Added parameter customLayer - add watermarks to gauges
351 * Added parameter degreeScale - replace NE,SE,SW,NW with numeric degree scale
352 * Added parameter roseVisible - hide the central rose, useful to display custom watermarks
353 * Added pointer shadow
354 * Pointer now moves the 'shortest angular distance' to a new animated value
355 * Added method setPointerType()
356 * Added method setPointSymbols()
357
358 > WindDirection
359 * Brand new component!
360 * Dual pointer/LCD gauge for displaying current and average directions on 360 degree scale
361
362 > Horizon
363 * Added parameter frameVisible
364 * Fixed, this component did not work correctly in version 0.7.3
365
366 > General Changes
367 * Added pointer types 11, 12, and 13 to Radial (not VerticalRadial)
368 * Radial/RadialVertical setting background also forces pointer refresh (for types 2 & 13 which depend on background color)
369 * Removed duplicated public/private versions of repaint() functions.
Something went wrong with that request. Please try again.