Barry Warsaw
fda3aceb71
Added interface to get/set colordb
1998-09-29 20:04:19 +00:00
Barry Warsaw
a9b45580a3
Removed old cruft, added raw about dialog
1998-09-29 20:03:53 +00:00
Barry Warsaw
7a13418e12
Changed interface for nearest() method to take individual red, green,
...
blue values instead of tuple
1998-09-29 20:03:15 +00:00
Barry Warsaw
420201972e
Got updating with Return/Tab working
1998-09-29 20:02:27 +00:00
Barry Warsaw
885b371e33
Un PMW-ified
1998-09-29 19:51:18 +00:00
Barry Warsaw
d7d4725dba
Added an extra frame in widget heirarchy in case I want to add
...
separators later
1998-09-29 17:36:43 +00:00
Barry Warsaw
dc492e6738
Un PMW-ified
1998-09-29 15:44:20 +00:00
Barry Warsaw
63c9e9851e
Rework startup
1998-09-28 23:41:53 +00:00
Barry Warsaw
1ac18cd326
simplify
1998-09-28 23:41:12 +00:00
Barry Warsaw
0e3e699178
triplet_to_brightness(): New function
1998-09-28 23:39:18 +00:00
Barry Warsaw
a69c1ba0aa
De PMW-ify
1998-09-28 23:38:44 +00:00
Barry Warsaw
26f4b5dfe4
Fixed the brightness calculation
1998-09-28 22:52:02 +00:00
Barry Warsaw
0dc9c92b10
Updated to new post-PMW framework. Moved generators to here and added
...
the StripViewer class.
1998-09-28 22:42:44 +00:00
Barry Warsaw
5177c48411
formatting
1998-09-28 21:01:55 +00:00
Barry Warsaw
6a3ea7468e
Un PMW-ified
1998-09-28 20:58:06 +00:00
Barry Warsaw
04c7886764
Un PMW-ified
1998-09-28 16:28:04 +00:00
Barry Warsaw
987fb9225f
Initial revision
1998-09-28 15:59:21 +00:00
Barry Warsaw
a5a018fbd4
Fixed unit test
1998-09-25 22:51:36 +00:00
Barry Warsaw
a341fc3bf7
update while dragging defaults to 0
1998-03-17 16:19:05 +00:00
Barry Warsaw
ee6d8a5b45
No update while dragging still tracks the arrows
1998-03-17 15:59:26 +00:00
Barry Warsaw
abae22fa5e
Get rid of Entrywidget
1998-03-16 23:35:11 +00:00
Barry Warsaw
627857e957
Add option for no updates on typing
1998-03-16 23:09:04 +00:00
Barry Warsaw
70787ed8ae
Add option for no updates on dragging
1998-03-16 23:08:53 +00:00
Barry Warsaw
a114eb5bd3
Use the new PyncheOptions widget
1998-03-16 23:08:35 +00:00
Barry Warsaw
5bfac8d7fd
Integrate with OptionsWindow... need to hook into Tab key
1998-03-10 00:17:30 +00:00
Barry Warsaw
f67575d69d
Integrate with OptionsWindow... not sure it should be modal
1998-03-10 00:17:01 +00:00
Barry Warsaw
31ac518dd7
Cosmetic
1998-03-10 00:16:09 +00:00
Barry Warsaw
2e7a32046b
rrggbb_to_triplet(), triplet_to_rrggbb(): Improvements given by GvR
1998-02-18 17:01:12 +00:00
Barry Warsaw
4435d5a8d8
Very modest improvements
1998-02-18 17:00:24 +00:00
Barry Warsaw
49c5b0d1be
Get rid of commented out, slower versions
1998-02-18 16:22:52 +00:00
Barry Warsaw
4c2fab51ed
Implementation using TCLPROC loaded into the Tcl interpreter
1998-02-18 16:22:22 +00:00
Barry Warsaw
d7300f8f56
__modified(): Make sure `rgbs' is a tuple
1998-02-18 00:06:20 +00:00
Barry Warsaw
f67a50c2e1
Several optimizations:
...
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.
1998-02-18 00:05:59 +00:00
Barry Warsaw
8d3e5ee552
Cache conversions from triplets to rrggbb's and vice versa. Wasteful
...
on space, but improves performance. Also use map to calculate
triplet_to_pmwrgb().
1998-02-18 00:02:26 +00:00
Barry Warsaw
552ac1795a
Added about dialog
1998-02-17 22:25:23 +00:00
Barry Warsaw
bc6893062a
Added chip selection stuff, strip label
1998-02-17 03:09:40 +00:00
Barry Warsaw
93737b2da8
Added method to set selected color to nearest.
...
Collapsed `Options' group into `Current Color' group
Set delegate of reds, greens, blues
1998-02-17 03:09:19 +00:00
Barry Warsaw
2e965add30
__validate(): test for None-age, not not-ness
1998-02-13 21:29:13 +00:00
Barry Warsaw
35ae864ab7
get arrow movement, and text updating. also outlining of highlight
1998-02-13 21:28:47 +00:00
Barry Warsaw
79a7879318
fixed the generators
1998-02-13 21:28:14 +00:00
Barry Warsaw
2662e15f58
triplet_to_pmwrgb(): New function
1998-02-13 21:27:56 +00:00
Barry Warsaw
f7e4793660
fixed initial color
1998-02-12 19:53:01 +00:00
Barry Warsaw
4b0d67d592
typo
1998-02-12 19:52:46 +00:00
Barry Warsaw
29fe4ddd20
Added color strip widgets
1998-02-12 19:52:31 +00:00
Barry Warsaw
9d882bc4de
Initial revision
1998-02-12 19:51:57 +00:00
Barry Warsaw
eab81a9247
Better conversion of command line given initial color
1998-02-11 18:56:13 +00:00
Barry Warsaw
55d3ffa3c2
new interface to find_byname()
1998-02-11 18:55:50 +00:00
Barry Warsaw
eb9b8af8fc
__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.
...
find_byrgb(): Changed name, interface (takes a tuple), and return
value
find_byname(): lowercase color name
1998-02-11 18:55:37 +00:00
Barry Warsaw
37400e8943
Better dimensions
1998-02-11 18:54:23 +00:00
Barry Warsaw
a6f591ac6b
Interface changes, delegate chaining, type in widget addition
1998-02-11 17:19:54 +00:00
Barry Warsaw
f4562a7a0a
Simplification of conversion routines
1998-02-11 17:19:23 +00:00
Barry Warsaw
4a445c689c
#Layout looks good, as does validation, and delegate chaining
1998-02-11 17:11:34 +00:00
Barry Warsaw
2e6c13f150
Initial revision
1998-02-10 00:13:06 +00:00
Barry Warsaw
f7c1e5a6a3
Moved toplevel widget to PyncheWidget.py
1998-01-31 23:39:28 +00:00
Barry Warsaw
fefbf79ea4
Initial revision
1998-01-31 23:39:01 +00:00
Barry Warsaw
9f4d73a9cf
BadColor: new exception class
...
rrggbb_to_triplet(): New utility function
1998-01-31 23:38:48 +00:00
Barry Warsaw
bfbe67f47f
Better implementation of nearest(). Not faster, but better
1998-01-31 00:32:07 +00:00
Barry Warsaw
2406b1d40a
Initial revision
1998-01-31 00:29:41 +00:00
Barry Warsaw
b6db1b94c5
mered Greg's suggestions, added docstring
1998-01-30 21:11:52 +00:00
Barry Warsaw
7080a7f69e
Initial revision
1998-01-29 23:48:55 +00:00
Barry Warsaw
516f18993f
Initial revision
1998-01-27 03:19:00 +00:00