think-cell technical report TC2003/01 A GUI-based Interaction ...
think-cell technical report TC2003/01 A GUI-based Interaction ...
think-cell technical report TC2003/01 A GUI-based Interaction ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.1 Program Architecture IMPLEMENTATION<br />
CHotButton<br />
+OnClick()<br />
C...<br />
CVESizedButton<br />
#m_rectDoc : _intRect<br />
CHotZone<br />
#m_ve : CVisualElement<br />
#m_bHasMouseCapture : Boolesch<br />
CHotDragHandle<br />
#m_ptDocAnchor : _intPoint<br />
+OnDragStart()<br />
+OnDrag()<br />
+OnDrop()<br />
CGridLineHotDragHandle<br />
-m_gridline : CGridLine<br />
-m_end : ELineEnd<br />
CUIObject<br />
#m_pptdocwnd : CPPTDocWnd<br />
+OnMouseMove()<br />
+OnLButtonDown()<br />
+...()<br />
+UpdateUI()<br />
+Paint()<br />
CFeatureOutline<br />
#m_cve : Col<br />
#m_feature : CFeature<br />
CInsertionIndication<br />
-m_rectDoc : _intRect<br />
(a) UI objects receive and process user input messages from the document window.<br />
CVisualElement<br />
#m_pptdocwnd : CPPTDocWnd<br />
#m_vecptTexture : vector<br />
#BuildScreenPoints() : vector<br />
+Paint()<br />
CVEAnchoredButton<br />
#m_ptDocAnchor : _intPoint<br />
CVEGridLine<br />
#m_orient : EOrientation<br />
CVEGridLineHandle<br />
#m_end : ELineEnd<br />
(b) Visual elements provide visual feedback to explain the<br />
state and effect of UI objects.<br />
Figure 38: Selected class diagrams<br />
73<br />
CFeature<br />
#m_se : CSmartElement<br />
#m_bSelected : Boolesch<br />
+CreateUI() : Col<br />
CSmartElement<br />
#m_containerse : CContainerSE<br />
+Left() : CGridLine<br />
+Top() : CGridLine<br />
+Right() : CGridLine<br />
+Bottom() : CGridLine<br />
CContainerSE<br />
#m_smartgrid : CSmartGrid<br />
#m_grdlnsX : CGridLineGroup<br />
#m_grdlnsY : CGridLineGroup<br />
(c) Features represent usermodifiable<br />
entities.<br />
CUIGridLine<br />
-m_gridline : CGridLine