|
GME
13
|
#include <GUIObject.h>


Public Member Functions | |
| CGuiAnnotator (CComPtr< IMgaModel > &pModel, CComPtr< IMgaRegNode > &mRootNode, CGMEView *vw, int numAsp) | |
| virtual | ~CGuiAnnotator () |
| void | InitDecorator (int asp) |
| void | ToggleGrayOut () |
| void | SetAspect (int a) |
| bool | IsVisible (int aspect=-1) |
| bool | IsResizable (void) const |
| bool | IsSpecial () |
| void | Draw (HDC pDC, Gdiplus::Graphics *gdip) |
| void | GrayOut (bool set=true) |
| const CRect & | GetLocation (int aspect=-1) |
| void | SetLocation (const CRect &loc, int aspect=-1, bool doMga=true) |
| void | ReadLocation (int aspect, CComPtr< IMgaRegNode > &aspNode) |
| void | WriteLocation (int aspect=-1) |
| CComPtr< IMgaElementDecorator > | GetDecorator (int asp) |
Static Public Member Functions | |
| static void | SetAspect (CGuiAnnotatorList &list, int asp) |
| static void | GrayOutAnnotations (CGuiAnnotatorList &list, bool set=true) |
| static void | NudgeAnnotations (CGuiAnnotatorList &annotatorList, int right, int down) |
| static void | GetExtent (CGuiAnnotatorList &annotatorList, CRect &rect) |
| static void | GetRectList (CGuiAnnotatorList &selectedAnnotations, CRectList &annRects) |
| static void | MoveAnnotations (CGuiAnnotatorList &annList, CPoint &pt) |
| static void | FindUpperLeft (CGuiAnnotatorList &anns, int &left, int &top) |
| static void | ShiftAnnotations (CGuiAnnotatorList &annList, CPoint &shiftBy) |
| static bool | Showable (CComPtr< IMgaRegNode > &mRootNode, CComPtr< IMgaFCO > &baseType) |
| static int | Hide (CComPtr< IMgaRegNode > &mRootNode) |
Public Attributes | |
| CComPtr< IMgaRegNode > | rootNode |
Protected Attributes | |
| CComPtr< IMgaModel > | model |
| int | numParentAspects |
| int | parentAspect |
| bool | grayedOut |
| CGMEView * | view |
| std::vector < AnnotatorDecoratorData * > | decoratorData |
| bool | special |
Definition at line 120 of file GUIObject.h.
| CGuiAnnotator::CGuiAnnotator | ( | CComPtr< IMgaModel > & | pModel, |
| CComPtr< IMgaRegNode > & | mRootNode, | ||
| CGMEView * | vw, | ||
| int | numAsp | ||
| ) |
Definition at line 379 of file GUIObject.cpp.
| CGuiAnnotator::~CGuiAnnotator | ( | ) | [virtual] |
Definition at line 465 of file GUIObject.cpp.
| void CGuiAnnotator::Draw | ( | HDC | pDC, |
| Gdiplus::Graphics * | gdip | ||
| ) |
Definition at line 540 of file GUIObject.cpp.
| void CGuiAnnotator::FindUpperLeft | ( | CGuiAnnotatorList & | anns, |
| int & | left, | ||
| int & | top | ||
| ) | [static] |
Definition at line 723 of file GUIObject.cpp.
| CComPtr<IMgaElementDecorator> CGuiAnnotator::GetDecorator | ( | int | asp | ) | [inline] |
Definition at line 150 of file GUIObject.h.
| void CGuiAnnotator::GetExtent | ( | CGuiAnnotatorList & | annotatorList, |
| CRect & | rect | ||
| ) | [static] |
Definition at line 697 of file GUIObject.cpp.
| const CRect & CGuiAnnotator::GetLocation | ( | int | aspect = -1 | ) |
Definition at line 565 of file GUIObject.cpp.
| void CGuiAnnotator::GetRectList | ( | CGuiAnnotatorList & | selectedAnnotations, |
| CRectList & | annRects | ||
| ) | [static] |
Definition at line 713 of file GUIObject.cpp.
| void CGuiAnnotator::GrayOut | ( | bool | set = true | ) |
Definition at line 553 of file GUIObject.cpp.
| void CGuiAnnotator::GrayOutAnnotations | ( | CGuiAnnotatorList & | list, |
| bool | set = true |
||
| ) | [static] |
Definition at line 670 of file GUIObject.cpp.
| int CGuiAnnotator::Hide | ( | CComPtr< IMgaRegNode > & | mRootNode | ) | [static] |
Definition at line 763 of file GUIObject.cpp.
| void CGuiAnnotator::InitDecorator | ( | int | asp | ) |
Definition at line 482 of file GUIObject.cpp.
| bool CGuiAnnotator::IsResizable | ( | void | ) | const |
Definition at line 524 of file GUIObject.cpp.
| bool CGuiAnnotator::IsSpecial | ( | ) | [inline] |
Definition at line 131 of file GUIObject.h.
| bool CGuiAnnotator::IsVisible | ( | int | aspect = -1 | ) |
Definition at line 516 of file GUIObject.cpp.
| static void CGuiAnnotator::MoveAnnotations | ( | CGuiAnnotatorList & | annList, |
| CPoint & | pt | ||
| ) | [static] |
| void CGuiAnnotator::NudgeAnnotations | ( | CGuiAnnotatorList & | annotatorList, |
| int | right, | ||
| int | down | ||
| ) | [static] |
Definition at line 679 of file GUIObject.cpp.
| void CGuiAnnotator::ReadLocation | ( | int | aspect, |
| CComPtr< IMgaRegNode > & | aspNode | ||
| ) |
Definition at line 602 of file GUIObject.cpp.
| void CGuiAnnotator::SetAspect | ( | int | a | ) | [inline] |
Definition at line 128 of file GUIObject.h.
| void CGuiAnnotator::SetAspect | ( | CGuiAnnotatorList & | list, |
| int | asp | ||
| ) | [static] |
Definition at line 662 of file GUIObject.cpp.
| void CGuiAnnotator::SetLocation | ( | const CRect & | loc, |
| int | aspect = -1, |
||
| bool | doMga = true |
||
| ) |
Definition at line 573 of file GUIObject.cpp.
| void CGuiAnnotator::ShiftAnnotations | ( | CGuiAnnotatorList & | annList, |
| CPoint & | shiftBy | ||
| ) | [static] |
Definition at line 748 of file GUIObject.cpp.
| bool CGuiAnnotator::Showable | ( | CComPtr< IMgaRegNode > & | mRootNode, |
| CComPtr< IMgaFCO > & | baseType | ||
| ) | [static] |
Definition at line 783 of file GUIObject.cpp.
| void CGuiAnnotator::ToggleGrayOut | ( | ) | [inline] |
Definition at line 127 of file GUIObject.h.
| void CGuiAnnotator::WriteLocation | ( | int | aspect = -1 | ) |
Definition at line 637 of file GUIObject.cpp.
std::vector<AnnotatorDecoratorData*> CGuiAnnotator::decoratorData [protected] |
Definition at line 161 of file GUIObject.h.
bool CGuiAnnotator::grayedOut [protected] |
Definition at line 159 of file GUIObject.h.
CComPtr<IMgaModel> CGuiAnnotator::model [protected] |
Definition at line 156 of file GUIObject.h.
int CGuiAnnotator::numParentAspects [protected] |
Definition at line 157 of file GUIObject.h.
int CGuiAnnotator::parentAspect [protected] |
Definition at line 158 of file GUIObject.h.
| CComPtr<IMgaRegNode> CGuiAnnotator::rootNode |
Definition at line 153 of file GUIObject.h.
bool CGuiAnnotator::special [protected] |
Definition at line 162 of file GUIObject.h.
CGMEView* CGuiAnnotator::view [protected] |
Definition at line 160 of file GUIObject.h.
1.7.6.1