#include <parentinfo.h>
Public Member Functions | |
void | DeterminBorders (CControlList *pControlList) |
void | Annotate (HDC hdc) |
CEdge ** | GetHorizontalEdges () |
CEdge ** | GetVerticalEdges () |
void | Resize (int width, int height) |
CParentInfo () | |
virtual | ~CParentInfo () |
void | Init (HWND h) |
LONG | GetWidth () const |
LONG | GetHeight () const |
LONG | GetLeft () const |
LONG | GetTop () const |
LONG | GetRight () const |
LONG | GetBottom () const |
void | DeterminSize () |
HWND | GetWindow () const |
PROPERTY (LONG, RightBorder) | |
PROPERTY (LONG, LeftBorder) | |
PROPERTY (LONG, TopBorder) | |
PROPERTY (LONG, BottomBorder) | |
CEdge * | AddEdge (int Position, int Axis, BOOL Flexible=false, int Offset=0) |
CEdge * | AddEdge (CGuide *pGuide, int Offset=0) |
void | ConstructBorders () |
CEdge & | FindCloseEdge (CEdge &Fixed, int Offset) |
CEdge * | GetLeftEdge () |
CEdge * | GetRightEdge () |
CEdge * | GetTopEdge () |
CEdge * | GetBottomEdge () |
int | GetNumHoriz () const |
int | GetNumVert () const |
PROPERTY (DIMENSION, MinimumSize) | |
Private Attributes | |
DIMENSION | m_MinimumSize |
RECT | m_Size |
HWND | m_hWnd |
LONG | m_RightBorder |
LONG | m_LeftBorder |
LONG | m_TopBorder |
LONG | m_BottomBorder |
CEdgeCache | m_Edges |
CEdge * | m_pLeftEdge |
CEdge * | m_pRightEdge |
CEdge * | m_pTopEdge |
CEdge * | m_pBottomEdge |
|
Definition at line 15 of file parentinfo.cpp. References m_pBottomEdge, m_pLeftEdge, m_pRightEdge, m_pTopEdge, and NULL.
|
|
Definition at line 41 of file parentinfo.cpp.
|
|
Definition at line 171 of file parentinfo.cpp. References AddEdge(), CEdgeCache::Create(), m_Edges, and Offset.
|
|
Definition at line 75 of file parentinfo.cpp. References ABS, AddEdge(), CEdgeCache::Create(), CEdge::GetAxis(), CEdgeCache::GetEdge(), CEdge::GetGuide(), CEdge::GetPosition(), L, m_Edges, NULL, and TRACE. Referenced by AddEdge(), ConstructBorders(), CResizeControlGeneric::DeterminBottomAttatchments(), CResizeControlGeneric::DeterminLeftAttatchments(), CResizeControlGeneric::DeterminRightAttatchments(), and CResizeControlGeneric::DeterminTopAttatchments().
|
|
Definition at line 252 of file parentinfo.cpp. References Annotate(), CEdgeCache::GetEdge(), GetHeight(), CEdge::GetPosition(), GetWidth(), CEdge::IsHorizontal(), m_Edges, and NULL. Referenced by Annotate().
|
|
Definition at line 184 of file parentinfo.cpp. References AddEdge(), BOTTOM_AT, FALSE, GetHeight(), GetWidth(), LEFT_AT, m_pBottomEdge, m_pLeftEdge, m_pRightEdge, m_pTopEdge, RIGHT_AT, TOP_AT, and TRUE. Referenced by DeterminBorders().
|
|
Definition at line 282 of file parentinfo.cpp. References BORDER, ConstructBorders(), DeterminBorders(), CControlList::GetControl(), L, and TRACE. Referenced by DeterminBorders(), and CResizeDlg::WalkControls().
|
|
Definition at line 54 of file parentinfo.cpp. References DIMENSION, GetClientRect(), GetHeight(), GetWidth(), GetWindow(), GetWindowRect(), tagDIMENSION::Height, L, m_Size, TRACE, and tagDIMENSION::Width. Referenced by Init().
|
|
Definition at line 149 of file parentinfo.cpp. References ABS, FindCloseEdge(), Fixed, CEdge::GetAxis(), CEdgeCache::GetEdge(), CEdge::GetPosition(), m_Edges, and Offset. Referenced by FindCloseEdge().
|
|
Definition at line 40 of file parentinfo.h. References m_Size. Referenced by CResizeDlg::FindControls().
|
|
Definition at line 58 of file parentinfo.h. References m_pBottomEdge.
|
|
Definition at line 35 of file parentinfo.h. References m_Size. Referenced by Annotate(), ConstructBorders(), CResizeControlGeneric::DeterminLocation(), DeterminSize(), CScaleDlg::DoChangePos(), CResizeDlg::DoInitDialog(), CResizeControlGeneric::GetBottomGap(), Init(), CScaleDlg::ResizeControls(), and CResizeDlg::SpecialRowCol().
|
|
Definition at line 234 of file parentinfo.cpp. References CEdgeCache::GetEdge(), CEdge::IsHorizontal(), L, m_Edges, and TRACE. Referenced by CResizeDlg::FindCommonGuides().
|
|
Definition at line 37 of file parentinfo.h. References m_Size. Referenced by CResizeControlGeneric::DeterminLocation(), and CResizeDlg::FindControls().
|
|
Definition at line 55 of file parentinfo.h. References m_pLeftEdge. Referenced by CResizeControlGeneric::Resize().
|
|
Definition at line 60 of file parentinfo.h. References m_Edges. Referenced by CResizeDlg::FindCommonGuides().
|
|
Definition at line 61 of file parentinfo.h. References m_Edges. Referenced by CResizeDlg::FindCommonGuides().
|
|
Definition at line 39 of file parentinfo.h. References m_Size. Referenced by CResizeDlg::FindControls(), and CResizeControlGeneric::GetRightGap().
|
|
Definition at line 56 of file parentinfo.h. References m_pRightEdge.
|
|
Definition at line 38 of file parentinfo.h. References m_Size. Referenced by CResizeControlGeneric::DeterminLocation(), and CResizeDlg::FindControls().
|
|
Definition at line 57 of file parentinfo.h. References m_pTopEdge.
|
|
Definition at line 210 of file parentinfo.cpp. References CEdgeCache::GetEdge(), CEdge::IsVertical(), L, m_Edges, and TRACE. Referenced by CResizeDlg::FindCommonGuides().
|
|
Definition at line 34 of file parentinfo.h. References m_Size. Referenced by Annotate(), ConstructBorders(), CResizeControlGeneric::DeterminLocation(), DeterminSize(), CScaleDlg::DoChangePos(), CResizeDlg::DoInitDialog(), Init(), CScaleDlg::ResizeControls(), and CResizeDlg::SpecialRowCol().
|
|
Definition at line 43 of file parentinfo.h. References m_hWnd. Referenced by CResizeControlGeneric::DeterminLocation(), and DeterminSize().
|
|
Definition at line 29 of file parentinfo.cpp. References DeterminSize(), GetHeight(), GetWidth(), Init(), and m_hWnd. Referenced by Init(), and CResizeDlg::WalkControls().
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 198 of file parentinfo.cpp. References m_pBottomEdge, m_pRightEdge, Resize(), and CEdge::SetPosition(). Referenced by Resize().
|
|
Definition at line 73 of file parentinfo.h. |
|
Definition at line 78 of file parentinfo.h. Referenced by AddEdge(), Annotate(), FindCloseEdge(), GetHorizontalEdges(), GetNumHoriz(), GetNumVert(), and GetVerticalEdges(). |
|
Definition at line 68 of file parentinfo.h. Referenced by GetWindow(), and Init(). |
|
Definition at line 71 of file parentinfo.h. |
|
Definition at line 66 of file parentinfo.h. |
|
Definition at line 86 of file parentinfo.h. Referenced by ConstructBorders(), CParentInfo(), GetBottomEdge(), and Resize(). |
|
Definition at line 83 of file parentinfo.h. Referenced by ConstructBorders(), CParentInfo(), and GetLeftEdge(). |
|
Definition at line 84 of file parentinfo.h. Referenced by ConstructBorders(), CParentInfo(), GetRightEdge(), and Resize(). |
|
Definition at line 85 of file parentinfo.h. Referenced by ConstructBorders(), CParentInfo(), and GetTopEdge(). |
|
Definition at line 70 of file parentinfo.h. |
|
Definition at line 67 of file parentinfo.h. Referenced by DeterminSize(), GetBottom(), GetHeight(), GetLeft(), GetRight(), GetTop(), and GetWidth(). |
|
Definition at line 72 of file parentinfo.h. |