view flax/UI.py @ 1921:0c54bd6e1630

color picker no longer opens on hover, and no longer shows a rainbow in small mode. Ignore-this: 637e296da9b59d81acf03eff16a4e193 you can also drag outside the large rainbow while picking and it'll snap to the closest point.
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 01 Jun 2019 21:16:47 +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)
"""