[commit] r1343 - branches/Breaking_COM_Changes/GME/Interfaces

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Jun 8 09:49:58 CDT 2011


Author: ksmyth
Date: Wed Jun  8 09:49:57 2011
New Revision: 1343

Log:
Remove DrawEx: per GME-339, we need to set up and tear down the GDIPlus handle in GME to support both Draw and DrawEx. e.g. C# decorators will set up a GDIPlus from the HDC, so just require decorators to set up GDIPlus if they use it. Also passing a C++ GDIPlus wrapper through COM is terribly ugly

Modified:
   branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl

Modified: branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl
==============================================================================
--- branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl	Tue Jun  7 19:29:30 2011	(r1342)
+++ branches/Breaking_COM_Changes/GME/Interfaces/Gme.idl	Wed Jun  8 09:49:57 2011	(r1343)
@@ -485,7 +485,6 @@
 interface IMgaDecoratorCommon : IMgaDecorator
 {
 	[id(20), helpstring("method InitializeEx")] HRESULT InitializeEx([in] IMgaProject* project, [in] IMgaMetaPart* meta, [in] IMgaFCO* obj, [in] IMgaCommonDecoratorEvents* eventSink, [in] ULONGLONG parentWnd);
-	[id(21), helpstring("method DrawEx")] HRESULT DrawEx([in] ULONG hdc, [in] ULONGLONG gdip);
 	[id(22), helpstring("method SetSelected")] HRESULT SetSelected([in] VARIANT_BOOL isSelected);
 	[id(23), helpstring("method MouseMoved")] HRESULT MouseMoved([in] ULONG nFlags, [in] LONG pointx, [in] LONG pointy, [in] ULONGLONG transformHDC);
 	[id(24), helpstring("method MouseLeftButtonDown")] HRESULT MouseLeftButtonDown([in] ULONG nFlags, [in] LONG pointx, [in] LONG pointy, [in] ULONGLONG transformHDC);


More information about the gme-commit mailing list