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

#include <brdwin.hxx>

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

Public Member Functions

 ImplSmallBorderWindowView (ImplBorderWindow *pBorderWindow)
 
virtual void Init (OutputDevice *pOutDev, 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

VclPtr< ImplBorderWindowmpBorderWindow
 
VclPtr< OutputDevicempOutDev
 
tools::Long mnWidth
 
tools::Long mnHeight
 
sal_Int32 mnLeftBorder
 
sal_Int32 mnTopBorder
 
sal_Int32 mnRightBorder
 
sal_Int32 mnBottomBorder
 
bool mbNWFBorder
 

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 245 of file brdwin.hxx.

Constructor & Destructor Documentation

◆ ImplSmallBorderWindowView()

ImplSmallBorderWindowView::ImplSmallBorderWindowView ( ImplBorderWindow pBorderWindow)

Definition at line 381 of file brdwin.cxx.

References mnHeight, and mnWidth.

Member Function Documentation

◆ CalcTitleWidth()

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

Implements ImplBorderWindowView.

Definition at line 587 of file brdwin.cxx.

◆ DrawWindow()

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

◆ GetBorder()

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

Implements ImplBorderWindowView.

Definition at line 578 of file brdwin.cxx.

References mnBottomBorder, mnLeftBorder, mnRightBorder, and mnTopBorder.

◆ Init()

void ImplSmallBorderWindowView::Init ( OutputDevice pOutDev,
tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Member Data Documentation

◆ mbNWFBorder

bool ImplSmallBorderWindowView::mbNWFBorder
private

Definition at line 255 of file brdwin.hxx.

Referenced by Init().

◆ mnBottomBorder

sal_Int32 ImplSmallBorderWindowView::mnBottomBorder
private

Definition at line 254 of file brdwin.hxx.

Referenced by GetBorder(), and Init().

◆ mnHeight

tools::Long ImplSmallBorderWindowView::mnHeight
private

Definition at line 250 of file brdwin.hxx.

Referenced by DrawWindow(), and Init().

◆ mnLeftBorder

sal_Int32 ImplSmallBorderWindowView::mnLeftBorder
private

Definition at line 251 of file brdwin.hxx.

Referenced by GetBorder(), and Init().

◆ mnRightBorder

sal_Int32 ImplSmallBorderWindowView::mnRightBorder
private

Definition at line 253 of file brdwin.hxx.

Referenced by GetBorder(), and Init().

◆ mnTopBorder

sal_Int32 ImplSmallBorderWindowView::mnTopBorder
private

Definition at line 252 of file brdwin.hxx.

Referenced by GetBorder(), and Init().

◆ mnWidth

tools::Long ImplSmallBorderWindowView::mnWidth
private

Definition at line 249 of file brdwin.hxx.

Referenced by DrawWindow(), and Init().

◆ mpBorderWindow

VclPtr<ImplBorderWindow> ImplSmallBorderWindowView::mpBorderWindow
private

Definition at line 247 of file brdwin.hxx.

Referenced by DrawWindow(), and Init().

◆ mpOutDev

VclPtr<OutputDevice> ImplSmallBorderWindowView::mpOutDev
private

Definition at line 248 of file brdwin.hxx.

Referenced by Init().


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