event loop
program requests events
user controls what events it gets
while (not the end)
{
event = getNextEvent();
if (event.type == mouseClick)
{ … }
else if ( … …
}
Previous slide
Next slide
Back to first slide
View graphic version