Ticket #5937: animatedmaps.diff
File animatedmaps.diff, 3.0 KB (added by , 15 years ago) |
---|
-
mythplugins/mythweather/mythweather/weatherScreen.cpp
373 373 { 374 374 MythUIImage *img = (MythUIImage *) widget; 375 375 376 img->SetImageCount(0, m_count); 376 img->SetImageCount(0, m_count - 1); 377 img->SetDelay(500); 377 378 img->Load(); 378 379 } 379 380 return; -
mythplugins/mythweather/mythweather/weather-screens.xml
78 78 <screen name="Animated Map" hasunits="no"> 79 79 <datum name="amdesc" /> 80 80 <datum name="updatetime" /> 81 <datum name=" datum" />81 <datum name="animatedimage" /> 82 82 </screen> 83 83 84 84 <screen name="Severe Weather Alerts" hasunits="no"> … … 117 117 <datum name="updatetime" /> 118 118 <datum name="location" /> 119 119 </screen> --> 120 </screens> 121 No newline at end of file 120 </screens> -
mythplugins/mythweather/theme/default/weather-ui.xml
399 399 <align>allcenter</align> 400 400 </textarea> 401 401 402 <imagetype name="animatedimage type">402 <imagetype name="animatedimage"> 403 403 <area>160,225,485,300</area> 404 404 </imagetype> 405 405 </window> -
mythplugins/mythweather/theme/default-wide/weather-ui.xml
399 399 <align>allcenter</align> 400 400 </textarea> 401 401 402 <imagetype name="animatedimage type">402 <imagetype name="animatedimage"> 403 403 <area>160,225,485,300</area> 404 404 </imagetype> 405 405 </window> -
mythtv/libs/libmythui/mythuiimage.h
30 30 void SetImage(MythImage *img) __attribute__ ((deprecated)); 31 31 void SetImages(QVector<MythImage *> &images) __attribute__ ((deprecated)); 32 32 33 void SetDelay(int delayms); 34 33 35 QString GenImageLabel(const QString &filename, int w, int h); 34 36 QString GenImageLabel(int w, int h); 35 37 … … 52 54 virtual void CreateCopy(MythUIType *parent); 53 55 virtual void Finalize(void); 54 56 55 void SetDelay(int delayms);56 57 57 void SetSize(int width, int height); 58 58 void SetSize(const QSize &size); 59 59 void ForceSize(const QSize &size);