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

#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, long nWidth, long nHeight) override
 
virtual void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const override
 
virtual long CalcTitleWidth () const override
 
virtual void DrawWindow (vcl::RenderContext &rRenderContext, const Point *pOffset=nullptr) override
 
- Public Member Functions inherited from ImplBorderWindowView
virtual ~ImplBorderWindowView ()
 

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 long ImplCalcTitleWidth (const ImplBorderFrameData *pData)
 

Detailed Description

Definition at line 271 of file brdwin.hxx.

Constructor & Destructor Documentation

ImplStdBorderWindowView::ImplStdBorderWindowView ( ImplBorderWindow pBorderWindow)
ImplStdBorderWindowView::~ImplStdBorderWindowView ( )
overridevirtual

Definition at line 760 of file brdwin.cxx.

Member Function Documentation

long ImplStdBorderWindowView::CalcTitleWidth ( ) const
overridevirtual

Implements ImplBorderWindowView.

Definition at line 1395 of file brdwin.cxx.

References ImplBorderWindowView::ImplCalcTitleWidth(), and maFrameData.

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

Implements ImplBorderWindowView.

Definition at line 1400 of file brdwin.cxx.

References vcl::Window::AbsoluteScreenToOutputPixel(), tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), Client, Clip, CLOSE, DOCK, OutputDevice::DrawRect(), OutputDevice::DrawText(), EndEllipsis, eType, vcl::Region::Exclude(), StyleSettings::GetButtonTextColor(), OutputDevice::GetClipRegion(), StyleSettings::GetFaceColor(), StyleSettings::GetFaceGradientColor(), tools::Rectangle::GetHeight(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), vcl::Window::GetText(), OutputDevice::GetTextRect(), tools::Rectangle::GetWidth(), vcl::Window::GetWindow(), HELP, HIDE, ImplDrawBrdWinSymbolButton(), ToolBox::ImplDrawGrip(), ToolBox::ImplGetDragWidth(), FloatingWindow::ImplGetItemEdgeClipRect(), TextRectInfo::IsEllipses(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), Left, ImplBorderFrameData::maCloseRect, ImplBorderFrameData::maDockRect, maFrameData, ImplBorderFrameData::maHelpRect, ImplBorderFrameData::maHideRect, ImplBorderFrameData::maMenuRect, ImplBorderFrameData::maRollRect, ImplBorderFrameData::maTitleRect, ImplBorderWindow::mbRollUp, ImplBorderFrameData::mbTitleClipped, MENU, ImplBorderFrameData::mnBorderSize, ImplBorderFrameData::mnCloseState, ImplBorderFrameData::mnDockState, ImplBorderFrameData::mnHeight, ImplBorderFrameData::mnHelpState, ImplBorderFrameData::mnHideState, ImplBorderFrameData::mnMenuState, ImplBorderFrameData::mnRollState, ImplBorderFrameData::mnTitleType, ImplBorderFrameData::mnWidth, tools::Rectangle::Move(), ImplBorderFrameData::mpBorderWindow, Normal, Popup, tools::Rectangle::Right(), ROLLDOWN, ROLLUP, OutputDevice::SetClipRegion(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), tools::Rectangle::SetPos(), tools::Rectangle::SetRight(), OutputDevice::SetTextColor(), Small, Tearoff, tools::Rectangle::Top(), VCenter, Point::X(), and Point::Y().

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

Reimplemented from ImplBorderWindowView.

Definition at line 1268 of file brdwin.cxx.

References maFrameData, and ImplBorderFrameData::maMenuRect.

void ImplStdBorderWindowView::Init ( OutputDevice pDev,
long  nWidth,
long  nHeight 
)
overridevirtual
bool ImplStdBorderWindowView::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual
bool ImplStdBorderWindowView::MouseMove ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from ImplBorderWindowView.

Definition at line 764 of file brdwin.cxx.

References ImplBorderWindowView::ImplMouseMove(), and maFrameData.

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

Reimplemented from ImplBorderWindowView.

Definition at line 1263 of file brdwin.cxx.

References ImplBorderWindowView::ImplRequestHelp(), and maFrameData.

bool ImplStdBorderWindowView::Tracking ( const TrackingEvent rTEvt)
overridevirtual

Reimplemented from ImplBorderWindowView.

Definition at line 872 of file brdwin.cxx.

References tools::Rectangle::AdjustBottom(), Size::AdjustHeight(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), Big, tools::Rectangle::Bottom(), Bottom, BottomLeft, BottomRight, Close, SystemWindow::Close(), DockingWindow::Close(), Dock, Docking, VclPtr< reference_type >::get(), tools::Rectangle::GetHeight(), TrackingEvent::GetMouseEvent(), OutputDevice::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(), tools::Rectangle::IsInside(), SystemWindow::IsRollUp(), 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::maRollRect, 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::mnRollState, ImplBorderFrameData::mnTitleHeight, ImplBorderFrameData::mnTopBorder, ImplBorderFrameData::mnTrackHeight, ImplBorderFrameData::mnTrackWidth, ImplBorderFrameData::mnTrackX, ImplBorderFrameData::mnTrackY, Move, ImplBorderFrameData::mpBorderWindow, NONE, Pressed, tools::Rectangle::Right(), Right, Roll, SystemWindow::RollDown(), SystemWindow::RollUp(), 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, Size::Width(), Point::X(), and Point::Y().

Member Data Documentation

ImplBorderFrameData ImplStdBorderWindowView::maFrameData
private

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