ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
Afc           @   sx   d  d l  Z  d  d l  m Z d d  Z d   Z d   Z d   Z d   Z d   Z d	   Z	 d
   Z
 e  j e
  d S(   iN(   t   panelc         C   s   |  d  k r t }  n  |  j   S(   N(   t   Nonet   stdscrt   getch(   t   win(    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   wGetchar   s     	c           C   s   t    d  S(   N(   R   (    (    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   Getchar   s    c           C   s'   t  d k r t   n t j t   d  S(   Ni   (   t   nap_msecR   t   cursest   napms(    (    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   wait_a_while   s    
c         C   s2   t  j t j d d  t  j   t  j |   d  S(   Ni   i    (   R   t   moveR   t   LINESt   clrtoeolt   addstr(   t   text(    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   saywhat   s    
c   	      C   s   t  j | | | |  } t j |  } t  j   r |  t  j k rN t  j } n	 t  j } |  } t  j |  | |  | j	 t
 d  t  j |    n | j	 t
 d  t  j  | S(   Nt    (   R   t   newwinR    t	   new_panelt
   has_colorst
   COLOR_BLUEt   COLOR_WHITEt   COLOR_BLACKt	   init_pairt   bkgdsett   ordt
   color_pairt   A_BOLD(	   t   colort   rowst   colst   tlyt   tlxR   t   pant   fgt   bg(    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   mkpanel    s    	"c           C   s   t  j   t j   d  S(   N(   R    t   update_panelsR   t   doupdate(    (    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   pflush0   s    
c         C   s   |  j    } |  j   d } | j d d  | j d |  | j   | j   | j   \ } } xV t d | d  D]A } x8 t d | d  D]# } | j | |  | j |  q Wqw Wd  S(   Ni   s   -pan%c-i   (	   t   windowt   userptrR   R   R   t   boxt   getmaxyxt   ranget   addch(   R"   R   t   numt   maxyt   maxxt   yt   x(    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt
   fill_panel4   s    

c         C   s6  |  a  d a d d d d d d g a t  j   xT t d t j d  D]< } x3 t d t j  D] } t  j d	 | | d
  q^ WqE Wxt d d  D]} t	 t j
 t j d d t j d d d d  } | j d  t	 t j t j d d t j d t j d t j d
  } | j d  t	 t j t j d t j d
 t j d t j d  } | j d  t	 t j t j d d t j d t j d d t j d  } | j d  t	 t j t j d d t j d t j d t j d d  } | j d  t |  t |  t |  t |  t |  | j   | j   t   t d  t   t d  | j d d  | j   | j   | j   | j   | j   t   t   t d  | j   t   t   t d  | j   t   t   t d  | j t j d d t j d  t   t   t d  | j   t   t   t d  | j t j d d t j d  t   t   t d  | j   t   t   t d  | j   t   t   t d   | j   t   t   t d!  | j   t   t   t d"  | j   t   t   t d#  | j   t   t   t d!  | j   t   t   t d$  | j   t   t   xDt d d%  D]3} | j   }	 | j   }
 t d&  |	 j t j d d  |	 j t |  | j t j d% | t j d  |
 j t j d% d  |
 j t |  t   t   t d'  |	 j t j d% d  |	 j t |  | j t j d d | d
 d%  |
 j t j d d  |
 j t |  t   t   qWt d&  | j t j d% | d t j d  t   t   t d(  | j   t   t   t d#  | j   t   t   t d"  | j   t   t   t d)  ~ t   t   t d*  | j   t   t   t d+  ~ t   t   t d,  ~ t   t   t d-  ~ t   t   t d k r(Pn  d. a q Wd  S(/   Ni   t   testt   TESTs   (**)s   *()*s   <-->t   LASTi    s   %di
   i   i   t   p1i   i   t   p2i	   t   p3i   t   p4t   p5s   press any key to continues(   h3 s1 s2 s4 s5;press any key to continues   s1; press any key to continues   s2; press any key to continues   m2; press any key to continues   s3; press any key to continues   m3; press any key to continuei   s   b3; press any key to continues   s4; press any key to continues   s5; press any key to continues   t3; press any key to continues   t1; press any key to continues   t2; press any key to continues   t4; press any key to continuei   s   m4; press any key to continues   m5; press any key to continues   t5; press any key to continues   d2; press any key to continues   h3; press any key to continues   d1; press any key to continues   d4; press any key to continues   d5; press any key to continueid   (   R   R   t   modt   refreshR-   R   R   t   COLSR   R%   t	   COLOR_REDt   set_userptrt   COLOR_GREENt   COLOR_YELLOWR   t   COLOR_MAGENTAR4   t   hideR(   R   R
   R   t   showt   bottomt   topR)   (   R   R2   R3   R8   R9   R:   R;   R<   t   itmpt   w4t   w5(    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   demo_panelsC   sN   
!			

	


	
	




















"


"
















"
#
&











(   R   R    R   R   R   R
   R   R%   R(   R4   RL   t   wrapper(    (    (    s+   /usr/lib64/python2.7/Demo/curses/ncurses.pyt   <module>   s   							