[prev in list] [next in list] [prev in thread] [next in thread]
List: ros-diffs
Subject: [ros-diffs] [CVS reactos] fixed NtGdiPtVisible()
From: weiden () osexperts ! com
Date: 2004-04-26 19:58:46
Message-ID: 20040426195846.BB14843AA () mok ! osexperts ! com
[Download RAW message or body]
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in \
<b><tt>reactos/subsys/win32k/objects</tt></b><span id="info"> on \
MAIN</span></td></tr> <tr><td><tt><a href="#file1">cliprgn.c</a></tt></td><td \
align="right" id="added">+5</td><td align="right" id="removed">-12</td><td \
nowrap="nowrap" align="center"><a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects/cliprgn.c?rev=1.35&content-type=text/x-cvsweb-markup">1.35</a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects/cliprgn.c.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&f=h">-></a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects/cliprgn.c?rev=1.36&content-type=text/x-cvsweb-markup">1.36</a></td></tr>
</table>
<pre class="comment">
fixed NtGdiPtVisible()
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos">reactos</a>/<a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys">subsys</a>/<a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k">win32k</a>/<a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects">objects</a><br \
/></span> <div class="fileheader"><big><b>cliprgn.c</b></big> <small id="info"><a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects/cliprgn.c?rev=1.35&content-type=text/x-cvsweb-markup">1.35</a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects/cliprgn.c.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&f=h">-></a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/subsys/win32k/objects/cliprgn.c?rev=1.36&content-type=text/x-cvsweb-markup">1.36</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.35 -r1.36
--- cliprgn.c 25 Apr 2004 16:40:39 -0000 1.35
+++ cliprgn.c 26 Apr 2004 19:58:45 -0000 1.36
@@ -16,7 +16,7 @@
</small></pre><pre class="diff" id="context"> * along with this program; if not, \
write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
</pre><pre class="diff" id="removed">-/* $Id: cliprgn.c,v 1.35 2004/04/25 16:40:39 \
weiden Exp $ */ </pre><pre class="diff" id="added">+/* $Id: cliprgn.c,v 1.36 \
2004/04/26 19:58:45 weiden Exp $ */ </pre><pre class="diff" id="context">
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
</pre><pre class="diff"><small id="info">@@ -370,7 +370,7 @@
</small></pre><pre class="diff" id="context"> int X,
int Y)
{
</pre><pre class="diff" id="removed">- BOOL Ret;
</pre><pre class="diff" id="added">+ HRGN rgn;
</pre><pre class="diff" id="context"> DC *dc;
if(!(dc = DC_LockDc(hDC)))
</pre><pre class="diff"><small id="info">@@ -379,17 +379,10 @@
</small></pre><pre class="diff" id="context"> return FALSE;
}
</pre><pre class="diff" id="removed">- if(dc->w.hClipRgn)
- {
- Ret = NtGdiPtInRegion(dc->w.hClipRgn, X, Y);
- }
- else
- {
- Ret = FALSE;
- }
-
</pre><pre class="diff" id="added">+ rgn = dc->w.hClipRgn;
</pre><pre class="diff" id="context"> DC_UnlockDc(hDC);
</pre><pre class="diff" id="removed">- return Ret;
</pre><pre class="diff" id="added">+
+ return (rgn ? NtGdiPtInRegion(rgn, X, Y) : FALSE);
</pre><pre class="diff" id="context"> }
BOOL STDCALL NtGdiRectVisible(HDC hDC,
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" \
title="commit -> email">CVSspam</a> 0.2.8</small></center> </body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic