LibreOffice Module vcl (master) 1
|
#include <layout.hxx>
Public Member Functions | |
VclScrolledWindow (vcl::Window *pParent) | |
virtual | ~VclScrolledWindow () override |
virtual void | dispose () override |
virtual vcl::Window * | get_child () override |
virtual const vcl::Window * | get_child () const override |
virtual bool | set_property (const OString &rKey, const OUString &rValue) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
bool | HasVisibleBorder () const |
ScrollBar & | getVertScrollBar () |
ScrollBar & | getHorzScrollBar () |
Size | getVisibleChildSize () const |
void | setUserManagedScrolling (bool bUserManagedScrolling) |
void | doSetAllocation (const Size &rAllocation, bool bRetryOnFailure) |
Private Member Functions | |
virtual Size | calculateRequisition () const override |
virtual void | setAllocation (const Size &rAllocation) override |
int | CalcBorderWidth () const |
DECL_LINK (ScrollBarHdl, ScrollBar *, void) | |
void | InitScrollBars (const Size &rRequest) |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
Definition at line 483 of file layout.hxx.
VclScrolledWindow::VclScrolledWindow | ( | vcl::Window * | pParent | ) |
Definition at line 1831 of file layout.cxx.
References CalcBorderWidth(), Create(), StyleSettings::GetShadowColor(), AllSettings::GetStyleSettings(), LINK, m_nBorderWidth, m_pHScroll, m_pVScroll, NONE, SCROLLWINDOW, StyleSettings::SetMonoColor(), ScrollBar::SetScrollHdl(), AllSettings::SetStyleSettings(), and WindowBorder.
|
overridevirtual |
Definition at line 3001 of file layout.cxx.
|
private |
Definition at line 1855 of file layout.cxx.
References DecorationView::DrawFrame(), tools::Rectangle::GetWidth(), m_eDrawFrameFlags, m_eDrawFrameStyle, nBorderWidth, NoDraw, NONE, and Point.
Referenced by set_property(), and VclScrolledWindow().
|
overrideprivatevirtual |
Definition at line 1904 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), get_child(), vcl::Window::IsVisible(), m_nBorderWidth, WB_HSCROLL, and WB_VSCROLL.
|
private |
|
overridevirtual |
Definition at line 1867 of file layout.cxx.
References VclPtr< reference_type >::disposeAndClear(), m_aScrollBarBox, m_pHScroll, and m_pVScroll.
void VclScrolledWindow::doSetAllocation | ( | const Size & | rAllocation, |
bool | bRetryOnFailure | ||
) |
Definition at line 1944 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), doSetAllocation(), get_child(), Size::Height(), vcl::Window::Hide(), InitScrollBars(), vcl::Window::IsVisible(), m_aScrollBarBox, m_bUserManagedScrolling, m_nBorderWidth, m_pHScroll, m_pVScroll, Point, vcl::Window::SetPosSizePixel(), vcl::Window::Show(), WB_AUTOHSCROLL, WB_AUTOVSCROLL, WB_HSCROLL, WB_VSCROLL, and Size::Width().
Referenced by doSetAllocation(), and setAllocation().
|
overrideprivatevirtual |
Definition at line 2107 of file layout.cxx.
References COMMAND, CommandEvent::GetCommand(), NotifyEvent::GetCommandEvent(), NotifyEvent::GetType(), CommandEvent::GetWheelData(), vcl::Window::IsVisible(), m_pHScroll, m_pVScroll, pData, SCROLL, and Wheel.
|
overridevirtual |
Definition at line 1892 of file layout.cxx.
References WindowImpl::mbInDispose, and WindowImpl::mpLastChild.
|
overridevirtual |
Definition at line 1899 of file layout.cxx.
References get_child().
Referenced by calculateRequisition(), doSetAllocation(), get_child(), and InitScrollBars().
|
inline |
Definition at line 495 of file layout.hxx.
|
inline |
Definition at line 494 of file layout.hxx.
Size VclScrolledWindow::getVisibleChildSize | ( | ) | const |
Definition at line 2054 of file layout.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), vcl::Window::GetSizePixel(), Size::Height(), vcl::Window::IsVisible(), m_nBorderWidth, m_pHScroll, m_pVScroll, and Size::Width().
Referenced by InitScrollBars().
|
inline |
Definition at line 493 of file layout.hxx.
References NONE.
Referenced by VclBuilder::prepareWidgetOwnScrolling().
|
private |
Definition at line 1924 of file layout.cxx.
References get_child(), getVisibleChildSize(), Size::Height(), vcl::Window::IsVisible(), m_pHScroll, m_pVScroll, ScrollBar::Scroll(), ScrollBar::SetPageSize(), ScrollBar::SetRangeMax(), ScrollBar::SetVisibleSize(), and Size::Width().
Referenced by doSetAllocation().
|
overridevirtual |
Definition at line 2129 of file layout.cxx.
References DecorationView::DrawFrame(), tools::Rectangle::GetWidth(), m_eDrawFrameFlags, m_eDrawFrameStyle, m_nBorderWidth, nBorderWidth, NONE, Point, and SAL_WARN_IF.
|
overridevirtual |
Definition at line 2066 of file layout.cxx.
References CalcBorderWidth(), DoubleIn, DoubleOut, In, m_eDrawFrameFlags, m_eDrawFrameStyle, m_nBorderWidth, m_pHScroll, m_pVScroll, Mono, nBorderWidth, NONE, Out, vcl::Window::Show(), WB_HSCROLL, WB_VSCROLL, and WindowBorder.
|
overrideprivatevirtual |
Definition at line 2049 of file layout.cxx.
References doSetAllocation().
|
inline |
Definition at line 499 of file layout.hxx.
|
private |
Definition at line 514 of file layout.hxx.
Referenced by dispose(), and doSetAllocation().
|
private |
Definition at line 508 of file layout.hxx.
Referenced by doSetAllocation().
|
private |
Definition at line 511 of file layout.hxx.
Referenced by CalcBorderWidth(), Paint(), and set_property().
|
private |
Definition at line 510 of file layout.hxx.
Referenced by CalcBorderWidth(), Paint(), and set_property().
|
private |
Definition at line 509 of file layout.hxx.
Referenced by calculateRequisition(), doSetAllocation(), getVisibleChildSize(), Paint(), set_property(), and VclScrolledWindow().
Definition at line 513 of file layout.hxx.
Referenced by dispose(), doSetAllocation(), EventNotify(), getVisibleChildSize(), InitScrollBars(), set_property(), and VclScrolledWindow().
Definition at line 512 of file layout.hxx.
Referenced by dispose(), doSetAllocation(), EventNotify(), getVisibleChildSize(), InitScrollBars(), set_property(), and VclScrolledWindow().