ET++: Stepping through a left mouse click in a button

This method handles some events as special cases, and saves information about this event for later use. Then it passes the event off to its Window by calling Window::InputNotify().


void WindowPort::InputNotify(Token *t)
{

	[ ... code to save this event in class variable ... ]

	[ ... code to delegate events to another WindowPort ... ]

	[ ... code to detect multi-click ... ]

	if (win)
		win->InputNotify(t);
	if (refresh)
		refresh->Reset();
}

Back to the method call sequence