LibreOffice Module vcl (master) 1
|
#include <brdwin.hxx>
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) |
Definition at line 267 of file brdwin.hxx.
ImplStdBorderWindowView::ImplStdBorderWindowView | ( | ImplBorderWindow * | pBorderWindow | ) |
Definition at line 746 of file brdwin.cxx.
References maFrameData, ImplBorderFrameData::mbDragFull, ImplBorderFrameData::mbTitleClipped, ImplBorderFrameData::mnCloseState, ImplBorderFrameData::mnDockState, ImplBorderFrameData::mnHelpState, ImplBorderFrameData::mnHideState, ImplBorderFrameData::mnHitTest, ImplBorderFrameData::mnMenuState, ImplBorderFrameData::mpBorderWindow, and NONE.
|
overridevirtual |
Definition at line 759 of file brdwin.cxx.
|
overridevirtual |
Implements ImplBorderWindowView.
Definition at line 1347 of file brdwin.cxx.
References ImplBorderWindowView::ImplCalcTitleWidth(), and maFrameData.
|
overridevirtual |
Implements ImplBorderWindowView.
Definition at line 1352 of file brdwin.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), Client, Clip, CLOSE, Color::DecreaseContrast(), DOCK, OutputDevice::DrawRect(), OutputDevice::DrawText(), EndEllipsis, 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(), HELP, HIDE, ImplDrawBrdWinSymbolButton(), ToolBox::ImplDrawGrip(), ToolBox::ImplGetDragWidth(), FloatingWindow::ImplGetItemEdgeClipRect(), ImplGetSVData(), TextRectInfo::IsEllipses(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), Left, maFrameData, ImplSVData::maNWFData, ImplSVNWFData::mbNoFrameJunctionForPopups, MENU, tools::Rectangle::Move(), Normal, pData, Popup, tools::Rectangle::Right(), OutputDevice::SetClipRegion(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), tools::Rectangle::SetPos(), tools::Rectangle::SetRight(), OutputDevice::SetTextColor(), Small, Tearoff, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), VCenter, Point::X(), and Point::Y().
|
overridevirtual |
Implements ImplBorderWindowView.
Definition at line 1338 of file brdwin.cxx.
References maFrameData, ImplBorderFrameData::mnBottomBorder, ImplBorderFrameData::mnLeftBorder, ImplBorderFrameData::mnRightBorder, and ImplBorderFrameData::mnTopBorder.
|
overridevirtual |
Reimplemented from ImplBorderWindowView.
Definition at line 1227 of file brdwin.cxx.
References maFrameData, and ImplBorderFrameData::maMenuRect.
|
overridevirtual |
Implements ImplBorderWindowView.
Definition at line 1232 of file brdwin.cxx.
References tools::Rectangle::Bottom(), DoubleOut, DecorationView::DrawFrame(), StyleSettings::GetBorderSize(), StyleSettings::GetFaceColor(), OutputDevice::GetSettings(), vcl::Window::GetStyle(), AllSettings::GetStyleSettings(), ImplBorderWindowView::ImplInitTitle(), tools::Rectangle::Left(), maFrameData, ImplBorderWindow::mbDockBtn, ImplBorderWindow::mbHideBtn, ImplBorderWindow::mbMenuBtn, MIN_CAPTION_HEIGHT, ImplBorderWindow::mnTitleType, ImplBorderFrameData::mpBorderWindow, NoDraw, NONE, Normal, pData, tools::Rectangle::Right(), vcl::Window::SetBackground(), Small, Tearoff, tools::Rectangle::Top(), WB_CLOSEABLE, WB_MOVEABLE, and WB_POPUP.
|
overridevirtual |
Reimplemented from ImplBorderWindowView.
Definition at line 769 of file brdwin.cxx.
References Close, Dock, Docking, MouseEvent::GetClicks(), vcl::Window::GetOutputSizePixel(), MouseEvent::GetPosPixel(), vcl::Window::GetPosPixel(), Size::Height(), Help, Hide, vcl::Window::ImplGetClientWindow(), ImplBorderWindowView::ImplHitTest(), ImplBorderWindow::InvalidateBorder(), MouseEvent::IsLeft(), MouseEvent::IsRight(), vcl::Window::IsSystemWindow(), maFrameData, ImplBorderFrameData::maMouseOff, ImplBorderFrameData::mbDragFull, Menu, ImplBorderFrameData::mnCloseState, ImplBorderFrameData::mnDockState, ImplBorderFrameData::mnHelpState, ImplBorderFrameData::mnHideState, ImplBorderFrameData::mnHitTest, ImplBorderFrameData::mnMenuState, ImplBorderFrameData::mnTrackHeight, ImplBorderFrameData::mnTrackWidth, ImplBorderFrameData::mnTrackX, ImplBorderFrameData::mnTrackY, ImplBorderFrameData::mpBorderWindow, NONE, Pressed, vcl::Window::StartTracking(), Title, SystemWindow::TitleButtonClick(), Size::Width(), WindowMove, WindowSize, Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from ImplBorderWindowView.
Definition at line 763 of file brdwin.cxx.
References ImplBorderWindowView::ImplMouseMove(), and maFrameData.
|
overridevirtual |
Reimplemented from ImplBorderWindowView.
Definition at line 1222 of file brdwin.cxx.
References ImplBorderWindowView::ImplRequestHelp(), and maFrameData.
|
overridevirtual |
Reimplemented from ImplBorderWindowView.
Definition at line 871 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, 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, 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, Size::Width(), Point::X(), and Point::Y().
|
private |
Definition at line 269 of file brdwin.hxx.
Referenced by CalcTitleWidth(), DrawWindow(), GetBorder(), GetMenuRect(), ImplStdBorderWindowView(), Init(), MouseButtonDown(), MouseMove(), RequestHelp(), and Tracking().