<s> from ui . utils . gif_image import GIFImage <EOL> from ui . widgets . sprite import LcarsWidget <EOL> class LcarsGifImage ( LcarsWidget ) : <EOL> def __init__ ( self , imagefilename , pos , duration = - <NUM_LIT:1> ) : <EOL> self . image = GIFImage ( imagefilename , duration ) <EOL> self . pos = pos <EOL> size = ( self . image . get_rect ( ) . width , self . image . get_rect ( ) . height ) <EOL> LcarsWidget . __init__ ( self , None , pos , size ) <EOL> def update ( self , screen ) : <EOL> if self . visible : <EOL> self . image . render ( screen , self . rect ) </s>
