Search Toolkit Book for CDockMarkerWindow
CDockMarkerWindow - top level window with docking markers displayed on top of the application window. More...
#include <gui/widgets/wx/dock_frames.hpp>
CDockMarkerWindow - top level window with docking markers displayed on top of the application window.
This window consists of 5 regions (4 rectangles and 1 cross-like). Rectangular regions represent marker for docking a window into the Root container (left, right, top, bottom). The central region contains 5 markers for docking a window inside the Target Window (a container inside a Dock Container).
Definition at line 60 of file dock_frames.hpp.
◆ TParent ◆ CDockMarkerWindow() CDockMarkerWindow::CDockMarkerWindow ( CDockContainer & doc_cont, wxWindow * parent ) ◆ ~CDockMarkerWindow() CDockMarkerWindow::~CDockMarkerWindow ( )Definition at line 79 of file dock_frames.cpp.
◆ DECLARE_EVENT_TABLE() CDockMarkerWindow::DECLARE_EVENT_TABLE ( ) protected ◆ HitTest()determines whether a given position is inside one of the 9 markers and returns the corresponding dock effect
Definition at line 336 of file dock_frames.cpp.
References eNoEffect, ePutInTab, eSplitBottom, eSplitLeft, eSplitRight, eSplitTargetBottom, eSplitTargetLeft, eSplitTargetRight, eSplitTargetTop, eSplitTop, m_BottomRect, m_CenterBottomRect, m_CenterLeftRect, m_CenterRect, m_CenterRightRect, m_CenterTabRect, m_CenterTopRect, m_LeftRect, m_RightRect, and m_TopRect.
Referenced by CDockContainer::OnDragOver().
◆ OnPaint() void CDockMarkerWindow::OnPaint ( wxPaintEvent & event ) ◆ SetTargetRect() void CDockMarkerWindow::SetTargetRect ( const wxRect & root_rc, const wxRect & target_rc ) ◆ x_DrawButton() void CDockMarkerWindow::x_DrawButton ( wxDC & dc, const wxRect & btn_rc, int index ) protected ◆ x_InitBitmaps() void CDockMarkerWindow::x_InitBitmaps ( ) protected ◆ x_SetShape() void CDockMarkerWindow::x_SetShape ( ) protected ◆ x_UpdateLayout() bool CDockMarkerWindow::x_UpdateLayout ( const wxRect & root_rc, const wxRect & target_rc ) protectedDefinition at line 186 of file dock_frames.cpp.
References kBtnLength, kBtnSpace, kBtnWidth, kCenterBtnSize, kCenterOffset, kCenterSize, m_BottomRect, m_CenterBottomRect, m_CenterLeftRect, m_CenterRect, m_CenterRightRect, m_CenterTabRect, m_CenterTopRect, m_LeftRect, m_RightRect, m_RootRect, m_TargetRect, and m_TopRect.
Referenced by SetTargetRect().
◆ m_Bitmaps wxBitmap CDockMarkerWindow::m_Bitmaps[5] protected ◆ m_BottomRect wxRect CDockMarkerWindow::m_BottomRect ◆ m_BtnFillColor wxColour CDockMarkerWindow::m_BtnFillColor protected ◆ m_BtnFrameColor wxColour CDockMarkerWindow::m_BtnFrameColor protected ◆ m_CenterBottomRect wxRect CDockMarkerWindow::m_CenterBottomRect ◆ m_CenterLeftRect wxRect CDockMarkerWindow::m_CenterLeftRect ◆ m_CenterRect wxRect CDockMarkerWindow::m_CenterRect ◆ m_CenterRightRect wxRect CDockMarkerWindow::m_CenterRightRect ◆ m_CenterTabRect wxRect CDockMarkerWindow::m_CenterTabRect ◆ m_CenterTopRect wxRect CDockMarkerWindow::m_CenterTopRect ◆ m_ClipRegion wxRegion CDockMarkerWindow::m_ClipRegion protected ◆ m_DockContainer ◆ m_LeftRect wxRect CDockMarkerWindow::m_LeftRect ◆ m_RightRect wxRect CDockMarkerWindow::m_RightRect ◆ m_RootRect wxRect CDockMarkerWindow::m_RootRect ◆ m_SetShape bool CDockMarkerWindow::m_SetShape protected ◆ m_TargetRect wxRect CDockMarkerWindow::m_TargetRect ◆ m_TopRect wxRect CDockMarkerWindow::m_TopRectThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4