ui icon indicating copy to clipboard operation
ui copied to clipboard

Force Draw() on an Area

Open bartgrantham opened this issue 6 years ago • 0 comments

I'm trying to figure out how to call Draw() on a ui.Area because I'd like to animate a region based on a go Timer. Is this possible? I don't see anything in the docs about this, and the only reference I see in the code that's related to the uiTimer functionality of libui is a single line at the end of main.go:

// TODO Timer?

But perhaps there's an idiom I'm missing. So, is there any way to either explicitly drive the Draw() method from my code or attach a callback to a timer?

bartgrantham avatar Jan 27 '19 00:01 bartgrantham