[pywin32-checkins] pywin32/win32/src win32gui.i,1.110,1.111
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-09-03 07:11:04
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18218 Modified Files: win32gui.i Log Message: Add PtInRect Index: win32gui.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32gui.i,v retrieving revision 1.110 retrieving revision 1.111 diff -C2 -d -r1.110 -r1.111 *** win32gui.i 3 Jun 2007 14:53:07 -0000 1.110 --- win32gui.i 3 Sep 2007 05:01:59 -0000 1.111 *************** *** 476,479 **** --- 476,484 ---- } + %typemap(python,in) POINT INPUT { + if (!PyWinObject_AsPOINT($source, &$target)) + return NULL; + } + %typemap(python,in) POINT *BOTH = POINT *INPUT; *************** *** 5290,5293 **** --- 5295,5303 ---- int Y); // @pyparm int|Y||Y coord + // @pyswig boolean|PtInRect|Determines if a rectangle contains a point + BOOL PtInRect( + RECT *INPUT, // @pyparm (int, int, int, int)|rect||The rect to check + POINT INPUT); // @pyparm (int,int)|point||The point + // @pyswig boolean|RectInRegion|Determines if a region and rectangle overlap at any point BOOL RectInRegion( |