Page 1 of 1

Windowing Systems by Example 6 - Control Issues Part I

Posted: Wed Sep 21, 2016 9:23 pm
by jojo
A little late, but even so, it's that time yet again.

http://www.trackze.ro/wsbe-6-control-issues/

Today we start digging into building controls into our system by moving the child list from the Desktop class into the Window class and then using C-style inheritance to make the Desktop class itself a sub-class of Window. We also wrap up by doing some minor extensions to our drawing context's clipping functions and then cop out completely by not leaving the code in a compilable state. Gonna have to tune back in next week when we round things out by updating our window drawing routine to do clipping for arbitrarily nested child windows, extend our mouse handling to dispatch events to child windows, and finally build some working controls.