[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Changing window background color without redrawing



Hi everybody,
I have a window, whose background color I control with a midi fader. This window has a drawhook outputting random squares that is refreshed every second. If I change the background color with every fader action, the entire window gets redrawn, resulting in mayhem of squares. The other option is to have the fader action to change a variable for the color, but then the background changes to the rhythm that the drawhook refreshes the window, i.e., every second.
Is there some way I can change the background color of the window at the speed I want without the drawhook refreshing or are the two inevitable coupled?
Thanks
Uri