John Klehm : wintab32: Support overlap statuses in WTOverlap.
Alexandre Julliard
julliard at winehq.org
Fri Sep 12 07:01:37 CDT 2008
Module: wine
Branch: master
Commit: 8e42ca626e82abce18b37ebfdbcbeb9ab1133dcf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e42ca626e82abce18b37ebfdbcbeb9ab1133dcf
Author: John Klehm <xixsimplicityxix at gmail.com>
Date: Tue Apr 29 00:51:20 2008 -0500
wintab32: Support overlap statuses in WTOverlap.
---
dlls/wintab32/context.c | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c
index 9551d87..271473a 100644
--- a/dlls/wintab32/context.c
+++ b/dlls/wintab32/context.c
@@ -629,10 +629,32 @@ BOOL WINAPI WTEnable(HCTX hCtx, BOOL fEnable)
/***********************************************************************
* WTOverlap (WINTAB32.41)
+ *
+ * Move context to top or bottom of overlap order
*/
BOOL WINAPI WTOverlap(HCTX hCtx, BOOL fToTop)
{
- FIXME("(%p, %u): stub\n", hCtx, fToTop);
+ LPOPENCONTEXT context;
+
+ TRACE("hCtx=%p, fToTop=%u\n", hCtx, fToTop);
+
+ if (!hCtx) return FALSE;
+
+ EnterCriticalSection(&csTablet);
+ context = TABLET_FindOpenContext(hCtx);
+ if (fToTop)
+ {
+ /* TODO: Move context to top of overlap order */
+ FIXME("Not moving context to top of overlap order\n");
+ context->context.lcStatus = CXS_ONTOP;
+ }
+ else
+ {
+ /* TODO: Move context to bottom of overlap order */
+ FIXME("Not moving context to bottom of overlap order\n");
+ context->context.lcStatus = CXS_OBSCURED;
+ }
+ LeaveCriticalSection(&csTablet);
return TRUE;
}
More information about the wine-cvs
mailing list