ImageGadget + SetGadgetState
Posted: Sat Apr 06, 2024 10:24 am
Hi,
I'm new with PureBasic and I didn't figure out how to use SetImageState.
I want to update 2D draw, I can do it by launching ImageGadget again, but the screen will flicker. I read it is possible to use SetGadgetState to make it update, but I don't know hoe to do it.
It would be nice if some could give a coding sample how to use SetGadgetState with ImageGadget to make it update drawing.
Br & Thanks.
I'm new with PureBasic and I didn't figure out how to use SetImageState.
I want to update 2D draw, I can do it by launching ImageGadget again, but the screen will flicker. I read it is possible to use SetGadgetState to make it update, but I don't know hoe to do it.
It would be nice if some could give a coding sample how to use SetGadgetState with ImageGadget to make it update drawing.
Br & Thanks.