LibreOffice Module basctl (master) 1
|
Classes | |
struct | Item |
Public Types | |
enum class | Side { Left , Bottom } |
Public Member Functions | |
SplittedSide (Layout *, Side) | |
void | Add (DockingWindow *, Size const &) |
void | Remove (DockingWindow *) |
bool | IsEmpty () const |
tools::Long | GetSize () const |
void | ArrangeIn (tools::Rectangle const &) |
void | dispose () |
Private Member Functions | |
Point | MakePoint (tools::Long, tools::Long) const |
Size | MakeSize (tools::Long, tools::Long) const |
DECL_LINK (SplitHdl, Splitter *, void) | |
void | CheckMarginsFor (Splitter *) |
void | InitSplitter (Splitter &) |
Static Private Member Functions | |
static bool | IsDocking (DockingWindow const &) |
Private Attributes | |
Layout & | rLayout |
bool | bVertical |
bool | bLower |
tools::Rectangle | aRect |
tools::Long | nSize |
VclPtr< Splitter > | aSplitter |
std::vector< Item > | vItems |
Definition at line 76 of file layout.hxx.
|
strong |
Enumerator | |
---|---|
Left | |
Bottom |
Definition at line 79 of file layout.hxx.
Definition at line 166 of file layout.cxx.
References aSplitter, Create(), InitSplitter(), Left, WB_HSCROLL, and WB_VSCROLL.
void basctl::Layout::SplittedSide::Add | ( | DockingWindow * | pWin, |
Size const & | rSize | ||
) |
Definition at line 187 of file layout.cxx.
References VclPtr< class reference_type >::Create(), Size::Height(), basctl::Layout::SplittedSide::Item::nEndPos, basctl::Layout::SplittedSide::Item::nStartPos, basctl::Layout::SplittedSide::Item::pSplit, basctl::Layout::SplittedSide::Item::pWin, WB_HSCROLL, WB_VSCROLL, and Size::Width().
Referenced by basctl::Layout::AddToBottom(), and basctl::Layout::AddToLeft().
void basctl::Layout::SplittedSide::ArrangeIn | ( | tools::Rectangle const & | rRect | ) |
Definition at line 264 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), vcl::Window::Hide(), i, basctl::Layout::SplittedSide::Item::nEndPos, nLength, basctl::Layout::SplittedSide::Item::pWin, basctl::DockingWindow::ResizeIfDocking(), Splitter::SetDragRectPixel(), vcl::Window::SetPosSizePixel(), and vcl::Window::Show().
Referenced by basctl::Layout::ArrangeWindows().
|
private |
Definition at line 395 of file layout.cxx.
References Splitter::GetSplitPosPixel(), Splitter::IsHorizontal(), nLength, nPos, and Splitter::SetSplitPosPixel().
|
private |
void basctl::Layout::SplittedSide::dispose | ( | void | ) |
Definition at line 176 of file layout.cxx.
Referenced by basctl::Layout::dispose().
tools::Long basctl::Layout::SplittedSide::GetSize | ( | ) | const |
Definition at line 257 of file layout.cxx.
Referenced by basctl::Layout::ArrangeWindows().
|
private |
Definition at line 417 of file layout.cxx.
References vcl::Window::GetOutDev(), LINK, OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), and Splitter::SetSplitHdl().
Referenced by SplittedSide().
|
staticprivate |
Definition at line 242 of file layout.cxx.
References DockingWindow::IsFloatingMode(), and vcl::Window::IsVisible().
bool basctl::Layout::SplittedSide::IsEmpty | ( | ) | const |
Definition at line 248 of file layout.cxx.
References i.
|
inlineprivate |
Definition at line 236 of file layout.cxx.
|
inlineprivate |
Definition at line 232 of file layout.cxx.
void basctl::Layout::SplittedSide::Remove | ( | DockingWindow * | pWin | ) |
Definition at line 212 of file layout.cxx.
Referenced by basctl::Layout::Remove().
|
private |
Definition at line 100 of file layout.hxx.
Definition at line 104 of file layout.hxx.
Referenced by SplittedSide().
|
private |
Definition at line 98 of file layout.hxx.
|
private |
Definition at line 96 of file layout.hxx.
|
private |
Definition at line 102 of file layout.hxx.
|
private |
Definition at line 94 of file layout.hxx.
|
private |
Definition at line 120 of file layout.hxx.