Update of /cvsroot/wgui/wgui/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29916/includes
Modified Files:
wg_window.h
Log Message:
Tooltips and cursor changes now check the floating window and any children.
Index: wg_window.h
===================================================================
RCS file: /cvsroot/wgui/wgui/includes/wg_window.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** wg_window.h 16 Jul 2004 16:41:35 -0000 1.43
--- wg_window.h 19 Jul 2004 21:49:56 -0000 1.44
***************
*** 155,158 ****
--- 155,163 ----
virtual std::string GetWindowText(void) { return m_sWindowText; }
+ //! Check to see if a point lies within the window or any of it's children
+ //! \param Point the point to check against in View coordinates
+ //! \return true if the point lies within the window rect, or any of it's children's window rects
+ virtual bool HitTest(const CPoint& Point) const;
+
//! Render the window itself
virtual void Draw(void) const;
|