Hacked By AnonymousFox
�
��^c @ s9 d Z d d l Td d l Z d Z d d d � � YZ d S( s ListViewer class.
This class implements an input/output view on the color model. It lists every
unique color (e.g. unique r/g/b value) found in the color database. Each
color is shown by small swatch and primary color name. Some colors have
aliases -- more than one name for the same r/g/b value. These aliases are
displayed in the small listbox at the bottom of the screen.
Clicking on a color name or swatch selects that color and updates all other
windows. When a color is selected in a different viewer, the color list is
scrolled to the selected color and it is highlighted. If the selected color
is an r/g/b value without a name, no scrolling occurs.
You can turn off Update On Click if all you want to see is the alias for a
given name, without selecting the color.
i����( t *Ns Color %List Window...t
ListViewerc B st e Z d
d � Z d � Z d
d � Z d
d � Z d
d � Z d
d � Z d
d � Z d � Z
d � Z d � Z RS( c
C s= | | _ | j � } d | _ d | _ t | d d �} | _ | j d | j � | j d � | j
d � | j d | j � | j d | j � | j d | j � | j d | j � t
| � } | _ | j � t | d
d d d
d d d t �} | _ t | � | _ | j j d t d t � | j d t d d � | j d | j d f � | j j d | d f � | j � t � | _ | j j | j d d � � t | d d d | j d | j �| _ | j j d d d t � t! | d d �| _"