openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

Multiple Windows - easier way of drawing in a specific window

Open dimitre opened this issue 3 years ago • 0 comments

Now it is possible to identify each window as @ofTheo suggested here in this thread https://forum.openframeworks.cc/t/multiple-windows-how-to-know-which-window-is-being-drawn/40538/3

it would be great to have a simpler way of handling drawing in different windows.

void drawWindow(ofEventArgs & args) {
	int index = args.windowIndex;
}

dimitre avatar Oct 20 '22 14:10 dimitre