Page 3 of 3
Re:Your GUI design?
Posted: Fri Apr 29, 2005 6:28 am
by Poseidon
@open_coder: I don't think all of these people are working on their GUI - it are only the ideas they've got.
Re:Your GUI design?
Posted: Fri Apr 29, 2005 7:06 am
by distantvoices
And brainstorming and sharing ideas ain't bad.
By the way, what think you lads by this - for the clipping stuff:
you keep a map where you see: pixel (x,y) belongs to window (a) and pixel (x1,y1) belongs to window (b).
So, before redrawing the screen, you redraw this map (one window upon the other according to the z order list),
then you redraw the screen based on this information.
The only problem I have with this is: fill_rectangle with set_pixel is awful to do. There I honestly opt for clipping rectangles and fill in each rectangle found for the window.
The above mentioned method might be worth to look at for operations which really require a set_pixel(x,y) thing.
... just /dev/brain issueing to /dev/null ...