GME
13
|
#include <BoxDecorator.h>
Public Member Functions | |
BoxDecorator (CComPtr< IMgaCommonDecoratorEvents > &eventSink) | |
virtual | ~BoxDecorator () |
virtual void | Initialize (CComPtr< IMgaProject > &pProject, CComPtr< IMgaMetaPart > &pPart, CComPtr< IMgaFCO > &pFCO) |
virtual void | Destroy (void) |
virtual CString | GetMnemonic (void) const |
virtual feature_code | GetFeatures (void) const |
virtual void | SetParam (const CString &strName, VARIANT vValue) |
virtual void | GetParam (const CString &strName, VARIANT *pvValue) |
virtual void | SetActive (bool bIsActive) |
virtual CSize | GetPreferredSize (void) const |
virtual void | SetLocation (const CRect &location) |
virtual CRect | GetLocation (void) const |
virtual CRect | GetLabelLocation (void) const |
virtual CRect | GetPortLocation (CComPtr< IMgaFCO > &fco) const |
virtual void | GetPorts (CComPtr< IMgaFCOs > &portFCOs) const |
virtual void | Draw (CDC *pDC, Gdiplus::Graphics *gdip) |
virtual void | SaveState (void) |
virtual void | InitializeEx (CComPtr< IMgaProject > &pProject, CComPtr< IMgaMetaPart > &pPart, CComPtr< IMgaFCO > &pFCO, HWND parentWnd) |
virtual void | SetSelected (bool bIsSelected) |
virtual bool | MouseMoved (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseLeftButtonDown (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseLeftButtonUp (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseLeftButtonDoubleClick (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseRightButtonDown (HMENU hCtxMenu, UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseRightButtonUp (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseRightButtonDoubleClick (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseMiddleButtonDown (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseMiddleButtonUp (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseMiddleButtonDoubleClick (UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | MouseWheelTurned (UINT nFlags, short distance, const CPoint &point, HDC transformHDC) |
virtual bool | DragEnter (DROPEFFECT *dropEffect, COleDataObject *pDataObject, DWORD dwKeyState, const CPoint &point, HDC transformHDC) |
virtual bool | DragOver (DROPEFFECT *dropEffect, COleDataObject *pDataObject, DWORD dwKeyState, const CPoint &point, HDC transformHDC) |
virtual bool | Drop (COleDataObject *pDataObject, DROPEFFECT dropEffect, const CPoint &point, HDC transformHDC) |
virtual bool | DropFile (HDROP p_hDropInfo, const CPoint &point, HDC transformHDC) |
virtual bool | MenuItemSelected (UINT menuItemId, UINT nFlags, const CPoint &point, HDC transformHDC) |
virtual bool | OperationCanceledByGME (void) |
Protected Attributes | |
DecoratorSDK::PartInterface * | m_part |
CComPtr < IMgaCommonDecoratorEvents > | m_eventSink |
Definition at line 23 of file BoxDecorator.h.
BoxDecorator::BoxDecorator | ( | CComPtr< IMgaCommonDecoratorEvents > & | eventSink | ) |
Definition at line 25 of file BoxDecorator.cpp.
BoxDecorator::~BoxDecorator | ( | ) | [virtual] |
Definition at line 31 of file BoxDecorator.cpp.
void BoxDecorator::Destroy | ( | void | ) | [virtual] |
Definition at line 40 of file BoxDecorator.cpp.
bool BoxDecorator::DragEnter | ( | DROPEFFECT * | dropEffect, |
COleDataObject * | pDataObject, | ||
DWORD | dwKeyState, | ||
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 185 of file BoxDecorator.cpp.
bool BoxDecorator::DragOver | ( | DROPEFFECT * | dropEffect, |
COleDataObject * | pDataObject, | ||
DWORD | dwKeyState, | ||
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 203 of file BoxDecorator.cpp.
void BoxDecorator::Draw | ( | CDC * | pDC, |
Gdiplus::Graphics * | gdip | ||
) | [virtual] |
Definition at line 105 of file BoxDecorator.cpp.
bool BoxDecorator::Drop | ( | COleDataObject * | pDataObject, |
DROPEFFECT | dropEffect, | ||
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 214 of file BoxDecorator.cpp.
bool BoxDecorator::DropFile | ( | HDROP | p_hDropInfo, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 227 of file BoxDecorator.cpp.
feature_code BoxDecorator::GetFeatures | ( | void | ) | const [virtual] |
Definition at line 54 of file BoxDecorator.cpp.
CRect BoxDecorator::GetLabelLocation | ( | void | ) | const [virtual] |
Definition at line 90 of file BoxDecorator.cpp.
CRect BoxDecorator::GetLocation | ( | void | ) | const [virtual] |
Definition at line 85 of file BoxDecorator.cpp.
CString BoxDecorator::GetMnemonic | ( | void | ) | const [virtual] |
Definition at line 49 of file BoxDecorator.cpp.
void BoxDecorator::GetParam | ( | const CString & | strName, |
VARIANT * | pvValue | ||
) | [virtual] |
Definition at line 64 of file BoxDecorator.cpp.
CRect BoxDecorator::GetPortLocation | ( | CComPtr< IMgaFCO > & | fco | ) | const [virtual] |
Definition at line 95 of file BoxDecorator.cpp.
void BoxDecorator::GetPorts | ( | CComPtr< IMgaFCOs > & | portFCOs | ) | const [virtual] |
Definition at line 100 of file BoxDecorator.cpp.
CSize BoxDecorator::GetPreferredSize | ( | void | ) | const [virtual] |
Definition at line 74 of file BoxDecorator.cpp.
void BoxDecorator::Initialize | ( | CComPtr< IMgaProject > & | pProject, |
CComPtr< IMgaMetaPart > & | pPart, | ||
CComPtr< IMgaFCO > & | pFCO | ||
) | [virtual] |
Definition at line 35 of file BoxDecorator.cpp.
void BoxDecorator::InitializeEx | ( | CComPtr< IMgaProject > & | pProject, |
CComPtr< IMgaMetaPart > & | pPart, | ||
CComPtr< IMgaFCO > & | pFCO, | ||
HWND | parentWnd | ||
) | [virtual] |
Definition at line 116 of file BoxDecorator.cpp.
bool BoxDecorator::MenuItemSelected | ( | UINT | menuItemId, |
UINT | nFlags, | ||
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 262 of file BoxDecorator.cpp.
bool BoxDecorator::MouseLeftButtonDoubleClick | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 145 of file BoxDecorator.cpp.
bool BoxDecorator::MouseLeftButtonDown | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 135 of file BoxDecorator.cpp.
bool BoxDecorator::MouseLeftButtonUp | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 140 of file BoxDecorator.cpp.
bool BoxDecorator::MouseMiddleButtonDoubleClick | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 175 of file BoxDecorator.cpp.
bool BoxDecorator::MouseMiddleButtonDown | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 165 of file BoxDecorator.cpp.
bool BoxDecorator::MouseMiddleButtonUp | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 170 of file BoxDecorator.cpp.
bool BoxDecorator::MouseMoved | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 130 of file BoxDecorator.cpp.
bool BoxDecorator::MouseRightButtonDoubleClick | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 160 of file BoxDecorator.cpp.
bool BoxDecorator::MouseRightButtonDown | ( | HMENU | hCtxMenu, |
UINT | nFlags, | ||
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 150 of file BoxDecorator.cpp.
bool BoxDecorator::MouseRightButtonUp | ( | UINT | nFlags, |
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 155 of file BoxDecorator.cpp.
bool BoxDecorator::MouseWheelTurned | ( | UINT | nFlags, |
short | distance, | ||
const CPoint & | point, | ||
HDC | transformHDC | ||
) | [virtual] |
Definition at line 180 of file BoxDecorator.cpp.
bool BoxDecorator::OperationCanceledByGME | ( | void | ) | [virtual] |
Definition at line 267 of file BoxDecorator.cpp.
void BoxDecorator::SaveState | ( | void | ) | [virtual] |
Definition at line 110 of file BoxDecorator.cpp.
void BoxDecorator::SetActive | ( | bool | bIsActive | ) | [virtual] |
Definition at line 69 of file BoxDecorator.cpp.
void BoxDecorator::SetLocation | ( | const CRect & | location | ) | [virtual] |
Definition at line 80 of file BoxDecorator.cpp.
void BoxDecorator::SetParam | ( | const CString & | strName, |
VARIANT | vValue | ||
) | [virtual] |
Definition at line 59 of file BoxDecorator.cpp.
void BoxDecorator::SetSelected | ( | bool | bIsSelected | ) | [virtual] |
Definition at line 125 of file BoxDecorator.cpp.
CComPtr<IMgaCommonDecoratorEvents> BoxDecorator::m_eventSink [protected] |
Definition at line 27 of file BoxDecorator.h.
DecoratorSDK::PartInterface* BoxDecorator::m_part [protected] |
Definition at line 26 of file BoxDecorator.h.