[mythtv-commits] Ticket #5903: Proposed re-factor of mythweather code for units of measure

MythTV mythtv at cvs.mythtv.org
Sun Dec 7 03:23:45 UTC 2008


#5903: Proposed re-factor of mythweather code for units of measure
---------------------------------+------------------------------------------
 Reporter:  wstewart at hgrace.com  |        Owner:  stuartm 
     Type:  enhancement          |       Status:  assigned
 Priority:  minor                |    Milestone:  unknown 
Component:  mythweather          |      Version:  head    
 Severity:  low                  |   Resolution:          
  Mlocked:  0                    |  
---------------------------------+------------------------------------------

Comment(by wstewart at hgrace.com):

 New title:  More fully utilize weather-screens.xml
 New Description:
 This patch does several things:
 - Remove currentconditions,3d and 6d code from Weatherscreens.cpp since
 this is now defined by weather-screens.xml
 - Re-factor and combine all the code handling units into one routine,
 formatDataItem.
 - allow theme to override default weather-screens.xml.  For example a
 combined curent conditions and 3 day screen could be created.  The default
 file will still be read even if the theme overrides.  Therefore the theme
 should only define new screens and not modify the existing ones.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5903#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list