Waitrud Weber’s blog

things and reminders for memories

3d: windows-make: simple animation for the interface.

f:id:Waitrud_Weber:20210325132119p:plain

simple animation

Even though l_buffer on the screen doesn't change, the above key message changed and printed message on the termainal decreased, which means the program worked well and qualified enough.

as thread: Animation_5times_thread : well
normally: Animation_5times_thread_011: well

mainWindowProc:
-paintWindowProc:
--Animation_5times_thread_011:

 

InvalidateRect: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-invalidaterect

DefWindowProc: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-defwindowproca