NCBI C++ ToolKit
|
Search Toolkit Book for CSplitter
CSplitter - container with resizable separators. More...
#include <gui/widgets/wx/splitter.hpp>
Public Types | |
enum | ESplitType { eVertical , eHorizontal , eGrid } |
ESplitMode - splitter orientation. More... | |
typedef wxPanel | TParent |
typedef vector< int > | TPosVector |
typedef vector< int > | TSizeVector |
Public Member Functions | |
CSplitter () | |
CSplitter (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel")) | |
CSplitter (wxWindow *parent, wxWindowID id=wxID_ANY, ESplitType type=eVertical) | |
virtual | ~CSplitter () |
ESplitType | GetSplitType () const |
int | GetSeparatorSize () const |
virtual void | Split (ESplitType type) |
Creates a splitter with a single cell. More... | |
virtual void | Split (ESplitType type, const TPosVector &sizes) |
Creates a splitter with cells defined by "sizes". More... | |
virtual void | Split (ESplitType type, const int ar_size[]) |
Creates a splitter with cells defined by "sizes". More... | |
virtual void | Split (ESplitType type, const TPosVector &widths, const TPosVector &heights) |
Creates splitter, "widths" and "height" define number and sizes of cells. More... | |
virtual void | Split (ESplitType type, const int ar_w[], const int ar_h[]) |
Creates splitter, "ar_w" and "ar_h" are arrays terminated by -1. More... | |
virtual void | Split (int col_n, int row_n) |
int | GetColumnsCount () const |
int | GetRowsCount () const |
void | GetWidths (TPosVector &widths) const |
void | SetWidths (const TPosVector &widths) |
void | GetHeights (TPosVector &heights) const |
void | SetHeights (const TPosVector &heights) |
void | SetResizableCell (int col, int row) |
virtual bool | Layout () |
virtual bool | Show (bool show=true) |
virtual void | BlockLayout (bool block=true) |
bool | IsValidCell (int col, int row) const |
returns "true" if cell specified by (col, row) exists in the splitter More... | |
int | GetColumnWidth (int col) const |
int | GetRowHeight (int row) const |
bool | InsertToCell (wxWindow *child, int col, int row) |
If cell [col, row] exists and vacant - adds widget to the container. More... | |
void | AddColumn () |
void | AddRow () |
virtual void | RemoveChild (wxWindowBase *child) |
overriding wxWindowBase function More... | |
virtual bool | RemoveFromCell (int col, int row) |
virtual void | RemoveAll () |
wxWindow * | GetCell (int col, int row) |
const wxWindow * | GetCell (int col, int row) const |
bool | FindChild (const wxWindow *child, int &col, int &row) const |
virtual void | x_PreserveNormalSize (bool preserve) |
Protected Types | |
typedef vector< wxWindow * > | TCells |
Protected Member Functions | |
virtual void | x_DrawSeparator (wxDC &dc, int x, int y, int w, int h) |
void | x_SplitPositionsToSizes (const TPosVector &split_positions, int total_size, TPosVector &sizes) const |
void | x_SizesToSplitPositions (const TPosVector &sizes, TPosVector &split_positions) |
void | x_Init () |
void | x_Split (ESplitType type, const TPosVector &widths, const TPosVector &heights) |
int | x_GetCellIndex (int i_x, int i_y) const |
int | x_GetColumn (int i_cell) const |
int | x_GetRow (int i_cell) const |
int | x_GetCellIndex (wxWindow *widget) const |
int | x_GetLeft (int i_x) const |
int | x_GetRight (int i_x) const |
int | x_GetWidth (int i_x) const |
int | x_GetTop (int i_y) const |
int | x_GetBottom (int i_y) const |
int | x_GetHeight (int i_y) const |
bool | x_RemoveChild (int index) |
void | x_Clear () |
void | x_ResizeToCell (int i_cell) |
void | x_ResizeToCell (int i_x, int i_y) |
void | x_ResizeAllCells () |
void | OnPaint (wxPaintEvent &event) |
void | OnMouseMove (wxMouseEvent &event) |
void | OnLeftDown (wxMouseEvent &event) |
void | OnLeftUp (wxMouseEvent &event) |
void | OnMouseEnter (wxMouseEvent &event) |
void | OnMouseLeave (wxMouseEvent &event) |
void | OnContextMenu (wxContextMenuEvent &event) |
void | OnKeyDown (wxKeyEvent &event) |
void | x_RequestUpdate () |
int | x_HitTestSeparator (int z, TPosVector &vpos) |
returns Separator index if hit or -1 More... | |
void | x_HitTest (int z, TPosVector &vpos, int &i_cell, int &i_sep) |
virtual void | x_StartDrag (int i_sep_x, int i_sep_y) |
virtual void | x_DoDragSeparator (wxMouseEvent &event, bool b_final) |
virtual void | x_EndDrag () |
virtual bool | x_IsDragging () const |
void | x_DistributeEvenly (bool b_x, bool b_y) |
void | x_DoDistributeEvenly (TPosVector &vSplitPos, int size) |
virtual void | x_Resize (const wxSize &old_size, const wxSize &new_size, bool b_size_changes) |
void | x_DoResize (TPosVector &sizes, TSizeVector &norm_sizes, TPosVector &min_sizes, int size, int new_size, int resizable_index) |
void | x_MoveSeparator (TPosVector &sizes, TSizeVector &norm_sizes, TPosVector &min_sizes, int i_sep, int delta, int resizable_index) |
void | x_GetMinimized (vector< bool > &min_cols, vector< bool > &min_rows) const |
void | x_CalculateMinSizes (TPosVector &min_widths, TPosVector &min_heights) const |
void | x_UpdateRegion (int start_x, int stop_x, int start_y, int stop_y) |
void | x_NewSplit (TPosVector &split_positions, TSizeVector &v_norm_size, int size) |
void | x_Deprecated () const |
Static Protected Member Functions | |
static void | x_ShrinkCell (TPosVector &sizes, TPosVector &min_sizes, TPosVector &norm_sizes, int index, int &delta) |
static void | x_GrowCell (TPosVector &sizes, TPosVector &norm_sizes, int index, int &delta, bool unlimited=false) |
Protected Attributes | |
ESplitType | m_Type |
bool | m_BlockLayout |
wxSize | m_LayoutedSize |
wxSize | m_SplitSize |
TPosVector | m_vSplitPosX |
TPosVector | m_vSplitPosY |
int | m_SepSize |
TSizeVector | m_vNormSizeX |
TSizeVector | m_vNormSizeY |
TCells | m_Cells |
int | m_ResizableColumn |
int | m_ResizableRow |
wxWindow * | m_PrevFocus |
members used for event handling More... | |
int | m_MouseDownX |
int | m_MouseDownY |
int | m_StartPosX |
int | m_StartPosY |
int | m_iDragSepX |
int | m_iDragSepY |
wxPoint | m_PrevSepPos |
TPosVector | m_MinWidths |
TPosVector | m_MinHeights |
int | m_MinSepPosX |
int | m_MaxSepPosX |
int | m_MinSepPosY |
int | m_MaxSepPosY |
int | m_HighlightCell |
CSplitter - container with resizable separators.
CSplitter arranges child windows in to one- or two-dimensional array. Cells in CSplitter are divided by separators that can be moved by the mouse. Every cell in CSplitter can be occupied by a single child window and every window can occupy only one cell.
Definition at line 52 of file splitter.hpp.
|
protected |
Definition at line 230 of file splitter.hpp.
typedef wxPanel CSplitter::TParent |
Definition at line 57 of file splitter.hpp.
typedef vector<int> CSplitter::TPosVector |
Definition at line 58 of file splitter.hpp.
typedef vector<int> CSplitter::TSizeVector |
Definition at line 59 of file splitter.hpp.
ESplitMode - splitter orientation.
Enumerator | |
---|---|
eVertical | |
eHorizontal | vertical space is splitted |
eGrid | horizontal space is splitted cells are separated with in both directions |
Definition at line 62 of file splitter.hpp.
CSplitter::CSplitter | ( | ) |
Definition at line 77 of file splitter.cpp.
CSplitter::CSplitter | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxT("panel") |
||
) |
Definition at line 84 of file splitter.cpp.
References x_Init().
CSplitter::CSplitter | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
ESplitType | type = eVertical |
||
) |
Definition at line 92 of file splitter.cpp.
References x_Init().
|
virtual |
Definition at line 130 of file splitter.cpp.
void CSplitter::AddColumn | ( | ) |
Definition at line 407 of file splitter.cpp.
References _ASSERT, eVertical, GetColumnsCount(), GetRowsCount(), m_Cells, m_Type, m_vNormSizeX, m_vSplitPosX, and NULL.
Referenced by CDockContainer::x_Visible_AddChildToContainer().
void CSplitter::AddRow | ( | void | ) |
Definition at line 395 of file splitter.cpp.
References _ASSERT, eHorizontal, GetColumnsCount(), GetRowsCount(), m_Cells, m_Type, m_vNormSizeY, m_vSplitPosY, and NULL.
Referenced by CDockContainer::x_Visible_AddChildToContainer().
Definition at line 621 of file splitter.cpp.
References Layout(), and m_BlockLayout.
Referenced by FBlockSplitterLayout::operator()(), and CDockContainer::x_CreateContainerWindow().
Definition at line 504 of file splitter.cpp.
References i, int, m_Cells, x_GetColumn(), and x_GetRow().
Referenced by CDockSplitter::Cont_Replace().
Definition at line 657 of file splitter.cpp.
References _ASSERT, IsValidCell(), m_Cells, NULL, row, and x_GetCellIndex().
Referenced by x_ResizeToCell().
Definition at line 669 of file splitter.cpp.
References _ASSERT, IsValidCell(), m_Cells, NULL, row, and x_GetCellIndex().
int CSplitter::GetColumnsCount | ( | void | ) | const |
Definition at line 279 of file splitter.cpp.
References m_vSplitPosX.
Referenced by AddColumn(), AddRow(), OnPaint(), SetResizableCell(), x_CalculateMinSizes(), x_DoDragSeparator(), x_GetCellIndex(), x_Split(), x_StartDrag(), and CDockContainer::x_Visible_AddChildToContainer().
Definition at line 128 of file splitter.hpp.
References x_GetWidth().
void CSplitter::GetHeights | ( | TPosVector & | heights | ) | const |
Definition at line 338 of file splitter.cpp.
References m_vSplitPosY, and x_SplitPositionsToSizes().
Referenced by FSaveSplitterLayout::operator()(), and CItemSelectionPanel::SaveSettings().
Definition at line 129 of file splitter.hpp.
References row, and x_GetHeight().
int CSplitter::GetRowsCount | ( | ) | const |
Definition at line 285 of file splitter.cpp.
References m_vSplitPosY.
Referenced by AddColumn(), AddRow(), OnPaint(), SetResizableCell(), x_CalculateMinSizes(), x_DoDragSeparator(), x_Split(), x_StartDrag(), and CDockContainer::x_Visible_AddChildToContainer().
int CSplitter::GetSeparatorSize | ( | ) | const |
Definition at line 141 of file splitter.cpp.
References m_SepSize.
CSplitter::ESplitType CSplitter::GetSplitType | ( | ) | const |
Definition at line 135 of file splitter.cpp.
References m_Type.
void CSplitter::GetWidths | ( | TPosVector & | widths | ) | const |
Definition at line 291 of file splitter.cpp.
References m_vSplitPosX, and x_SplitPositionsToSizes().
Referenced by FSaveSplitterLayout::operator()(), COpenObjectsPanel::SaveSettings(), and COpenDlg::x_SaveSettings().
If cell [col, row] exists and vacant - adds widget to the container.
Returns "true" if widget has been added.
Definition at line 374 of file splitter.cpp.
References _ASSERT, ERR_POST, m_Cells, NULL, x_GetCellIndex(), and x_ResizeToCell().
Referenced by CDockSplitter::Cont_Replace(), COpenDlg::CreateControls(), CItemSelectionPanel::CreateControls(), COpenObjectsPanel::CreateControls(), COpenObjectsPanel::SetManagers(), CDockContainer::x_InstantiateNode_AddChildWindows(), and CDockContainer::x_Visible_AddChildToContainer().
returns "true" if cell specified by (col, row) exists in the splitter
Definition at line 367 of file splitter.cpp.
References int, m_vSplitPosX, and m_vSplitPosY.
Referenced by GetCell(), and x_GetCellIndex().
|
virtual |
Definition at line 590 of file splitter.cpp.
References eGrid, eHorizontal, eVertical, m_BlockLayout, m_LayoutedSize, m_SplitSize, m_Type, and x_Resize().
Referenced by BlockLayout(), and Show().
|
protected |
Definition at line 830 of file splitter.cpp.
|
protected |
Definition at line 902 of file splitter.cpp.
References x_EndDrag(), and x_IsDragging().
|
protected |
Definition at line 835 of file splitter.cpp.
References m_MouseDownX, m_MouseDownY, m_PrevSepPos, m_vSplitPosX, m_vSplitPosY, x_DistributeEvenly(), x_HitTestSeparator(), and x_StartDrag().
|
protected |
Definition at line 882 of file splitter.cpp.
References x_DoDragSeparator(), x_EndDrag(), and x_IsDragging().
|
protected |
Definition at line 891 of file splitter.cpp.
|
protected |
Definition at line 896 of file splitter.cpp.
|
protected |
Definition at line 860 of file splitter.cpp.
References m_vSplitPosX, m_vSplitPosY, x_DoDragSeparator(), x_HitTestSeparator(), and x_IsDragging().
|
protected |
Definition at line 521 of file splitter.cpp.
References GetColumnsCount(), GetRowsCount(), m_SepSize, x_DrawSeparator(), x_GetBottom(), x_GetLeft(), x_GetRight(), and x_GetTop().
|
virtual |
Definition at line 491 of file splitter.cpp.
References i, m_Cells, NULL, and x_RequestUpdate().
|
virtual |
overriding wxWindowBase function
Definition at line 427 of file splitter.cpp.
References _ASSERT, int, m_Cells, and x_RemoveChild().
Definition at line 420 of file splitter.cpp.
References x_GetCellIndex(), and x_RemoveChild().
void CSplitter::SetHeights | ( | const TPosVector & | heights | ) |
Definition at line 344 of file splitter.cpp.
References i, m_SepSize, m_SplitSize, m_vNormSizeY, m_vSplitPosY, x_RequestUpdate(), and x_ResizeAllCells().
Referenced by CItemSelectionPanel::LoadSettings(), sRestoreSplitterSizes(), and CDockContainer::x_AddClientInSplitter().
Definition at line 321 of file splitter.cpp.
References _ASSERT, GetColumnsCount(), GetRowsCount(), m_ResizableColumn, m_ResizableRow, and row.
Referenced by CItemSelectionPanel::CreateControls(), CDockContainer::x_InstantiateNode_AddChildWindows(), and CDockContainer::x_Visible_AddChildToContainer().
void CSplitter::SetWidths | ( | const TPosVector & | widths | ) |
Definition at line 297 of file splitter.cpp.
References i, m_SepSize, m_SplitSize, m_vNormSizeX, m_vSplitPosX, x_RequestUpdate(), and x_ResizeAllCells().
Referenced by COpenObjectsPanel::LoadSettings(), sRestoreSplitterSizes(), CDockContainer::x_AddClientInSplitter(), and COpenDlg::x_LoadSettings().
Definition at line 612 of file splitter.cpp.
References Layout().
Referenced by COpenDlg::x_SetCurrentPanel().
|
virtual |
Creates a splitter with a single cell.
Definition at line 147 of file splitter.cpp.
References m_Type, type, and x_Clear().
Referenced by COpenObjectsPanel::Create(), COpenDlg::CreateControls(), CItemSelectionPanel::CreateControls(), Split(), and CDockContainer::x_InstantiateNode_AddChildWindows().
|
virtual |
|
virtual |
|
virtual |
Creates a splitter with cells defined by "sizes".
If mode == eGrid then size will be used as both width and heights
Definition at line 155 of file splitter.cpp.
References eGrid, eHorizontal, eVertical, x_Clear(), and x_Split().
|
virtual |
Creates splitter, "widths" and "height" define number and sizes of cells.
Definition at line 188 of file splitter.cpp.
References x_Split().
Definition at line 217 of file splitter.cpp.
References eGrid, eHorizontal, eVertical, i, m_Type, max(), type, x_DistributeEvenly(), and x_Split().
|
protected |
Definition at line 1206 of file splitter.cpp.
References GetColumnsCount(), GetRowsCount(), and row.
Referenced by x_Resize(), and x_StartDrag().
|
protected |
Definition at line 767 of file splitter.cpp.
References i, m_Cells, m_vNormSizeX, m_vNormSizeY, m_vSplitPosX, m_vSplitPosY, and NULL.
|
inlineprotected |
Definition at line 227 of file splitter.hpp.
References _ASSERT.
Definition at line 1090 of file splitter.cpp.
References i, int, m_Cells, m_vNormSizeX, m_vNormSizeY, m_vSplitPosX, m_vSplitPosY, x_DoDistributeEvenly(), x_GetColumn(), x_GetRow(), x_RequestUpdate(), and x_ResizeToCell().
Referenced by OnLeftDown(), and Split().
|
protected |
Definition at line 1116 of file splitter.cpp.
References i, int, m_SepSize, max(), n, and ncbi::grid::netcache::search::fields::size.
Referenced by x_DistributeEvenly().
|
protectedvirtual |
Definition at line 969 of file splitter.cpp.
References delta(), GetColumnsCount(), GetRowsCount(), m_iDragSepX, m_iDragSepY, m_MaxSepPosX, m_MaxSepPosY, m_MinHeights, m_MinSepPosX, m_MinSepPosY, m_MinWidths, m_MouseDownX, m_MouseDownY, m_PrevSepPos, m_ResizableColumn, m_ResizableRow, m_StartPosX, m_StartPosY, m_vNormSizeX, m_vNormSizeY, m_vSplitPosX, m_vSplitPosY, max(), min(), ncbi::grid::netcache::search::fields::size, x_MoveSeparator(), x_PreserveNormalSize(), x_SizesToSplitPositions(), x_SplitPositionsToSizes(), and x_UpdateRegion().
Referenced by OnLeftUp(), and OnMouseMove().
|
protected |
Definition at line 1172 of file splitter.cpp.
References _ASSERT, delta(), i, int, ncbi::grid::netcache::search::fields::size, x_GrowCell(), and x_ShrinkCell().
Referenced by x_Resize().
Reimplemented in CDockSplitter.
Definition at line 560 of file splitter.cpp.
Referenced by OnPaint().
|
protectedvirtual |
Definition at line 1030 of file splitter.cpp.
References m_iDragSepX, m_iDragSepY, and m_PrevFocus.
Referenced by OnKeyDown(), and OnLeftUp().
Definition at line 749 of file splitter.cpp.
References _ASSERT, int, and m_vSplitPosY.
Referenced by OnPaint().
Definition at line 681 of file splitter.cpp.
References _ASSERT, GetColumnsCount(), IsValidCell(), and row.
Referenced by GetCell(), InsertToCell(), and RemoveFromCell().
|
protected |
Definition at line 705 of file splitter.cpp.
Definition at line 689 of file splitter.cpp.
References _ASSERT, int, m_Cells, and m_vSplitPosX.
Referenced by FindChild(), x_DistributeEvenly(), and x_ResizeToCell().
Definition at line 757 of file splitter.cpp.
References _ASSERT, int, m_SepSize, m_vSplitPosY, and next().
Referenced by GetRowHeight(), and x_ResizeToCell().
Definition at line 716 of file splitter.cpp.
References _ASSERT, m_SepSize, and m_vSplitPosX.
Referenced by OnPaint(), and x_ResizeToCell().
|
protected |
Definition at line 1231 of file splitter.cpp.
Definition at line 724 of file splitter.cpp.
References _ASSERT, int, and m_vSplitPosX.
Referenced by OnPaint().
Definition at line 697 of file splitter.cpp.
References _ASSERT, int, m_Cells, and m_vSplitPosX.
Referenced by FindChild(), x_DistributeEvenly(), and x_ResizeToCell().
Definition at line 741 of file splitter.cpp.
References _ASSERT, m_SepSize, and m_vSplitPosY.
Referenced by OnPaint(), and x_ResizeToCell().
Definition at line 732 of file splitter.cpp.
References _ASSERT, int, m_SepSize, m_vSplitPosX, and next().
Referenced by GetColumnWidth(), and x_ResizeToCell().
|
staticprotected |
Definition at line 1154 of file splitter.cpp.
References delta(), and min().
Referenced by x_DoResize(), and x_MoveSeparator().
|
protected |
|
protected |
returns Separator index if hit or -1
Definition at line 1058 of file splitter.cpp.
References i, int, m_SepSize, and n.
Referenced by OnLeftDown(), and OnMouseMove().
|
protected |
Definition at line 100 of file splitter.cpp.
References kDefSepSize, m_BlockLayout, m_Cells, m_HighlightCell, m_iDragSepX, m_iDragSepY, m_LayoutedSize, m_MaxSepPosX, m_MaxSepPosY, m_MinSepPosX, m_MinSepPosY, m_PrevFocus, m_ResizableColumn, m_ResizableRow, m_SepSize, m_SplitSize, m_vNormSizeX, m_vNormSizeY, and NULL.
Referenced by CSplitter().
|
protectedvirtual |
Definition at line 1045 of file splitter.cpp.
References m_iDragSepX, and m_iDragSepY.
Referenced by OnKeyDown(), OnLeftUp(), and OnMouseMove().
|
protected |
Definition at line 1268 of file splitter.cpp.
References delta(), i, int, x_GrowCell(), and x_ShrinkCell().
Referenced by x_DoDragSeparator().
|
protected |
Definition at line 1367 of file splitter.cpp.
References i, int, m_SepSize, and ncbi::grid::netcache::search::fields::size.
|
virtual |
Definition at line 1051 of file splitter.cpp.
Referenced by x_DoDragSeparator(), and x_StartDrag().
Definition at line 451 of file splitter.cpp.
References i, m_Cells, NULL, and s_Contains().
Referenced by RemoveChild(), and RemoveFromCell().
|
protected |
Definition at line 912 of file splitter.cpp.
Referenced by RemoveAll(), SetHeights(), SetWidths(), x_DistributeEvenly(), x_Resize(), and x_UpdateRegion().
|
protectedvirtual |
Definition at line 633 of file splitter.cpp.
References m_MinHeights, m_MinWidths, m_ResizableColumn, m_ResizableRow, m_vNormSizeX, m_vNormSizeY, m_vSplitPosX, m_vSplitPosY, x_CalculateMinSizes(), x_DoResize(), x_RequestUpdate(), x_ResizeAllCells(), x_SizesToSplitPositions(), and x_SplitPositionsToSizes().
Referenced by Layout().
|
protected |
Definition at line 820 of file splitter.cpp.
References i, int, m_Cells, and x_ResizeToCell().
Referenced by SetHeights(), SetWidths(), and x_Resize().
|
protected |
Definition at line 794 of file splitter.cpp.
References x_GetColumn(), and x_GetRow().
Referenced by InsertToCell(), x_DistributeEvenly(), x_ResizeAllCells(), and x_UpdateRegion().
Definition at line 802 of file splitter.cpp.
References _ASSERT, GetCell(), NULL, x_GetHeight(), x_GetLeft(), x_GetTop(), and x_GetWidth().
|
staticprotected |
Definition at line 1140 of file splitter.cpp.
References delta(), and max().
Referenced by x_DoResize(), and x_MoveSeparator().
|
protected |
Definition at line 1415 of file splitter.cpp.
Referenced by x_DoDragSeparator(), and x_Resize().
|
protected |
Definition at line 243 of file splitter.cpp.
References _ASSERT, GetColumnsCount(), GetRowsCount(), i, int, kMaxCells, m_Cells, m_SepSize, m_SplitSize, m_Type, m_vNormSizeX, m_vNormSizeY, m_vSplitPosX, m_vSplitPosY, NULL, type, and x_Clear().
Referenced by Split().
|
protected |
Definition at line 1397 of file splitter.cpp.
References i, m_SepSize, max(), min(), and total_size.
Referenced by GetHeights(), GetWidths(), x_DoDragSeparator(), and x_Resize().
Definition at line 930 of file splitter.cpp.
References ElementsSum(), GetColumnsCount(), GetRowsCount(), m_iDragSepX, m_iDragSepY, m_MaxSepPosX, m_MaxSepPosY, m_MinHeights, m_MinSepPosX, m_MinSepPosY, m_MinWidths, m_PrevFocus, m_SepSize, m_StartPosX, m_StartPosY, m_vSplitPosX, m_vSplitPosY, x_CalculateMinSizes(), and x_PreserveNormalSize().
Referenced by OnLeftDown().
Definition at line 1347 of file splitter.cpp.
References int, m_vSplitPosX, m_vSplitPosY, x_RequestUpdate(), and x_ResizeToCell().
Referenced by x_DoDragSeparator().
|
protected |
Definition at line 234 of file splitter.hpp.
Referenced by BlockLayout(), Layout(), and x_Init().
|
protected |
Definition at line 244 of file splitter.hpp.
Referenced by AddColumn(), AddRow(), FindChild(), GetCell(), InsertToCell(), RemoveAll(), RemoveChild(), x_Clear(), x_DistributeEvenly(), x_GetCellIndex(), x_GetColumn(), x_GetRow(), x_Init(), x_RemoveChild(), x_ResizeAllCells(), and x_Split().
|
protected |
Definition at line 261 of file splitter.hpp.
Referenced by x_Init().
|
protected |
Definition at line 254 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_EndDrag(), x_Init(), x_IsDragging(), and x_StartDrag().
|
protected |
Definition at line 254 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_EndDrag(), x_Init(), x_IsDragging(), and x_StartDrag().
|
protected |
Definition at line 235 of file splitter.hpp.
|
protected |
Definition at line 258 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_Init(), and x_StartDrag().
|
protected |
Definition at line 259 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_Init(), and x_StartDrag().
|
protected |
Definition at line 257 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_Resize(), and x_StartDrag().
|
protected |
Definition at line 258 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_Init(), and x_StartDrag().
|
protected |
Definition at line 259 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_Init(), and x_StartDrag().
|
protected |
Definition at line 257 of file splitter.hpp.
Referenced by x_DoDragSeparator(), x_Resize(), and x_StartDrag().
|
protected |
Definition at line 252 of file splitter.hpp.
Referenced by OnLeftDown(), and x_DoDragSeparator().
|
protected |
Definition at line 252 of file splitter.hpp.
Referenced by OnLeftDown(), and x_DoDragSeparator().
|
protected |
members used for event handling
Definition at line 250 of file splitter.hpp.
Referenced by x_EndDrag(), x_Init(), and x_StartDrag().
|
protected |
Definition at line 255 of file splitter.hpp.
Referenced by OnLeftDown(), and x_DoDragSeparator().
|
protected |
Definition at line 246 of file splitter.hpp.
Referenced by SetResizableCell(), x_DoDragSeparator(), x_Init(), and x_Resize().
|
protected |
Definition at line 247 of file splitter.hpp.
Referenced by SetResizableCell(), x_DoDragSeparator(), x_Init(), and x_Resize().
|
protected |
Definition at line 240 of file splitter.hpp.
Referenced by CDockSplitter::CDockSplitter(), GetSeparatorSize(), OnPaint(), SetHeights(), SetWidths(), x_DoDistributeEvenly(), x_GetHeight(), x_GetLeft(), x_GetTop(), x_GetWidth(), x_HitTest(), x_HitTestSeparator(), x_Init(), x_NewSplit(), x_SizesToSplitPositions(), x_Split(), x_SplitPositionsToSizes(), and x_StartDrag().
|
protected |
Definition at line 236 of file splitter.hpp.
Referenced by Layout(), SetHeights(), SetWidths(), x_Init(), and x_Split().
|
protected |
Definition at line 253 of file splitter.hpp.
Referenced by x_DoDragSeparator(), and x_StartDrag().
|
protected |
Definition at line 253 of file splitter.hpp.
Referenced by x_DoDragSeparator(), and x_StartDrag().
|
protected |
Definition at line 232 of file splitter.hpp.
Referenced by AddColumn(), AddRow(), GetSplitType(), Layout(), Split(), and x_Split().
|
protected |
Definition at line 241 of file splitter.hpp.
Referenced by AddColumn(), SetWidths(), x_Clear(), x_DistributeEvenly(), x_DoDragSeparator(), x_Init(), x_Resize(), and x_Split().
|
protected |
Definition at line 242 of file splitter.hpp.
Referenced by AddRow(), SetHeights(), x_Clear(), x_DistributeEvenly(), x_DoDragSeparator(), x_Init(), x_Resize(), and x_Split().
|
protected |
Definition at line 238 of file splitter.hpp.
Referenced by AddColumn(), GetColumnsCount(), GetWidths(), IsValidCell(), OnLeftDown(), OnMouseMove(), SetWidths(), x_Clear(), x_DistributeEvenly(), x_DoDragSeparator(), x_GetColumn(), x_GetLeft(), x_GetRight(), x_GetRow(), x_GetWidth(), x_Resize(), x_Split(), x_StartDrag(), and x_UpdateRegion().
|
protected |
Definition at line 239 of file splitter.hpp.
Referenced by AddRow(), GetHeights(), GetRowsCount(), IsValidCell(), OnLeftDown(), OnMouseMove(), SetHeights(), x_Clear(), x_DistributeEvenly(), x_DoDragSeparator(), x_GetBottom(), x_GetHeight(), x_GetTop(), x_Resize(), x_Split(), x_StartDrag(), and x_UpdateRegion().