usr
/
lib64
/
python2.7
/
site-packages
/
pynche
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] X
N/A
ChipViewer.py
4.88 KB
Rename
Delete
ChipViewer.pyc
5.37 KB
Rename
Delete
ChipViewer.pyo
5.37 KB
Rename
Delete
ColorDB.py
8.73 KB
Rename
Delete
ColorDB.pyc
9.46 KB
Rename
Delete
ColorDB.pyo
9.46 KB
Rename
Delete
DetailsViewer.py
9.88 KB
Rename
Delete
DetailsViewer.pyc
10.32 KB
Rename
Delete
DetailsViewer.pyo
10.32 KB
Rename
Delete
ListViewer.py
6.49 KB
Rename
Delete
ListViewer.pyc
7.03 KB
Rename
Delete
ListViewer.pyo
7.03 KB
Rename
Delete
Main.py
6.25 KB
Rename
Delete
Main.pyc
6.14 KB
Rename
Delete
Main.pyo
6.14 KB
Rename
Delete
PyncheWidget.py
10.25 KB
Rename
Delete
PyncheWidget.pyc
10.84 KB
Rename
Delete
PyncheWidget.pyo
10.84 KB
Rename
Delete
README
15.41 KB
Rename
Delete
StripViewer.py
15.10 KB
Rename
Delete
StripViewer.pyc
13.54 KB
Rename
Delete
StripViewer.pyo
13.40 KB
Rename
Delete
Switchboard.py
4.70 KB
Rename
Delete
Switchboard.pyc
5.92 KB
Rename
Delete
Switchboard.pyo
5.92 KB
Rename
Delete
TextViewer.py
6.71 KB
Rename
Delete
TextViewer.pyc
7.19 KB
Rename
Delete
TextViewer.pyo
7.19 KB
Rename
Delete
TypeinViewer.py
5.96 KB
Rename
Delete
TypeinViewer.pyc
6.26 KB
Rename
Delete
TypeinViewer.pyo
6.26 KB
Rename
Delete
__init__.py
47 bytes
Rename
Delete
__init__.pyc
140 bytes
Rename
Delete
__init__.pyo
140 bytes
Rename
Delete
html40colors.txt
245 bytes
Rename
Delete
namedcolors.txt
5.58 KB
Rename
Delete
pyColorChooser.py
3.68 KB
Rename
Delete
pyColorChooser.pyc
4.32 KB
Rename
Delete
pyColorChooser.pyo
4.32 KB
Rename
Delete
pynche
182 bytes
Rename
Delete
webcolors.txt
3.02 KB
Rename
Delete
websafe.txt
1.71 KB
Rename
Delete
� ��^c @ s� d Z d d l Td d l Z d Z d Z d Z d Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d d � � YZ d e f d � � YZ d d d � � YZ d d d � � YZ d S( sz Strip 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. i����( t *Ns� proc setcolor {canv colors} { set i 1 foreach c $colors { $canv itemconfigure $i -fill $c -outline $c incr i } } i i i t c C sX d | d } d } g } x7 | d k rS | j t | � � | | } | d } q W| S( Ng �o@i g i ( t appendt int( t numchipst stept startt seq( ( s8 /usr/lib64/python2.7/site-packages/pynche/StripViewer.pyt constant4 s c C s&