view flax/UI.py @ 1003:b9aec3be2b8c

hw sliders send events in a way that piles up and we get big delays. this is a simple throttle that stops the pileup but interactivity is still bumpy Ignore-this: a755c0611adee694bffc6fb08d3f767b
author drewp@bigasterisk.com
date Mon, 17 Jun 2013 00:25:17 +0000
parents 45b12307c695
children
line wrap: on
line source

# Abstract UI widgets

class UI(Something):
    pass

class Scale(UI):
    def __init__(self, start, stop, res=0.001):
        pass

""" unfinished
class Button(UI):
    def __init__(self, etc)
"""