✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ beluga.o2switch.net ​🇻​♯➤ 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 185.154.139.77 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.84
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python35/lib64/python3.5/Tools/pynche/__pycache__//StripViewer.cpython-35.pyc


��Yfu<�@s�dZddlTddlZdZdZdZdZdZd	d
�Zdd�Z	d
d�Z
dd�Zdd�Zdd�Z
dd�ZGdd�d�ZGdd�de�ZGdd�d�ZGdd�d�ZdS)azStrip viewer and related widgets.

The classes in this file implement the StripViewer shown in the top two thirds
of the main Pynche window.  It consists of three StripWidgets which display
the variations in red, green, and blue respectively of the currently selected
r/g/b color value.

Each StripWidget shows the color variations that are reachable by varying an
axis of the currently selected color.  So for example, if the color is

  (R,G,B)=(127,163,196)

then the Red variations show colors from (0,163,196) to (255,163,196), the
Green variations show colors from (127,0,196) to (127,255,196), and the Blue
variations show colors from (127,163,0) to (127,163,255).

The selected color is always visible in all three StripWidgets, and in fact
each StripWidget highlights the selected color, and has an arrow pointing to
the selected chip, which includes the value along that particular axis.

Clicking on any chip in any StripWidget selects that color, and updates all
arrows and other windows.  By toggling on Update while dragging, Pynche will
select the color under the cursor while you drag it, but be forewarned that
this can be slow.
�)�*Nz�proc setcolor {canv colors} {
    set i 1
    foreach c $colors {
        $canv itemconfigure $i -fill $c -outline $c
        incr i
    }
}
���� cCsXd|d}d}g}x7|dkrS|jt|��||}|d}qW|S)Ng�o@�gr)�append�int)�numchips�step�start�seq�r�=/opt/alt/python35/lib64/python3.5/Tools/pynche/StripViewer.py�constant4s
rcCs)t|�}tt|g|||��S)N)r�list�zip)r
�red�green�bluer
rrr�constant_red_generator?srcCs)t|�}tt||g||��S)N)rrr)r
rrrr
rrr�constant_green_generatorDsrcCs)t|�}tt|||g|��S)N)rrr)r
rrrr
rrr�constant_blue_generatorIsrcCs0t|�}tt||g||g|��S)N)rrr)r
rrrr
rrr�constant_cyan_generatorNsrcCs0t|�}tt|g|||g|��S)N)rrr)r
rrrr
rrr�constant_magenta_generatorSsrcCs0t|�}tt|g||g||��S)N)rrr)r
rrrr
rrr�constant_yellow_generatorXsrc@sjeZdZdZdZdZdZdZdd�Zdd	�Z	d
d�Z
dd
�Zdd�ZdS)�	LeftArrow���
r�	leftarrowcCs5||_|j|�\|_|_|j|�dS)N)�_canvas�_createZ_LeftArrow__arrow�_LeftArrow__text�move_to)�self�canvas�xrrr�__init__es	zLeftArrow.__init__c
Cs�|jj||j|j||j||j|jddddd|j�}|jj||jd|j|jd|jdd�}||fS)	N�arrow�first�widthg@�tagsr�text�128)r!�create_line�_ARROWHEIGHT�_YOFFSET�_ARROWWIDTH�_TAG�create_text�_TEXTYOFFSET)r%r'r)r-rrrr"js					zLeftArrow._createcCs/t|jj|j��}|s't�|dS)Nr)rr!�coordsr3�AssertionError)r%r6rrr�_xyszLeftArrow._xcCs-||j�}|jj|j|d�dS)Nr)r8r!Zmover3)r%r'Zdeltaxrrrr$~szLeftArrow.move_tocCs|jj|jd|�dS)Nr-)r!�
itemconfigurer#)r%r-rrr�set_text�szLeftArrow.set_textN)r )
�__name__�
__module__�__qualname__r2r0r1r5r3r(r"r8r$r:rrrrr^src@s.eZdZdZdd�Zdd�ZdS)�
RightArrow�
rightarrowc
Cs�|jj||j||j|j||j|j|jddddd|j�}|jj||jd|j|jdtdd	d|j�}||fS)
Nr)Zlastr+g@r,rZjustifyr-r.)	r!r/r1r2r0r3r4r5ZRIGHT)r%r'r)r-rrrr"�s			zRightArrow._createcCs6t|jj|j��}|s't�|d|jS)Nr)rr!r6r3r7r2)r%r6rrrr8�sz
RightArrow._xN)r?)r;r<r=r3r"r8rrrrr>�sr>c@s�eZdZdZdZdZdeeeddddddd�	Zdd	�Zdd
d�Zdd
�Z	dd�Z
dd�ZdS)�StripWidget�2�
�(N�cCs�||_||_||_|jdks0t�|	|_|
|_d|_||_||d}|d}t|d|d|�}
|_	|
j
�|
jd|j�|
jd|j�|
jd	|j�|
j
jt�g}|_d}d
}d}xht|j�D]W}d}|
j||||||d
|d|d|�||d}|j|�q
W|
jd||dd|dt�|_|jd�}t|
|�|_|jt|�d�}t|
|�|_dS)Nrr��+r+Zheightz<ButtonPress-1>z<ButtonRelease-1>z<B1-Motion>r�chipZgrey�fill�outliner,��r-Zanchor)rrrE)rG)�_StripWidget__generator�_StripWidget__axis�_StripWidget__numchipsr7�_StripWidget__uwd�_StripWidget__hexp�_StripWidget__lastchip�_StripWidget__sbZCanvas�_StripWidget__canvas�packZbind�_StripWidget__select_chip�tk�eval�TCLPROC�_StripWidget__chips�rangeZcreate_rectanglerr4�W�_StripWidget__label�_StripWidget__arrow_xr�_StripWidget__leftarrow�lenr>�_StripWidget__rightarrow)r%�switchboard�masterZ	chipwidthZ
chipheightr
�	generator�axis�label�uwdvar�hexvarZcanvaswidthZcanvasheightr&�chipsr'�yr,�c�colorZchipxrrrr(�sL							
	

zStripWidget.__init__cCs@|jj|d�}|s"t�|\}}}}||dS)Nrg@)rSr6r7)r%Zchipnumr6Zx0Zy0Zx1Zy1rrrZ	__arrow_x�szStripWidget.__arrow_xcCs�|j}|j}|j}|j||||�}|r�d|dkoW|jknr�|j|dd}tj|�\}}}	t|j	�}
|
t
ks�|jj�r�|j
j|||	�n|j|d|||	f�dS)Nrr)r'rirSZfind_overlappingrNrY�ColorDBZrrggbb_to_tripletr	�type�BTNUPrO�getrR�update_views�_StripWidget__trackarrow)r%�eventr'rir&rGrkrrr�etyperrrZ
__select_chip�s			)zStripWidget.__select_chipcCsM|jdk	r@|jj|jd�}|jj|jd|�||_||j}|jj�rtt|�}nt|�}|dkr�|j	j
|�|j	j|j|d��|j
jd�n=|j
j
|�|j
j|j|d��|j	jd	�tj|�}|dkr-d}nd}|jj|d|�dS)
NrHrI�r�dZwhiteZblacki����i����)rQrSZitemcgetr9rMrPro�hex�reprr^r:r$r]r`rlZtriplet_to_brightness)r%rGZrgbtuplerkZ	coloraxisr-Z
brightnessrIrrrZ__trackarrows(	
	zStripWidget.__trackarrowcCs|jst�d}d}g}|_|jj}x�|j|j|||�D]e}tj|�}	|j|	�|\}
}}|
|kr�||kr�||kr�|}|d}qPWt	j
|�}
|jd|jj|
f�|j
||||f�dS)Nrrzsetcolor %s {%s})rLr7rYrSrVrNrlZtriplet_to_rrggbbr�SPACE�joinrWZ_wrq)r%rrr�irGrhrV�tZrrggbbZtredZtgreenZtblueZcolorsrrr�update_yourself#s
"
$zStripWidget.update_yourselfcCs&|jj|jd|�||_dS)Nr-)rSr9r\rL)r%rercrrr�set7szStripWidget.set)r;r<r=Z_CHIPHEIGHTZ
_CHIPWIDTHZ	_NUMCHIPSr(r]rUrqr|r}rrrrr@�s";"r@c@sdeZdZddd�Zdd�Zddd�Zddd	�Zdd
d�Zdd
�ZdS)�StripViewerNc
Cs�||_|j�}t|dtdd�}|jddddddd	d
�t�}|_|j|jdd��t�}|_	|j|jdd��t|�}|j
d
tdt�t
||dtddddd|d|�|_t
||dtddddd|d|�|_t
||dtddddd|d|�|_t|�}|j
d
tdt�|jddd�|jddd�d}	t|ddd|j�}
|
jddddddd	td|	�t|ddd |�}|jddddd	t�t|dd!d |d|j�}|jddddd	t�t|dd"d|j�}
|
jddddddd	td|	�dS)#NZreliefZborderwidthr�row�columnrZ
columnspanrEZstickyZNSEW�UPWHILEDRAG�HEXSTRIP�expandrHrcrdrezRed VariationsrfrgzGreen VariationszBlue VariationsZweight�rKr-ZBlackZcommandZrowspan�padxzUpdate while draggingZvariableZHexadecimalZWhite)�_StripViewer__sb�optiondbZFrameZRAISEDZgridZ
BooleanVar�_StripViewer__uwdvarr}ro�_StripViewer__hexpvarrTZYESZBOTHr@r�_StripViewer__redsr�_StripViewer__greensr�_StripViewer__bluesZcolumnconfigureZButton�_StripViewer__toblackr[ZCheckbutton�_StripViewer__togglehex�_StripViewer__towhite�E)r%rarbr��frameZuwdZhexpZframe1Zframe2r�ZblackbtnZuwdbtnZhexbtnZwhitebtnrrrr(=s^	"	(				zStripViewer.__init__cCsF|jj|||�|jj|||�|jj|||�dS)N)r�r|r�r�)r%rrrrrrr|�szStripViewer.update_yourselfcCs/|jj�\}}}|j|||�dS)N)r�Zcurrent_rgbr|)r%rrrrrrrrZ__togglehex�szStripViewer.__togglehexcCs|jjddd�dS)Nr)r�rp)r%rrrrrZ	__toblack�szStripViewer.__toblackcCs|jjddd�dS)N�)r�rp)r%rrrrrZ	__towhite�szStripViewer.__towhitecCs*|jj�|d<|jj�|d<dS)Nr�r�)r�ror�)r%r�rrr�save_options�szStripViewer.save_options)	r;r<r=r(r|r�r�r�r�rrrrr~<sOr~)�__doc__ZtkinterrlrXZBTNDOWNrnZBTNDRAGrxrrrrrrrrr>r@r~rrrr�<module>s$

(�


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
7 Feb 2025 5.02 AM
root / linksafe
0755
ChipViewer.cpython-35.opt-1.pyc
4.635 KB
31 May 2024 1.51 PM
root / linksafe
0644
ChipViewer.cpython-35.pyc
4.635 KB
31 May 2024 1.51 PM
root / linksafe
0644
ColorDB.cpython-35.opt-1.pyc
8.189 KB
31 May 2024 1.51 PM
root / linksafe
0644
ColorDB.cpython-35.pyc
8.189 KB
31 May 2024 1.51 PM
root / linksafe
0644
DetailsViewer.cpython-35.opt-1.pyc
9.278 KB
31 May 2024 1.51 PM
root / linksafe
0644
DetailsViewer.cpython-35.pyc
9.278 KB
31 May 2024 1.51 PM
root / linksafe
0644
ListViewer.cpython-35.opt-1.pyc
6.195 KB
31 May 2024 1.51 PM
root / linksafe
0644
ListViewer.cpython-35.pyc
6.195 KB
31 May 2024 1.51 PM
root / linksafe
0644
Main.cpython-35.opt-1.pyc
5.452 KB
31 May 2024 1.51 PM
root / linksafe
0644
Main.cpython-35.pyc
5.452 KB
31 May 2024 1.51 PM
root / linksafe
0644
PyncheWidget.cpython-35.opt-1.pyc
9.311 KB
31 May 2024 1.51 PM
root / linksafe
0644
PyncheWidget.cpython-35.pyc
9.311 KB
31 May 2024 1.51 PM
root / linksafe
0644
StripViewer.cpython-35.opt-1.pyc
11.586 KB
31 May 2024 1.51 PM
root / linksafe
0644
StripViewer.cpython-35.pyc
11.723 KB
31 May 2024 1.51 PM
root / linksafe
0644
Switchboard.cpython-35.opt-1.pyc
5.28 KB
31 May 2024 1.51 PM
root / linksafe
0644
Switchboard.cpython-35.pyc
5.28 KB
31 May 2024 1.51 PM
root / linksafe
0644
TextViewer.cpython-35.opt-1.pyc
6.371 KB
31 May 2024 1.51 PM
root / linksafe
0644
TextViewer.cpython-35.pyc
6.371 KB
31 May 2024 1.51 PM
root / linksafe
0644
TypeinViewer.cpython-35.opt-1.pyc
5.882 KB
31 May 2024 1.51 PM
root / linksafe
0644
TypeinViewer.cpython-35.pyc
5.882 KB
31 May 2024 1.51 PM
root / linksafe
0644
__init__.cpython-35.opt-1.pyc
0.138 KB
31 May 2024 1.51 PM
root / linksafe
0644
__init__.cpython-35.pyc
0.138 KB
31 May 2024 1.51 PM
root / linksafe
0644
pyColorChooser.cpython-35.opt-1.pyc
3.476 KB
31 May 2024 1.51 PM
root / linksafe
0644
pyColorChooser.cpython-35.pyc
3.476 KB
31 May 2024 1.51 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF