Changeset - 6e2eb80b02df
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 16 years ago 2009-06-26 01:55:03
drewp@bigasterisk.com
start of a rewrite of the CurveRow ui which will let the curve area be a scrolling region
Ignore-this: afd04db4e62a5783e28b0891785f57be
1 file changed with 14 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/curve.py
Show inline comments
 
@@ -727,6 +727,14 @@ class Curveset:
 
            return
 
        self.sliders.valueOut("knob%s" % num, value * 127)
 

	
 
class CurveRow(tk.Frame):
 
    """
 
    one of the repeating curve rows
 
    """
 
    def __init__(self, master):
 
        tk.Frame(self, master, relief='raised', bd=1)
 

	
 

	
 
class Curvesetview(tk.Frame):
 
    def __init__(self, master, curveset, **kw):
 
        self.curves = {} # curvename : Curveview
 
@@ -756,7 +764,12 @@ class Curvesetview(tk.Frame):
 
    def add_curve(self, name, slider=None, knobEnabled=False):
 
        labelFont = "arial 8"
 

	
 
        f = tk.Frame(self,relief='raised',bd=1)
 
        f = CurveRow(self)
 

	
 

	
 
        # move the stuff below here into CurveRow class
 

	
 
        
 
        f.pack(side='top',fill='both',exp=1)
 

	
 
        leftside = tk.Frame(f)
0 comments (0 inline, 0 general)