/usr/lib64/python2.6/site-packages/pynche
NameSizeModeActions
X/-0755rm
ChipViewer.py49980644editdlrm
ChipViewer.pyc55050644editdlrm
ChipViewer.pyo55050644editdlrm
ColorDB.py89410644editdlrm
ColorDB.pyc97510644editdlrm
ColorDB.pyo97510644editdlrm
DetailsViewer.py101150644editdlrm
DetailsViewer.pyc106410644editdlrm
DetailsViewer.pyo106410644editdlrm
html40colors.txt2450644editdlrm
ListViewer.py66480644editdlrm
ListViewer.pyc72220644editdlrm
ListViewer.pyo72220644editdlrm
Main.py64000644editdlrm
Main.pyc63410644editdlrm
Main.pyo63410644editdlrm
namedcolors.txt57160644editdlrm
pyColorChooser.py37680644editdlrm
pyColorChooser.pyc44530644editdlrm
pyColorChooser.pyo44530644editdlrm
pynche1790755editdlrm
PyncheWidget.py105010644editdlrm
PyncheWidget.pyc111460644editdlrm
PyncheWidget.pyo111460644editdlrm
README157840644editdlrm
StripViewer.py154650644editdlrm
StripViewer.pyc139040644editdlrm
StripViewer.pyo137480644editdlrm
Switchboard.py48170644editdlrm
Switchboard.pyc60910644editdlrm
Switchboard.pyo60910644editdlrm
TextViewer.py68690644editdlrm
TextViewer.pyc74100644editdlrm
TextViewer.pyo74100644editdlrm
TypeinViewer.py61020644editdlrm
TypeinViewer.pyc64700644editdlrm
TypeinViewer.pyo64700644editdlrm
webcolors.txt30880644editdlrm
websafe.txt17490644editdlrm
__init__.py470644editdlrm
__init__.pyc1400644editdlrm
__init__.pyo1400644editdlrm
Edit: /usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyo (10641B)
Ñò «gc@sEdZddkTdZdZdZdZdZdd d „ƒYZd S( s–DetailsViewer class. This class implements a pure input window which allows you to meticulously edit the current color. You have both mouse control of the color (via the buttons along the bottom row), and there are keyboard bindings for each of the increment/decrement buttons. The top three check buttons allow you to specify which of the three color variations are tied together when incrementing and decrementing. Red, green, and blue are self evident. By tying together red and green, you can modify the yellow level of the color. By tying together red and blue, you can modify the magenta level of the color. By tying together green and blue, you can modify the cyan level, and by tying all three together, you can modify the grey level. The behavior at the boundaries (0 and 255) are defined by the `At boundary' option menu: Stop When the increment or decrement would send any of the tied variations out of bounds, the entire delta is discarded. Wrap Around When the increment or decrement would send any of the tied variations out of bounds, the out of bounds variation is wrapped around to the other side. Thus if red were at 238 and 25 were added to it, red would have the value 7. Preseve Distance When the increment or decrement would send any of the tied variations out of bounds, all tied variations are wrapped as one, so as to preserve the distance between them. Thus if green and blue were tied, and green was at 238 while blue was at 223, and an increment of 25 were applied, green would be at 15 and blue would be at 0. Squash When the increment or decrement would send any of the tied variations out of bounds, the out of bounds variation is set to the ceiling of 255 or floor of 0, as appropriate. In this way, all tied variations are squashed to one edge or the other. The following key bindings can be used as accelerators. Note that Pynche can fall behind if you hold the key down as a key repeat: Left arrow == -1 Right arrow == +1 Control + Left == -10 Control + Right == 10 Shift + Left == -25 Shift + Right == +25 iÿÿÿÿ(t*tStops Wrap AroundsPreserve DistancetSquashsDetails Window...t DetailsViewercBs§eZdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Z dd„Z dd„Z dd „Z dd „Z d „Zd „Zd „ZRS(c Cs||_|iƒ}|iƒ\|_|_|_t|ddƒ}|_|id|i ƒ|i dƒ|i dƒ|i d|i ƒ|i d|i ƒ|i d|i ƒ|i d|i ƒ|i d |iƒ|i d |iƒ|i d |iƒ|i d |iƒ|i d |iƒ|i d|iƒt|ƒ}|_|idtdtƒt|ddƒ|_|iidddddtƒtƒ|_|ii|i ddƒƒt!|ddd|id|i"ddddƒ|_#|i#idddddt$ƒtƒ|_%|i%i|i dd ƒƒt!|dd!d|i%d|i"dd ddƒ|_&|i&idd dddt$ƒtƒ|_'|i'i|i d"dƒƒt!|dd#d|i'd|i"ddddƒ|_(|i(idd$dddt$ƒt|ƒ|_)|i)idddddt$ƒ|i"ƒt|dd%ƒ|_*|i*idd&dddtƒt+ƒ|_,|i,i|i d't-ƒƒt.||i,t-t/t0t1ƒ|_2|i2idd&dddt$ƒ|i2i3d(d)ƒt|ƒ}|_4|iddddd*d dd+ƒt5|dd,d|iƒ|_6t5|dd-d|iƒ|_7t5|dd.d|iƒ|_8t5|dd/d|iƒ|_9t5|dd0d|iƒ|_:t5|dd1d|iƒ|_;|i6idtdtd2t<ƒ|i7idtdtd2t<ƒ|i8idtdtd2t<ƒ|i9idtdtd2t<ƒ|i:idtdtd2t<ƒ|i;idtdtd2t<ƒdS(3Ntclass_tPynchetWM_DELETE_WINDOWsPynche Details Windowsssssssssstexpandtfillttexts Move Sliders:trowitcolumnitstickytRSLIDERitRedtvariabletcommandtonvaluetoffvaluetGSLIDERitGreentBSLIDERtBlueis At boundary:itATBOUNDtwidthit columnspantEWs-25s-10s-1s+1s+10s+25tside(=t_DetailsViewer__sbtoptiondbt current_rgbt_DetailsViewer__redt_DetailsViewer__greent_DetailsViewer__bluetToplevelt_DetailsViewer__roottprotocoltwithdrawttitleticonnametbindt_DetailsViewer__quitt_DetailsViewer__minus1t_DetailsViewer__plus1t_DetailsViewer__minus10t_DetailsViewer__plus10t_DetailsViewer__minus25t_DetailsViewer__plus25tFramet_DetailsViewer__frametpacktYEStXtLabelt_DetailsViewer__l1tgridtEtIntVart_DetailsViewer__rvartsettgett Checkbuttont_DetailsViewer__effectt_DetailsViewer__radio1tWt_DetailsViewer__gvart_DetailsViewer__radio2t_DetailsViewer__bvart_DetailsViewer__radio3t_DetailsViewer__l2t_DetailsViewer__l3t StringVart_DetailsViewer__boundvartSTOPt OptionMenutWRAPtRATIOtGRAVt_DetailsViewer__omenut configuret_DetailsViewer__btnframetButtont_DetailsViewer__down25t_DetailsViewer__down10t_DetailsViewer__down1t_DetailsViewer__up1t_DetailsViewer__up10t_DetailsViewer__up25tLEFT(tselft switchboardtmasterRtroottframe((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__init__Bs’                "cCs|iiƒ|iiƒ|iiƒ}|djo d}n+dhdd6d d 6d d 6d d6|}|iid|ƒdS(Niiiits (= %s Level)tCyanitMagentaitYellowitGreyiR (iiii(R:R<RARCRERO(RYteventttieR ((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__effect•s)   cCs|iiƒdS(N(R#tquit(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__quit scCs|iiƒdS(N(R#R%(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyR%£scCs|iiƒdS(N(R#t deiconify(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyRi¦scCs|idƒdS(Niçÿÿÿ(t_DetailsViewer__delta(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt __minus25©scCs|idƒdS(Niöÿÿÿ(Rj(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt __minus10¬scCs|idƒdS(Niÿÿÿÿ(Rj(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__minus1¯scCs|idƒdS(Ni(Rj(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__plus1²scCs|idƒdS(Ni (Rj(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__plus10µscCs|idƒdS(Ni(Rj(RYRd((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__plus25¸sc Csg}|iiƒo|i|}|i|ƒn |i}|iiƒo|i|}|i|ƒn |i}|iiƒo|i|}|i|ƒn |i}|iiƒ}|t jos|djpA|djp4|djp'|djp|djp |djo!|i|i|i}}}qøn¿|t jp |t jo¹t |ƒdjo¦|djo|d7}n|djo|d7}n|djo|d7}n|djo|d8}n|djo|d8}n|djo|d8}qønì|t joCd}x<|D]4}|djo d}q'|djo d}q'q'W|djovt |ƒ}|iiƒo|d|}n|iiƒo|d|}n|iiƒo|d|}qYqø|djojt|ƒ}|iiƒo||}n|iiƒo||}n|iiƒo||}qYqønœ|tjoŽ|djo d}n|djo d}n|djo d}n|djo d}n|djo d}n|djo d}qøn|ii|||ƒ|iiƒdS(Niiÿiiiÿÿÿÿi(R:R<RtappendRAR RCR!RHRIRKRLtlentmaxtminRMRt update_viewsR#tupdate_idletasks( RYtdeltaRetredtgreentbluetatboundtdirtc((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt__delta»sŒ       ''%-                          cCs||_||_||_dS(N(RR R!(RYRxRyRz((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pytupdate_yourselfs  cCsP|iiƒ|d<|iiƒ|d<|iiƒ|d<|iiƒ|dR)R%RiR.R,R*R+R-R/RjRR€(((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyRAs S          M N((t__doc__tTkinterRIRKRLRMt ADDTOVIEWR(((s:/usr/lib64/python2.6/site-packages/pynche/DetailsViewer.pyt5s