LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
ImplStdBorderWindowView Class Referencefinal

#include <brdwin.hxx>

Inheritance diagram for ImplStdBorderWindowView:
[legend]
Collaboration diagram for ImplStdBorderWindowView:
[legend]

Public Member Functions

 ImplStdBorderWindowView (ImplBorderWindow *pBorderWindow)
 
virtual ~ImplStdBorderWindowView () override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool Tracking (const TrackingEvent &rTEvt) override
 
virtual OUString RequestHelp (const Point &rPos, tools::Rectangle &rHelpRect) override
 
virtual tools::Rectangle GetMenuRect () const override
 
virtual void Init (OutputDevice *pDev, tools::Long nWidth, tools::Long nHeight) override
 
virtual void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const override
 
virtual tools::Long CalcTitleWidth () const override
 
virtual void DrawWindow (vcl::RenderContext &rRenderContext, const Point *pOffset=nullptr) override
 
- Public Member Functions inherited from ImplBorderWindowView
virtual ~ImplBorderWindowView ()
 
virtual bool MouseMove (const MouseEvent &rMEvt)
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt)
 
virtual bool Tracking (const TrackingEvent &rTEvt)
 
virtual OUString RequestHelp (const Point &rPos, tools::Rectangle &rHelpRect)
 
virtual void Init (OutputDevice *pDev, tools::Long nWidth, tools::Long nHeight)=0
 
virtual void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const =0
 
virtual tools::Long CalcTitleWidth () const =0
 
virtual void DrawWindow (vcl::RenderContext &rRenderContext, const Point *pOffset=nullptr)=0
 
virtual tools::Rectangle GetMenuRect () const
 

Private Attributes

ImplBorderFrameData maFrameData
 

Additional Inherited Members

- Static Public Member Functions inherited from ImplBorderWindowView
static void ImplInitTitle (ImplBorderFrameData *pData)
 
static BorderWindowHitTest ImplHitTest (ImplBorderFrameData const *pData, const Point &rPos)
 
static void ImplMouseMove (ImplBorderFrameData *pData, const MouseEvent &rMEvt)
 
static OUString ImplRequestHelp (ImplBorderFrameData const *pData, const Point &rPos, tools::Rectangle &rHelpRect)
 
static tools::Long ImplCalcTitleWidth (const ImplBorderFrameData *pData)
 

Detailed Description

Definition at line 267 of file brdwin.hxx.

Constructor & Destructor Documentation

◆ ImplStdBorderWindowView()

ImplStdBorderWindowView::ImplStdBorderWindowView ( ImplBorderWindow pBorderWindow)

◆ ~ImplStdBorderWindowView()

ImplStdBorderWindowView::~ImplStdBorderWindowView ( )
overridevirtual

Definition at line 757 of file brdwin.cxx.

Member Function Documentation

◆ CalcTitleWidth()

tools::Long ImplStdBorderWindowView::CalcTitleWidth ( ) const
overridevirtual

Implements ImplBorderWindowView.

Definition at line 1345 of file brdwin.cxx.

References ImplBorderWindowView::ImplCalcTitleWidth(), and maFrameData.

◆ DrawWindow()

void ImplStdBorderWindowView::DrawWindow ( vcl::RenderContext rRenderContext,
const Point pOffset = nullptr 
)
overridevirtual

◆ GetBorder()

void ImplStdBorderWindowView::GetBorder ( sal_Int32 &  rLeftBorder,
sal_Int32 &  rTopBorder,
sal_Int32 &  rRightBorder,
sal_Int32 &  rBottomBorder 
) const
overridevirtual

◆ GetMenuRect()

tools::Rectangle ImplStdBorderWindowView::GetMenuRect ( ) const
overridevirtual

Reimplemented from ImplBorderWindowView.

Definition at line 1225 of file brdwin.cxx.

References maFrameData, and ImplBorderFrameData::maMenuRect.

◆ Init()

void ImplStdBorderWindowView::Init ( OutputDevice pDev,
tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

◆ MouseButtonDown()

bool ImplStdBorderWindowView::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

◆ MouseMove()

bool ImplStdBorderWindowView::MouseMove ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from ImplBorderWindowView.

Definition at line 761 of file brdwin.cxx.

References ImplBorderWindowView::ImplMouseMove(), and maFrameData.

◆ RequestHelp()

OUString ImplStdBorderWindowView::RequestHelp ( const Point rPos,
tools::Rectangle rHelpRect 
)
overridevirtual

Reimplemented from ImplBorderWindowView.

Definition at line 1220 of file brdwin.cxx.

References ImplBorderWindowView::ImplRequestHelp(), and maFrameData.

◆ Tracking()

bool ImplStdBorderWindowView::Tracking ( const TrackingEvent rTEvt)
overridevirtual

Reimplemented from ImplBorderWindowView.

Definition at line 869 of file brdwin.cxx.

References tools::Rectangle::AdjustBottom(), Size::AdjustHeight(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), Big, tools::Rectangle::Bottom(), Bottom, BottomLeft, BottomRight, DockingWindow::Close(), SystemWindow::Close(), Close, tools::Rectangle::Contains(), Dock, Docking, VclPtr< reference_type >::get(), tools::Rectangle::GetHeight(), TrackingEvent::GetMouseEvent(), vcl::Window::GetOutputSizePixel(), MouseEvent::GetPosPixel(), vcl::Window::GetPosPixel(), tools::Rectangle::GetSize(), vcl::Window::GetSizePixel(), vcl::Window::GetStyle(), tools::Rectangle::GetWidth(), Size::Height(), Help, Hide, vcl::Window::HideTracking(), vcl::Window::ImplGetClientWindow(), vcl::Window::ImplGetFrameWindow(), vcl::Window::ImplGetWindow(), vcl::Window::ImplIsFloatingWindow(), vcl::Window::ImplUpdateAll(), ImplBorderWindow::InvalidateBorder(), FloatingWindow::IsInPopupMode(), MouseEvent::IsSynthetic(), vcl::Window::IsSystemWindow(), TrackingEvent::IsTrackingCanceled(), TrackingEvent::IsTrackingEnded(), tools::Rectangle::Left(), Left, ImplBorderFrameData::maCloseRect, ImplBorderFrameData::maDockRect, maFrameData, ImplBorderFrameData::maHelpRect, ImplBorderFrameData::maHideRect, ImplBorderFrameData::maMenuRect, ImplBorderFrameData::maMouseOff, ImplBorderFrameData::mbDragFull, Menu, ImplBorderFrameData::mnBottomBorder, ImplBorderFrameData::mnCloseState, ImplBorderFrameData::mnDockState, ImplBorderFrameData::mnHelpState, ImplBorderFrameData::mnHideState, ImplBorderFrameData::mnHitTest, ImplBorderFrameData::mnLeftBorder, ImplBorderWindow::mnMaxHeight, ImplBorderWindow::mnMaxWidth, ImplBorderFrameData::mnMenuState, ImplBorderWindow::mnMinHeight, ImplBorderWindow::mnMinWidth, ImplBorderFrameData::mnRightBorder, ImplBorderFrameData::mnTitleHeight, ImplBorderFrameData::mnTopBorder, ImplBorderFrameData::mnTrackHeight, ImplBorderFrameData::mnTrackWidth, ImplBorderFrameData::mnTrackX, ImplBorderFrameData::mnTrackY, Move, ImplBorderFrameData::mpBorderWindow, nBorderWidth, NONE, Point, Pressed, tools::Rectangle::Right(), Right, vcl::Window::ScreenToOutputPixel(), tools::Rectangle::SetBottom(), Size::setHeight(), tools::Rectangle::SetLeft(), vcl::Window::SetPointer(), vcl::Window::SetPosPixel(), vcl::Window::SetPosSizePixel(), vcl::Window::setPosSizePixel(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Size::setWidth(), vcl::Window::ShowTracking(), Size, TearOff, Title, SystemWindow::TitleButtonClick(), tools::Rectangle::Top(), Top, tools::Rectangle::TopLeft(), TopLeft, TopRight, WB_CLOSEABLE, and Size::Width().

Member Data Documentation

◆ maFrameData

ImplBorderFrameData ImplStdBorderWindowView::maFrameData
private

The documentation for this class was generated from the following files: