calling win.draw() of parent rather than child - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

calling win.draw() of parent rather than child

I've seen a lot of interesting graphic displays, but I haven't been able to program this:

You have 2 windows. One window in front of the other.
Your computer already calls draw() of each window based on position from top to bottom.

What if, the window on top were to have a draw() where part of it or all of it calls the draw() of the window behind it? Wouldn't that be cool? Like invisibility. Then we can call these windows actually windows where you see through them.

just a thought.
Sign In or Register to comment.