[Wgui-cvs] wgui/includes wg_editbox.h,1.55,1.56
Status: Beta
Brought to you by:
greenwire
|
From: Rob W. <gre...@us...> - 2004-09-01 18:57:40
|
Update of /cvsroot/wgui/wgui/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14753/includes Modified Files: wg_editbox.h Log Message: Fixed a small bug in the drag selection for edit boxes. Index: wg_editbox.h =================================================================== RCS file: /cvsroot/wgui/wgui/includes/wg_editbox.h,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** wg_editbox.h 3 Jun 2004 19:10:52 -0000 1.55 --- wg_editbox.h 1 Sep 2004 18:57:31 -0000 1.56 *************** *** 87,90 **** --- 87,95 ---- virtual int GetSelectionLength(void) const { return m_SelLength; } + //! Gets a character index from a point + //! \param Point The point (in window coordinates) + //! \return The index (in characters) of the point in the string + virtual std::string::size_type GetIndexFromPoint(const CPoint& Point) const; + // CWindow overrides |