[Wgui-cvs] wgui CHANGES,1.144,1.145
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2004-06-30 22:31:12
|
Update of /cvsroot/wgui/wgui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8424 Modified Files: CHANGES Log Message: Draw architecture changes. Index: CHANGES =================================================================== RCS file: /cvsroot/wgui/wgui/CHANGES,v retrieving revision 1.144 retrieving revision 1.145 diff -C2 -d -r1.144 -r1.145 *** CHANGES 29 Jun 2004 18:03:30 -0000 1.144 --- CHANGES 30 Jun 2004 22:30:52 -0000 1.145 *************** *** 3,6 **** --- 3,7 ---- + Added CWindow: PaintToSurface() which blits the window's sirface to the surface it is passed. + Added CWindow: ViewToClient() which does the opposite of ClientToView() + + Added CWindow: ViewToWindow() which converts view coordinates to window coordinates + Changed CWindow: CWindows now have their own SDL surfaces for drawing, which is then blitted to the final surface on a screen update + Changed CWindow: GetClientRect() now returns the client rect in the window's coordinates, not in the screen coordinates |