//usr/lib64/lib64//lib64/lib64//ó
§œSec @ 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( iÿÿÿÿN( 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]<