Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change Black/White button labels to not include the arrow | Barry Warsaw | 1999-04-27 | 1 | -2/+2 |
| | |||||
* | Added most of the mechanism to change the strips from color variations | Barry Warsaw | 1998-12-15 | 1 | -20/+101 |
| | | | | | | | | to color constants (i.e. red constant, green constant, blue constant). But I haven't hooked this up yet because the UI gets more crowded and the arrows don't reflect the correct values. Added "Go to Black" and "Go to White" buttons. | ||||
* | Many changes to support a second mode of operation. Pynche can now be | Barry Warsaw | 1998-10-22 | 1 | -17/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run either as a standalone application (by running pynche or pynche.pyw), or as a modal dialog inside another application. This can be done by importing pyColorChooser and running askcolor(). The API for this is the same as the tkColorChooser.askcolor() API, namely: When `Okay' is hit, askcolor() returns ((r, g, b), "name"). When `Cancel' is hit, askcolor() returns (None, None). Note the following differences: 1. pyColorChooser.askcolor() takes an optional keyword `master' which if set tells Pynche to run as a modal dialog. `master' is a Tkinter parent window. Without the `master' keyword Pynche runs standalone. 2. in pyColorChooser.askcolor() will return a Tk/X11 color name as "name" if there is an exact match, otherwise it will return a color spec, e.g. "#rrggbb". tkColorChooser can't return a color name. There are also some UI differences when running standalone vs. modal. When modal, there is no "File" menu, but instead there are "Okay" and "Cancel" buttons. The implementation of all this is a bit of a hack, but it seems to work moderately well. I'm not guaranteeing the pyColorChooser.Chooser class has the same semantics as the tkColorChooser.Chooser class. | ||||
* | Saving/Restoring state into ~/.pynche file | Barry Warsaw | 1998-10-20 | 1 | -2/+9 |
| | |||||
* | RightARrow._create(): justify=RIGHT on the text object | Barry Warsaw | 1998-10-06 | 1 | -0/+1 |
| | |||||
* | Added a hex button so arrow numbers can display in decimal or hex. | Barry Warsaw | 1998-10-06 | 1 | -7/+30 |
| | |||||
* | Docstring | Barry Warsaw | 1998-10-02 | 1 | -0/+26 |
| | |||||
* | Add a nice divider | Barry Warsaw | 1998-10-01 | 1 | -2/+7 |
| | |||||
* | Added options to visible window | Barry Warsaw | 1998-10-01 | 1 | -11/+16 |
| | |||||
* | Added an extra frame in widget heirarchy in case I want to add | Barry Warsaw | 1998-09-29 | 1 | -3/+6 |
| | | | | separators later | ||||
* | Fixed the brightness calculation | Barry Warsaw | 1998-09-28 | 1 | -1/+1 |
| | |||||
* | Updated to new post-PMW framework. Moved generators to here and added | Barry Warsaw | 1998-09-28 | 1 | -36/+74 |
| | | | | the StripViewer class. | ||||
* | formatting | Barry Warsaw | 1998-09-28 | 1 | -6/+6 |
| | |||||
* | Un PMW-ified | Barry Warsaw | 1998-09-28 | 1 | -41/+24 |
| | |||||
* | update while dragging defaults to 0 | Barry Warsaw | 1998-03-17 | 1 | -1/+1 |
| | |||||
* | No update while dragging still tracks the arrows | Barry Warsaw | 1998-03-17 | 1 | -36/+59 |
| | |||||
* | Add option for no updates on dragging | Barry Warsaw | 1998-03-16 | 1 | -11/+9 |
| | |||||
* | Very modest improvements | Barry Warsaw | 1998-02-18 | 1 | -27/+31 |
| | |||||
* | Get rid of commented out, slower versions | Barry Warsaw | 1998-02-18 | 1 | -14/+0 |
| | |||||
* | Implementation using TCLPROC loaded into the Tcl interpreter | Barry Warsaw | 1998-02-18 | 1 | -10/+32 |
| | |||||
* | Several optimizations: | Barry Warsaw | 1998-02-18 | 1 | -51/+81 |
| | | | | | | | | | | | | | self.__chips now contains the list of rgbtuple values for the chips named i - 1 (Tkinter counts from 1, we count from zero). The chip number was just the index + 1. This means color lookup need not do an itemcget(), it can just index into __chips. instead of calling __canvas.itemconfigure(), we glom up a huge Tcl script and call tk.eval() directly. Actually we do many appends to a Python list, then string.join() them together into one huge string. This reduces the overhead of Tkinter but making one fast call to Tcl. | ||||
* | Added chip selection stuff, strip label | Barry Warsaw | 1998-02-17 | 1 | -8/+40 |
| | |||||
* | get arrow movement, and text updating. also outlining of highlight | Barry Warsaw | 1998-02-13 | 1 | -2/+39 |
| | |||||
* | Initial revision | Barry Warsaw | 1998-02-12 | 1 | -0/+135 |