ó 6”þfc@sfddlTddlZddlZdZd„Zd„Zd„Zd„Zd„Zej eƒdS( iÿÿÿÿ(t*Ngš™™™™™@cCs|dkrdSdS(Niiÿÿÿÿi((t_x((s*/usr/lib64/python2.7/Demo/curses/tclock.pytsign s cCs:ttt|t|ƒƒƒtt|t|ƒƒƒfS(N(tinttroundtASPECTtsintcos(tangletradius((s*/usr/lib64/python2.7/Demo/curses/tclock.pytA2XYscCstj|||ƒdS(N(tstdscrtaddch(txtytcol((s*/usr/lib64/python2.7/Demo/curses/tclock.pytplotscCsttjƒr%tjtj|ƒƒn||}||}t|dƒ}t|dƒ} t|ƒ} t|ƒ} |} |} || krþ| |d}xÖtrút| | |ƒ| |krÀdS|dkrã| | 7} ||8}n| | 7} || 7}qšWnr|| d}xatrot| | |ƒ| |kr5dS|dkrX| | 7} || 8}n| | 7} ||7}qWdS(Nii( tcursest has_colorsR tattrsett color_pairtabsRtTrueR(tpairtfrom_xtfrom_ytx2ty2tchtdxtdytaxtaytsxtsyR Rtd((s*/usr/lib64/python2.7/Demo/curses/tclock.pytdlines>                  c Cs$|ad}tj}tjdƒtjdƒtjƒr€tjdtj|ƒtjdtj|ƒtjdtj |ƒntj dd}tj d}t |dt |tƒdƒ}d|d}|d}d|d}xetdd ƒD]T} | dd td } t| |ƒ\} } tj|| || d | dƒqõWtjddd ƒt|ddƒ}xªtrtjdƒtjƒ} tj| ƒ}|d|dd}|d krÓ|d 8}n|ddtd}t||ƒ\}}|dtd }t||ƒ\}}|ddtd} t| |ƒ\} } td||||||tdƒƒtjtjƒtd||||||tdƒƒtjtjƒtjƒrãtjtjdƒƒnt|| || tdƒƒtjƒr&tjtjdƒƒntjtj ddtj| ƒƒtj ƒ|dddkrŽ|d|krŽ|d}tj!ƒntj"ƒ}|tdƒkr°dSt|| || tdƒƒtd||||||tdƒƒtd||||||tdƒƒqvWdS(Niÿÿÿÿiiiiiiii g@g(@s%ds5ASCII Clock by Howard Jones , 1994iiègN@t#t.tOtqt (#R Rt COLOR_BLACKtnodelayttimeoutRt init_pairt COLOR_REDt COLOR_MAGENTAt COLOR_GREENtCOLStLINEStminRRtrangetpiR taddstrtmaxRtnapmsttimet localtimeR$tordRt A_REVERSEtattroffRRtctimetrefreshtbeeptgetch(twintlastbeeptmy_bgtcxtcyRtmradiusthradiustsradiustitsangletsdxtsdyttimttthourstmangletmdxtmdythanglethdxthdy((s*/usr/lib64/python2.7/Demo/curses/tclock.pytmainCsn     ! '      ''  # $   '( tmathRR9RRR RR$RWtwrapper(((s*/usr/lib64/python2.7/Demo/curses/tclock.pyts     + P