%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/lib64/python2.7/Demo/curses/
Upload File :
Create Path :
Current File : //proc/thread-self/root/lib64/python2.7/Demo/curses/ncurses.pyo

�
Afc@sxddlZddlmZdd�Zd�Zd�Zd�Zd�Zd�Zd	�Z	d
�Z
eje
�dS(i����N(tpanelcCs|dkrt}n|j�S(N(tNonetstdscrtgetch(twin((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytwGetchars	cCst�dS(N(R(((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytGetcharscCs'tdkrt�n
tjt�dS(Ni(tnap_msecRtcursestnapms(((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytwait_a_whiles
cCs2tjtjdd�tj�tj|�dS(Nii(RtmoveRtLINEStclrtoeoltaddstr(ttext((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytsaywhats
c	Cs�tj||||�}tj|�}tj�r�|tjkrNtj}n	tj}|}tj|||�|j	t
d�tj|��n|j	t
d�tj�|S(Nt (
RtnewwinRt	new_panelt
has_colorst
COLOR_BLUEtCOLOR_WHITEtCOLOR_BLACKt	init_pairtbkgdsettordt
color_pairtA_BOLD(	tcolortrowstcolsttlyttlxRtpantfgtbg((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytmkpanel s	"cCstj�tj�dS(N(Rt
update_panelsRtdoupdate(((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytpflush0s
cCs�|j�}|j�d}|jdd�|jd|�|j�|j�|j�\}}xVtd|d�D]A}x8td|d�D]#}|j||�|j|�q�WqwWdS(Nis-pan%c-i(	twindowtuserptrRRR
tboxtgetmaxyxtrangetaddch(R"Rtnumtmaxytmaxxtytx((s+/usr/lib64/python2.7/Demo/curses/ncurses.pyt
fill_panel4s

cCs6|adaddddddgatj�xTtdtjd�D]<}x3tdtj�D]}tjd	||d
�q^WqEWx�tdd�D]�}t	tj
tjddtjdddd�}|jd
�t	tjtjddtjdtjdtjd
�}|jd�t	tj
tjdtjd
tjdtjd�}|jd�t	tjtjddtjdtjddtjd�}|jd�t	tjtjddtjdtjdtjdd�}|jd�t|�t|�t|�t|�t|�|j�|j�t�td�t�td�|jdd�|j�|j�|j�|j�|j�t�t�td�|j�t�t�td�|j�t�t�td�|jtjddtjd�t�t�td�|j�t�t�td�|jtjddtjd�t�t�td�|j�t�t�td�|j�t�t�td �|j�t�t�td!�|j�t�t�td"�|j�t�t�td#�|j�t�t�td!�|j�t�t�td$�|j�t�t�xDtdd%�D]3}|j�}	|j�}
td&�|	jtjdd�|	jt|�|jtjd%|tjd�|
jtjd%d�|
jt|�t�t�td'�|	jtjd%d�|	jt|�|jtjdd|d
d%�|
jtjdd�|
jt|�t�t�q�Wtd&�|jtjd%|dtjd�t�t�td(�|j�t�t�td#�|j�t�t�td"�|j�t�t�td)�~t�t�td*�|j�t�t�td+�~t�t�td,�~t�t�td-�~t�t�tdkr(Pnd.aq�WdS(/NittesttTESTs(**)s*()*s<-->tLASTis%di
iitp1iitp2i	tp3itp4tp5spress any key to continues(h3 s1 s2 s4 s5;press any key to continuess1; press any key to continuess2; press any key to continuesm2; press any key to continuess3; press any key to continuesm3; press any key to continueisb3; press any key to continuess4; press any key to continuess5; press any key to continuest3; press any key to continuest1; press any key to continuest2; press any key to continuest4; press any key to continueism4; press any key to continuesm5; press any key to continuest5; press any key to continuesd2; press any key to continuesh3; press any key to continuesd1; press any key to continuesd4; press any key to continuesd5; press any key to continueid(RRtmodtrefreshR-RRtCOLSRR%t	COLOR_REDtset_userptrtCOLOR_GREENtCOLOR_YELLOWRt
COLOR_MAGENTAR4thideR(RR
RtshowtbottomttopR)(RR2R3R8R9R:R;R<titmptw4tw5((s+/usr/lib64/python2.7/Demo/curses/ncurses.pytdemo_panelsCsN
!		
	


	



	

	





















"


"
















"
#
&











(RRRRRR
RR%R(R4RLtwrapper(((s+/usr/lib64/python2.7/Demo/curses/ncurses.pyt<module>s							�

Zerion Mini Shell 1.0