GME
13
|
#include <GUIObject.h>
Public Member Functions | |
CGuiObject (CComPtr< IMgaFCO > &pt, CComPtr< IMgaMetaRole > &role, CGMEView *vw, int numAsp) | |
virtual | ~CGuiObject () |
void | InitObject (CWnd *viewWnd) |
virtual CGuiObject * | dynamic_cast_CGuiObject (void) |
void | InitAspect (int asp, CComPtr< IMgaMetaPart > &metaPart, CString &decorStr, CWnd *viewWnd) |
void | GetDecoratorStr (CString &str) |
const CRect & | GetLocation (int aspect=-1) |
const CRect & | GetNameLocation (int aspect=-1) |
CSize | GetSize (int aspect=-1) |
CPoint | GetCenter () |
void | SetObjectLocation (CRect &rect, int aspect=-1, bool doMga=true) |
void | SetSize (CSize &s, int aspect=-1, bool doMga=true) |
void | SetAllSizes (CSize &s, bool doMga=true) |
void | SetLocation (CRect &r, int aspect=-1, bool doMga=true) |
CSize | GetNativeSize (int aspect=-1) |
void | SetAllSizesToNative () |
int | MapAspect (int parent) |
void | GetNeighbors (CGuiFcoList &list) |
void | GetRelationsInOut (CGuiConnectionList &list, bool inOrOut) |
CGuiPortList & | GetPorts () |
CGuiAspect * | GetCurrentAspect () |
CGuiPort * | FindPort (CPoint &pt, bool lookNearToo=false) |
CGuiPort * | FindPort (CComPtr< IMgaFCO > mgaFco) |
CAutoRouterBox * | GetRouterBox () |
CAutoRouterBox * | GetRouterNameBox () |
void | SetRouterBox (CAutoRouterBox *rbox) |
void | SetRouterNameBox (CAutoRouterBox *rnbox) |
void | ReadAllLocations () |
void | WriteLocation (int aspect=-1) |
bool | IsHotspotEnabled () const |
void | DeleteCustomizationOfConnections (CGuiConnectionList &conns, long aspect) |
void | DeleteCustomizationOfInOutConnections (long aspect) |
void | GrayOutNeighbors () |
bool | IsInside (CPoint &pt, bool lookNearToo=false) |
bool | IsLabelInside (CPoint &pt, bool lookNearToo=false) |
void | IncrementAnimRefCnt () |
void | DecrementAnimRefCnt () |
void | ResizeObject (const CRect &newLocation) |
virtual bool | IsVisible (int aspect=-1) |
virtual bool | IsResizable (void) |
virtual void | RemoveFromRouter (CAutoRouter &router) |
virtual void | Draw (HDC pDC, Gdiplus::Graphics *gdip) |
virtual void | GrayOut (bool set) |
virtual CGuiMetaAspect * | GetKindAspect (CComPtr< IMgaMetaPart > metaPart) |
Static Public Member Functions | |
static void | GetExtent (CGuiFcoList &objectList, CRect &rect) |
static void | GetExtent (CGuiObjectList &objectList, CRect &rect) |
static CSize | GetExtent (CGuiFcoList &list) |
static void | MoveObjects (CGuiFcoList &fcoList, CPoint &pt) |
static void | MoveObjects (CGuiObjectList &objectList, CPoint &pt) |
static void | FindUpperLeft (CGuiObjectList &objs, int &left, int &top) |
static void | ShiftModels (CGuiObjectList &objList, CPoint &shiftBy) |
static bool | NudgeObjects (CGuiObjectList &modelList, int right, int down) |
static void | GetRectList (CGuiObjectList &objList, CRectList &rects) |
Protected Attributes | |
CArray< CGuiAspect *, CGuiAspect * > | guiAspects |
bool | isHotspotEnabled |
Definition at line 233 of file GUIObject.h.
CGuiObject::CGuiObject | ( | CComPtr< IMgaFCO > & | pt, |
CComPtr< IMgaMetaRole > & | role, | ||
CGMEView * | vw, | ||
int | numAsp | ||
) |
Definition at line 1074 of file GUIObject.cpp.
CGuiObject::~CGuiObject | ( | ) | [virtual] |
Definition at line 1128 of file GUIObject.cpp.
void CGuiObject::DecrementAnimRefCnt | ( | ) |
Definition at line 1610 of file GUIObject.cpp.
void CGuiObject::DeleteCustomizationOfConnections | ( | CGuiConnectionList & | conns, |
long | aspect | ||
) |
Definition at line 1503 of file GUIObject.cpp.
void CGuiObject::DeleteCustomizationOfInOutConnections | ( | long | aspect | ) |
Definition at line 1514 of file GUIObject.cpp.
void CGuiObject::Draw | ( | HDC | pDC, |
Gdiplus::Graphics * | gdip | ||
) | [virtual] |
Implements CGuiFco.
Definition at line 1849 of file GUIObject.cpp.
virtual CGuiObject* CGuiObject::dynamic_cast_CGuiObject | ( | void | ) | [inline, virtual] |
Reimplemented from CGuiFco.
Definition at line 241 of file GUIObject.h.
CGuiPort * CGuiObject::FindPort | ( | CPoint & | pt, |
bool | lookNearToo = false |
||
) |
Definition at line 1548 of file GUIObject.cpp.
CGuiPort * CGuiObject::FindPort | ( | CComPtr< IMgaFCO > | mgaFco | ) |
Definition at line 1586 of file GUIObject.cpp.
void CGuiObject::FindUpperLeft | ( | CGuiObjectList & | objs, |
int & | left, | ||
int & | top | ||
) | [static] |
Definition at line 1685 of file GUIObject.cpp.
CPoint CGuiObject::GetCenter | ( | void | ) | [inline] |
Definition at line 249 of file GUIObject.h.
CGuiAspect* CGuiObject::GetCurrentAspect | ( | void | ) | [inline] |
Definition at line 260 of file GUIObject.h.
void CGuiObject::GetDecoratorStr | ( | CString & | str | ) |
Definition at line 1290 of file GUIObject.cpp.
void CGuiObject::GetExtent | ( | CGuiFcoList & | objectList, |
CRect & | rect | ||
) | [static] |
Definition at line 1628 of file GUIObject.cpp.
void CGuiObject::GetExtent | ( | CGuiObjectList & | objectList, |
CRect & | rect | ||
) | [static] |
Definition at line 1646 of file GUIObject.cpp.
static CSize CGuiObject::GetExtent | ( | CGuiFcoList & | list | ) | [inline, static] |
Definition at line 283 of file GUIObject.h.
CGuiMetaAspect * CGuiObject::GetKindAspect | ( | CComPtr< IMgaMetaPart > | metaPart | ) | [virtual] |
Reimplemented in CGuiCompoundReference, and CGuiModel.
Definition at line 1904 of file GUIObject.cpp.
const CRect& CGuiObject::GetLocation | ( | int | aspect = -1 | ) | [inline] |
Definition at line 246 of file GUIObject.h.
const CRect& CGuiObject::GetNameLocation | ( | int | aspect = -1 | ) | [inline] |
Definition at line 247 of file GUIObject.h.
CSize CGuiObject::GetNativeSize | ( | int | aspect = -1 | ) |
Definition at line 1341 of file GUIObject.cpp.
void CGuiObject::GetNeighbors | ( | CGuiFcoList & | list | ) |
Definition at line 1373 of file GUIObject.cpp.
CGuiPortList& CGuiObject::GetPorts | ( | ) | [inline] |
Definition at line 259 of file GUIObject.h.
void CGuiObject::GetRectList | ( | CGuiObjectList & | objList, |
CRectList & | rects | ||
) | [static] |
Definition at line 1815 of file GUIObject.cpp.
void CGuiObject::GetRelationsInOut | ( | CGuiConnectionList & | list, |
bool | inOrOut | ||
) |
Definition at line 1399 of file GUIObject.cpp.
CAutoRouterBox* CGuiObject::GetRouterBox | ( | ) | [inline] |
Definition at line 263 of file GUIObject.h.
CAutoRouterBox* CGuiObject::GetRouterNameBox | ( | ) | [inline] |
Definition at line 264 of file GUIObject.h.
CSize CGuiObject::GetSize | ( | int | aspect = -1 | ) | [inline] |
Definition at line 248 of file GUIObject.h.
void CGuiObject::GrayOut | ( | bool | set | ) | [virtual] |
Reimplemented from CGuiFco.
Definition at line 1891 of file GUIObject.cpp.
void CGuiObject::GrayOutNeighbors | ( | ) |
Definition at line 1524 of file GUIObject.cpp.
void CGuiObject::IncrementAnimRefCnt | ( | ) |
Definition at line 1601 of file GUIObject.cpp.
void CGuiObject::InitAspect | ( | int | asp, |
CComPtr< IMgaMetaPart > & | metaPart, | ||
CString & | decorStr, | ||
CWnd * | viewWnd | ||
) |
Definition at line 1150 of file GUIObject.cpp.
void CGuiObject::InitObject | ( | CWnd * | viewWnd | ) |
Definition at line 1082 of file GUIObject.cpp.
bool CGuiObject::IsHotspotEnabled | ( | ) | const [inline] |
Definition at line 269 of file GUIObject.h.
bool CGuiObject::IsInside | ( | CPoint & | pt, |
bool | lookNearToo = false |
||
) |
Definition at line 1532 of file GUIObject.cpp.
bool CGuiObject::IsLabelInside | ( | CPoint & | pt, |
bool | lookNearToo = false |
||
) |
Definition at line 1540 of file GUIObject.cpp.
bool CGuiObject::IsResizable | ( | void | ) | [virtual] |
Definition at line 1824 of file GUIObject.cpp.
virtual bool CGuiObject::IsVisible | ( | int | aspect = -1 | ) | [inline, virtual] |
Implements CGuiFco.
Definition at line 292 of file GUIObject.h.
int CGuiObject::MapAspect | ( | int | parent | ) | [inline] |
Definition at line 256 of file GUIObject.h.
void CGuiObject::MoveObjects | ( | CGuiFcoList & | fcoList, |
CPoint & | pt | ||
) | [static] |
Definition at line 1662 of file GUIObject.cpp.
void CGuiObject::MoveObjects | ( | CGuiObjectList & | objectList, |
CPoint & | pt | ||
) | [static] |
Definition at line 1676 of file GUIObject.cpp.
bool CGuiObject::NudgeObjects | ( | CGuiObjectList & | modelList, |
int | right, | ||
int | down | ||
) | [static] |
Definition at line 1759 of file GUIObject.cpp.
void CGuiObject::ReadAllLocations | ( | ) |
Definition at line 1430 of file GUIObject.cpp.
virtual void CGuiObject::RemoveFromRouter | ( | CAutoRouter & | router | ) | [inline, virtual] |
Implements CGuiFco.
Definition at line 294 of file GUIObject.h.
void CGuiObject::ResizeObject | ( | const CRect & | newLocation | ) |
Definition at line 1749 of file GUIObject.cpp.
void CGuiObject::SetAllSizes | ( | CSize & | s, |
bool | doMga = true |
||
) |
Definition at line 1323 of file GUIObject.cpp.
void CGuiObject::SetAllSizesToNative | ( | ) |
Definition at line 1360 of file GUIObject.cpp.
void CGuiObject::SetLocation | ( | CRect & | r, |
int | aspect = -1 , |
||
bool | doMga = true |
||
) |
Definition at line 1330 of file GUIObject.cpp.
void CGuiObject::SetObjectLocation | ( | CRect & | rect, |
int | aspect = -1 , |
||
bool | doMga = true |
||
) |
Definition at line 1296 of file GUIObject.cpp.
void CGuiObject::SetRouterBox | ( | CAutoRouterBox * | rbox | ) | [inline] |
Definition at line 265 of file GUIObject.h.
void CGuiObject::SetRouterNameBox | ( | CAutoRouterBox * | rnbox | ) | [inline] |
Definition at line 266 of file GUIObject.h.
void CGuiObject::SetSize | ( | CSize & | s, |
int | aspect = -1 , |
||
bool | doMga = true |
||
) |
Definition at line 1310 of file GUIObject.cpp.
void CGuiObject::ShiftModels | ( | CGuiObjectList & | objList, |
CPoint & | shiftBy | ||
) | [static] |
Definition at line 1710 of file GUIObject.cpp.
void CGuiObject::WriteLocation | ( | int | aspect = -1 | ) |
Definition at line 1475 of file GUIObject.cpp.
CArray<CGuiAspect*,CGuiAspect*> CGuiObject::guiAspects [protected] |
Definition at line 300 of file GUIObject.h.
bool CGuiObject::isHotspotEnabled [protected] |
Definition at line 301 of file GUIObject.h.