[Wgui-cvs] wgui/includes wg_window.h,1.39,1.40
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2004-06-30 22:31:13
|
Update of /cvsroot/wgui/wgui/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8424/includes Modified Files: wg_window.h Log Message: Draw architecture changes. Index: wg_window.h =================================================================== RCS file: /cvsroot/wgui/wgui/includes/wg_window.h,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** wg_window.h 29 Jun 2004 18:03:40 -0000 1.39 --- wg_window.h 30 Jun 2004 22:31:01 -0000 1.40 *************** *** 130,141 **** virtual CPoint ClientToView(const CPoint& Point) const; ! //! Translate the given CRect from view coordinates, to the window's coordinates //! \param Rect A CRect in view coordinates virtual CRect ViewToClient(const CRect& Rect) const; ! //! Translate the given CPoint from view coordinates, to the window's coordinates //! \param Point A CPoint in view coordinates virtual CPoint ViewToClient(const CPoint& Point) const; //! Set the WindowText of the control //! \param sText The text to assign to the window --- 130,149 ---- virtual CPoint ClientToView(const CPoint& Point) const; ! //! Translate the given CRect from view coordinates, to the window's client coordinates //! \param Rect A CRect in view coordinates virtual CRect ViewToClient(const CRect& Rect) const; ! //! Translate the given CPoint from view coordinates, to the window's client coordinates //! \param Point A CPoint in view coordinates virtual CPoint ViewToClient(const CPoint& Point) const; + //! Translate the given CRect from view coordinates, to the window's coordinates + //! \param Rect A CRect in view coordinates + virtual CRect ViewToWindow(const CRect& Rect) const; + + //! Translate the given CPoint from view coordinates, to the window's coordinates + //! \param Point A CPoint in view coordinates + virtual CPoint ViewToWindow(const CPoint& Point) const; + //! Set the WindowText of the control //! \param sText The text to assign to the window |