Hey Tim Robinson, need Windowing help again...
Posted: Fri Aug 23, 2002 12:57 am
this is a question related to "Windowing help (kinda OS related)... " message...
How do I go about making the clipping list? I plan to program the GUI so that overlapped sections of windows don't get wrote to whereas viewable areas are wrote to. I understand the concept of the rectangles being clipped so that the graphic is only shown in the correct parts of the window but how is the GUI programmed to know where to put these clippings? If a window has 20 windows covering sections of it then this would become complicated for the GUI to clip those 20 some areas and re-write the item 20 times (in clipped sections).
Any code examples? I think if you could describe it in more detail that I may understand it all.
Im using a graphics library that only allows me to clip one section at a time, eg: SETVIEW x1,y1,x2,y2 {set area to write to}
Thank you for your time and help. Kg.
How do I go about making the clipping list? I plan to program the GUI so that overlapped sections of windows don't get wrote to whereas viewable areas are wrote to. I understand the concept of the rectangles being clipped so that the graphic is only shown in the correct parts of the window but how is the GUI programmed to know where to put these clippings? If a window has 20 windows covering sections of it then this would become complicated for the GUI to clip those 20 some areas and re-write the item 20 times (in clipped sections).
Any code examples? I think if you could describe it in more detail that I may understand it all.
Im using a graphics library that only allows me to clip one section at a time, eg: SETVIEW x1,y1,x2,y2 {set area to write to}
Thank you for your time and help. Kg.