diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 (GMT) |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Tools/pynche | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-182b5aca27d376b08a2904bed42b751496f932f3.zip cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2 |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Tools/pynche')
-rw-r--r-- | Tools/pynche/ChipViewer.py | 2 | ||||
-rw-r--r-- | Tools/pynche/DetailsViewer.py | 4 | ||||
-rw-r--r-- | Tools/pynche/StripViewer.py | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Tools/pynche/ChipViewer.py b/Tools/pynche/ChipViewer.py index faa6948..05412ce 100644 --- a/Tools/pynche/ChipViewer.py +++ b/Tools/pynche/ChipViewer.py @@ -101,7 +101,7 @@ class ChipViewer: # shows the name of the nearest color in the database. BAW: should # an exact match be indicated in some way? # - # Always use the #rrggbb style to actually set the color, since we may + # Always use the #rrggbb style to actually set the color, since we may # not be using X color names (e.g. "web-safe" names) colordb = self.__sb.colordb() rgbtuple = (red, green, blue) diff --git a/Tools/pynche/DetailsViewer.py b/Tools/pynche/DetailsViewer.py index 07f5acd..11a99a6 100644 --- a/Tools/pynche/DetailsViewer.py +++ b/Tools/pynche/DetailsViewer.py @@ -2,13 +2,13 @@ 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 +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 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. diff --git a/Tools/pynche/StripViewer.py b/Tools/pynche/StripViewer.py index 429cc78..f7da479 100644 --- a/Tools/pynche/StripViewer.py +++ b/Tools/pynche/StripViewer.py @@ -1,6 +1,6 @@ """Strip viewer and related widgets. -The classes in this file implement the StripViewer shown in the top two thirds +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. @@ -182,7 +182,7 @@ class StripWidget: # the last chip selected self.__lastchip = None self.__sb = switchboard - + canvaswidth = numchips * (chipwidth + 1) canvasheight = chipheight + 43 # BAW: Kludge @@ -372,7 +372,7 @@ class StripViewer: hexbtn.grid(row=1, column=1, sticky=W) # XXX: ignore this feature for now; it doesn't work quite right yet - + ## gentypevar = self.__gentypevar = IntVar() ## self.__variations = Radiobutton(frame, ## text='Variations', |