Contents Up Previous Next

wxNewSashLayoutWindow

Derived from

wxSashLayoutWindow

Data structures

Members

wxNewSashLayoutWindow::wxNewSashLayoutWindow
wxNewSashLayoutWindow::CalcBoxArea
wxNewSashLayoutWindow::CalcDragHintArea
wxNewSashLayoutWindow::CanBeDragged
wxNewSashLayoutWindow::ChangeEdgePosition
wxNewSashLayoutWindow::DrawBox
wxNewSashLayoutWindow::DrawDecorations
wxNewSashLayoutWindow::DrawDragHint
wxNewSashLayoutWindow::DrawGhostRect
wxNewSashLayoutWindow::FindNearestEdge
wxNewSashLayoutWindow::GetAlignedRect
wxNewSashLayoutWindow::GetBoxSize
wxNewSashLayoutWindow::GetDragHintWidth
wxNewSashLayoutWindow::GetHintWidth
wxNewSashLayoutWindow::GetInnerRect
wxNewSashLayoutWindow::GetParentRect
wxNewSashLayoutWindow::GetSashlessRect
wxNewSashLayoutWindow::HandleSashDrag
wxNewSashLayoutWindow::HasBox
wxNewSashLayoutWindow::HasDragHint
wxNewSashLayoutWindow::HideGhostRect
wxNewSashLayoutWindow::IsVertical
wxNewSashLayoutWindow::IsWithinDragArea
wxNewSashLayoutWindow::OnLeftDown
wxNewSashLayoutWindow::OnLeftUp
wxNewSashLayoutWindow::OnMotion
wxNewSashLayoutWindow::OnPaint
wxNewSashLayoutWindow::OnRightUp
wxNewSashLayoutWindow::OnSize
wxNewSashLayoutWindow::RectContains
wxNewSashLayoutWindow::RelayoutParent
wxNewSashLayoutWindow::TestNearestEdge
wxNewSashLayoutWindow::ToScreen
wxNewSashLayoutWindow::TrackGhostRect


wxNewSashLayoutWindow::wxNewSashLayoutWindow

wxNewSashLayoutWindow(wxWindow* parent, wxWindowID id = - 1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSW_3D | wxCLIP_CHILDREN | wxSW_DRAG_HINT | wxSW_CLOSE_BOX, const wxString& name = "newLayoutWindow")


wxNewSashLayoutWindow::CalcBoxArea

wxRect CalcBoxArea(const wxRect& innerRect)


wxNewSashLayoutWindow::CalcDragHintArea

wxRect CalcDragHintArea(const wxRect& innerRect)


wxNewSashLayoutWindow::CanBeDragged

bool CanBeDragged()


wxNewSashLayoutWindow::ChangeEdgePosition

void ChangeEdgePosition(wxLayoutAlignment align)


wxNewSashLayoutWindow::DrawBox

void DrawBox(wxDC& dc, const wxRect& area)

can be overriden to change drawing behaviour


wxNewSashLayoutWindow::DrawDecorations

void DrawDecorations(wxDC& dc)


wxNewSashLayoutWindow::DrawDragHint

void DrawDragHint(wxDC& dc, const wxRect& area)


wxNewSashLayoutWindow::DrawGhostRect

void DrawGhostRect(wxDC& dc, const wxRect& area, bool isInversed = FALSE)


wxNewSashLayoutWindow::FindNearestEdge

void FindNearestEdge(int& edge, const wxPoint& mousePos, bool& hitsMouse)


wxNewSashLayoutWindow::GetAlignedRect

wxRect GetAlignedRect(int edge)


wxNewSashLayoutWindow::GetBoxSize

wxSize GetBoxSize()


wxNewSashLayoutWindow::GetDragHintWidth

int GetDragHintWidth()


wxNewSashLayoutWindow::GetHintWidth

int GetHintWidth()


wxNewSashLayoutWindow::GetInnerRect

wxRect GetInnerRect()

utilities


wxNewSashLayoutWindow::GetParentRect

wxRect GetParentRect()


wxNewSashLayoutWindow::GetSashlessRect

wxRect GetSashlessRect()


wxNewSashLayoutWindow::HandleSashDrag

void HandleSashDrag(wxSashEvent& event)

a convenience method, reduces code for resizing sashes in the containing frame:


wxNewSashLayoutWindow::HasBox

bool HasBox()


wxNewSashLayoutWindow::HasDragHint

bool HasDragHint()


wxNewSashLayoutWindow::HideGhostRect

void HideGhostRect()


wxNewSashLayoutWindow::IsVertical

bool IsVertical()


wxNewSashLayoutWindow::IsWithinDragArea

bool IsWithinDragArea(wxMouseEvent& event)


wxNewSashLayoutWindow::OnLeftDown

void OnLeftDown(wxMouseEvent& event)


wxNewSashLayoutWindow::OnLeftUp

void OnLeftUp(wxMouseEvent& event)


wxNewSashLayoutWindow::OnMotion

void OnMotion(wxMouseEvent& event)


wxNewSashLayoutWindow::OnPaint

void OnPaint(wxPaintEvent& event)


wxNewSashLayoutWindow::OnRightUp

void OnRightUp(wxMouseEvent& event)


wxNewSashLayoutWindow::OnSize

void OnSize(wxSizeEvent& event)


wxNewSashLayoutWindow::RectContains

bool RectContains(const wxRect& rect, const wxPoint& point)


wxNewSashLayoutWindow::RelayoutParent

void RelayoutParent()


wxNewSashLayoutWindow::TestNearestEdge

bool TestNearestEdge(int& edge, const wxPoint& mousePos, bool& hitsMouse, int rqEdge)

wxRect ToScreen(const wxRect& localRect)


wxNewSashLayoutWindow::ToScreen

wxPoint ToScreen(const wxPoint& localPoint)


wxNewSashLayoutWindow::TrackGhostRect

void TrackGhostRect(wxMouseEvent& event)