SteelSeries Gauges: Difference between revisions

40 bytes added ,  12:04, 19 December 2012
Line 167: Line 167:
= Release History =
= Release History =


== 2.0.0 ==
<u>'''2.0.0'''</u>
* Much of the code rewritten and/or reformatted
 
** Most things now contained in a 'gauges' object to avoid polluting the global namespace with numerous variables etc.
*Much of the code rewritten and/or reformatted  
** Load orders changed to speed up initial page load/display
**Most things now contained in a 'gauges' object to avoid polluting the global namespace with numerous variables etc.  
* Updated gauges.js
**Load orders changed to speed up initial page load/display  
** Added (optional) cookie handling to preserve end user unit preferences across sessions
*Updated gauges.js  
** Added variables to set the default min/max values for gauges
**Added (optional) cookie handling to preserve end user unit preferences across sessions  
** Changed the temperature gauge scaling logic so both gauges always use the same range (except for the indoor temperature)
**Added variables to set the default min/max values for gauges  
** Default units are now 'metric': °C, mm, hPa, km/h
**Changed the temperature gauge scaling logic so both gauges always use the same range (except for the indoor temperature)  
** Fixed bug in getord() routine
**Default units are now 'metric': °C, mm, hPa, km/h  
** Added config.dewDisplayType setting to control initial 'dew' gauge display
**Fixed bug in getord() routine  
** Added smaller gauge size option for 'mobile' devices
**Added config.dewDisplayType setting to control initial 'dew' gauge display  
** Added ability to select the display units:
**Added smaller gauge size option for 'mobile' devices  
Temp: °C, °F
**Added ability to select the display units:
Rain: mm, inch
<blockquote>
Wind: km/h, m/s, mph, knots
Temp: °C, °F<br>Rain: mm, inch<br>Wind: km/h, m/s, mph, knots<br>Baro: hPa, mb, inHg, kPa
Baro: hPa, mb, inHg, kPa
</blockquote>
* Updated Language handling, all languages now use a single (English by default) template HTML file, calling changeLang(LANG.newLanguage) now updates the HTML as well as the gauges.
*Updated Language handling, all languages now use a single (English by default) template HTML file, calling changeLang(LANG.newLanguage) now updates the HTML as well as the gauges.  
* Updated realtimeGaugesT.txt &amp; customclientrawlocal.txt
*Updated realtimeGaugesT.txt &amp; customclientrawlocal.txt  
** Added today's dominant wind direction
**Added today's dominant wind direction  
* Added Danish, Norwegian, and Italian translations
*Added Danish, Norwegian, and Italian translations  
* Changed gauges-ssT.html to use &lt;div&gt;'s for the layout rather than tables.
*Changed gauges-ssT.html to use &lt;div&gt;'s for the layout rather than tables.  
* Removed ddimgtooltip.css - now incorporated into gauges-ss.css
*Removed ddimgtooltip.css - now incorporated into gauges-ss.css  
* Removed ddimgtooltip.js - now incorporated into gauges.js
*Removed ddimgtooltip.js - now incorporated into gauges.js  
* Removed tween.min.js - now incorporated into steelseries.min.js
*Removed tween.min.js - now incorporated into steelseries.min.js  
* Updated realtimeGaugesT.txt and ccrT.txt files to ver8
*Updated realtimeGaugesT.txt and ccrT.txt files to ver8  
** added dominant wind direction
**added dominant wind direction  
* Updated steelseries.js
*Updated steelseries.js  
** Updated to v0.11.14
**Updated to v0.11.14  
* Added optional Wind Rose 'gauge'. The Wind Rose is not enabled by default, and the scripts will not downloaded by the page. This change adds the following scripts
*Added optional Wind Rose 'gauge'. The Wind Rose is not enabled by default, and the scripts will not downloaded by the page. This change adds the following scripts  
** windrose.js
**windrose.js  
** RGraph.common.core.min.js
**RGraph.common.core.min.js  
** RGraph.radar.min.js
**RGraph.radar.min.js