GME  13
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
CGuiAnnotator Class Reference

#include <GUIObject.h>

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

List of all members.

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< IMgaElementDecoratorGetDecorator (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< IMgaRegNoderootNode

Protected Attributes

CComPtr< IMgaModelmodel
int numParentAspects
int parentAspect
bool grayedOut
CGMEViewview
std::vector
< AnnotatorDecoratorData * > 
decoratorData
bool special

Detailed Description

Definition at line 120 of file GUIObject.h.


Constructor & Destructor Documentation

CGuiAnnotator::CGuiAnnotator ( CComPtr< IMgaModel > &  pModel,
CComPtr< IMgaRegNode > &  mRootNode,
CGMEView vw,
int  numAsp 
)

Definition at line 379 of file GUIObject.cpp.

Definition at line 465 of file GUIObject.cpp.


Member Function Documentation

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.

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.

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.


Member Data Documentation

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.

Definition at line 157 of file GUIObject.h.

Definition at line 158 of file GUIObject.h.

Definition at line 153 of file GUIObject.h.

bool CGuiAnnotator::special [protected]

Definition at line 162 of file GUIObject.h.

Definition at line 160 of file GUIObject.h.


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