GME  13
Public Member Functions | Protected Attributes
CBoxDecoratorImpl Class Reference

#include <BoxDecoratorImpl.h>

Inheritance diagram for CBoxDecoratorImpl:
Inheritance graph
[legend]
Collaboration diagram for CBoxDecoratorImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CBoxDecoratorImpl ()
 ~CBoxDecoratorImpl ()
STDMETHOD() Initialize (IMgaProject *pProject, IMgaMetaPart *pPart, IMgaFCO *pFCO)
STDMETHOD() Destroy (void)
STDMETHOD() GetMnemonic (BSTR *bstrMnemonic)
STDMETHOD() GetFeatures (feature_code *pFeatureCodes)
STDMETHOD() SetParam (BSTR bstrName, VARIANT vValue)
STDMETHOD() GetParam (BSTR bstrName, VARIANT *pvValue)
STDMETHOD() SetActive (VARIANT_BOOL bIsActive)
STDMETHOD() GetPreferredSize (LONG *plWidth, LONG *plHeight)
STDMETHOD() SetLocation (LONG sx, LONG sy, LONG ex, LONG ey)
STDMETHOD() GetLocation (LONG *sx, LONG *sy, LONG *ex, LONG *ey)
STDMETHOD() GetLabelLocation (LONG *sx, LONG *sy, LONG *ex, LONG *ey)
STDMETHOD() GetPortLocation (IMgaFCO *fco, LONG *sx, LONG *sy, LONG *ex, LONG *ey)
STDMETHOD() GetPorts (IMgaFCOs **portFCOs)
STDMETHOD() Draw (ULONG hdc)
STDMETHOD() SaveState (void)
STDMETHOD() InitializeEx (IMgaProject *pProject, IMgaMetaPart *pPart, IMgaFCO *pFCO, IMgaCommonDecoratorEvents *eventSink, ULONGLONG parentWnd)
STDMETHOD() DrawEx (ULONG hdc, ULONGLONG gdipGraphics)
STDMETHOD() SetSelected (VARIANT_BOOL bIsSelected)
STDMETHOD() MouseMoved (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseLeftButtonDown (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseLeftButtonUp (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseLeftButtonDoubleClick (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseRightButtonDown (ULONGLONG hCtxMenu, ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseRightButtonUp (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseRightButtonDoubleClick (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseMiddleButtonDown (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseMiddleButtonUp (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseMiddleButtonDoubleClick (ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MouseWheelTurned (ULONG nFlags, LONG distance, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() DragEnter (ULONG *dropEffect, ULONGLONG pCOleDataObject, ULONG keyState, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() DragOver (ULONG *dropEffect, ULONGLONG pCOleDataObject, ULONG keyState, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() Drop (ULONGLONG pCOleDataObject, ULONG dropEffect, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() DropFile (ULONGLONG hDropInfo, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() MenuItemSelected (ULONG menuItemId, ULONG nFlags, LONG pointx, LONG pointy, ULONGLONG transformHDC)
STDMETHOD() OperationCanceled (void)

Protected Attributes

DecoratorSDK::DecoratorInterface * m_pElementDecorator
bool m_bLocationSet
bool m_bInitCallFromEx

Detailed Description

Definition at line 25 of file BoxDecoratorImpl.h.


Constructor & Destructor Documentation

Definition at line 30 of file BoxDecoratorImpl.cpp.

Definition at line 37 of file BoxDecoratorImpl.cpp.


Member Function Documentation

STDMETHODIMP CBoxDecoratorImpl::Destroy ( void  )

Implements IMgaDecorator.

Definition at line 51 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::DragEnter ( ULONG *  dropEffect,
ULONGLONG  pCOleDataObject,
ULONG  keyState,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 574 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::DragOver ( ULONG *  dropEffect,
ULONGLONG  pCOleDataObject,
ULONG  keyState,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 596 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::Draw ( ULONG  hdc)

Implements IMgaDecorator.

Definition at line 266 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::DrawEx ( ULONG  hdc,
ULONGLONG  gdipGraphics 
)

Implements IMgaDecoratorCommon.

Definition at line 310 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::Drop ( ULONGLONG  pCOleDataObject,
ULONG  dropEffect,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 618 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::DropFile ( ULONGLONG  hDropInfo,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 638 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetFeatures ( feature_code pFeatureCodes)

Implements IMgaDecorator.

Definition at line 82 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetLabelLocation ( LONG sx,
LONG sy,
LONG ex,
LONG ey 
)

Definition at line 203 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetLocation ( LONG sx,
LONG sy,
LONG ex,
LONG ey 
)

Definition at line 181 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetMnemonic ( BSTR *  bstrMnemonic)

Implements IMgaDecorator.

Definition at line 75 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetParam ( BSTR  bstrName,
VARIANT *  pvValue 
)

Implements IMgaDecorator.

Definition at line 109 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetPortLocation ( IMgaFCO fco,
LONG sx,
LONG sy,
LONG ex,
LONG ey 
)

Definition at line 225 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetPorts ( IMgaFCOs **  portFCOs)

Implements IMgaDecorator.

Definition at line 247 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::GetPreferredSize ( LONG plWidth,
LONG plHeight 
)

Definition at line 143 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::Initialize ( IMgaProject pProject,
IMgaMetaPart pPart,
IMgaFCO pFCO 
)

Implements IMgaDecorator.

Definition at line 41 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::InitializeEx ( IMgaProject pProject,
IMgaMetaPart pPart,
IMgaFCO pFCO,
IMgaCommonDecoratorEvents eventSink,
ULONGLONG  parentWnd 
)

Implements IMgaDecoratorCommon.

Definition at line 284 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MenuItemSelected ( ULONG  menuItemId,
ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 658 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseLeftButtonDoubleClick ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 414 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseLeftButtonDown ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 374 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseLeftButtonUp ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 394 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseMiddleButtonDoubleClick ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 534 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseMiddleButtonDown ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 494 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseMiddleButtonUp ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 514 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseMoved ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 354 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseRightButtonDoubleClick ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 474 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseRightButtonDown ( ULONGLONG  hCtxMenu,
ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 434 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseRightButtonUp ( ULONG  nFlags,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 454 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::MouseWheelTurned ( ULONG  nFlags,
LONG  distance,
LONG  pointx,
LONG  pointy,
ULONGLONG  transformHDC 
)

Implements IMgaDecoratorCommon.

Definition at line 554 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::OperationCanceled ( void  )

Implements IMgaDecoratorCommon.

Definition at line 678 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::SaveState ( void  )

Implements IMgaDecorator.

Definition at line 276 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::SetActive ( VARIANT_BOOL  bIsActive)

Implements IMgaDecorator.

Definition at line 126 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::SetLocation ( LONG  sx,
LONG  sy,
LONG  ex,
LONG  ey 
)

Definition at line 163 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::SetParam ( BSTR  bstrName,
VARIANT  vValue 
)

Implements IMgaDecorator.

Definition at line 92 of file BoxDecoratorImpl.cpp.

STDMETHODIMP CBoxDecoratorImpl::SetSelected ( VARIANT_BOOL  bIsSelected)

Implements IMgaDecoratorCommon.

Definition at line 337 of file BoxDecoratorImpl.cpp.


Member Data Documentation

Definition at line 33 of file BoxDecoratorImpl.h.

Definition at line 32 of file BoxDecoratorImpl.h.

DecoratorSDK::DecoratorInterface* CBoxDecoratorImpl::m_pElementDecorator [protected]

Definition at line 31 of file BoxDecoratorImpl.h.


The documentation for this class was generated from the following files: