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

#include <svpframe.hxx>

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

Public Member Functions

 SvpSalFrame (SvpSalInstance *pInstance, SalFrame *pParent, SalFrameStyleFlags nSalFrameStyle)
 
virtual ~SvpSalFrame () override
 
void GetFocus ()
 
void LoseFocus ()
 
void PostPaint () const
 
const OUString & title () const
 
SalFrameStyleFlags style () const
 
bool isVisible () const
 
bool hasFocus () const
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool PostEvent (std::unique_ptr< ImplSVEvent > pData) override
 
virtual void SetTitle (const OUString &rTitle) override
 
virtual void SetIcon (sal_uInt16 nIcon) override
 
virtual void SetMenu (SalMenu *pMenu) override
 
virtual void DrawMenuBar () override
 
virtual void SetExtendedFrameStyle (SalExtStyle nExtStyle) override
 
virtual void Show (bool bVisible, bool bNoActivate=false) override
 
virtual void SetMinClientSize (tools::Long nWidth, tools::Long nHeight) override
 
virtual void SetMaxClientSize (tools::Long nWidth, tools::Long nHeight) override
 
virtual void SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) override
 
virtual void GetClientSize (tools::Long &rWidth, tools::Long &rHeight) override
 
virtual void GetWorkArea (tools::Rectangle &rRect) override
 
virtual SalFrameGetParent () const override
 
virtual void SetWindowState (const SalFrameState *pState) override
 
virtual bool GetWindowState (SalFrameState *pState) override
 
virtual void ShowFullScreen (bool bFullScreen, sal_Int32 nDisplay) override
 
virtual void StartPresentation (bool bStart) override
 
virtual void SetAlwaysOnTop (bool bOnTop) override
 
virtual void ToTop (SalFrameToTop nFlags) override
 
virtual void SetPointer (PointerStyle ePointerStyle) override
 
virtual void CaptureMouse (bool bMouse) override
 
virtual void SetPointerPos (tools::Long nX, tools::Long nY) override
 
virtual void Flush () override
 
virtual void SetInputContext (SalInputContext *pContext) override
 
virtual void EndExtTextInput (EndExtTextInputFlags nFlags) override
 
virtual OUString GetKeyName (sal_uInt16 nKeyCode) override
 
virtual bool MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode) override
 
virtual LanguageType GetInputLanguage () override
 
virtual void UpdateSettings (AllSettings &rSettings) override
 
virtual void Beep () override
 
virtual const SystemEnvDataGetSystemData () const override
 
virtual SalPointerState GetPointerState () override
 
virtual KeyIndicatorState GetIndicatorState () override
 
virtual void SimulateKeyPress (sal_uInt16 nKeyCode) override
 
virtual void SetParent (SalFrame *pNewParent) override
 
virtual void SetPluginParent (SystemParentData *pNewParent) override
 
virtual void ResetClipRegion () override
 
virtual void BeginSetClipRegion (sal_uInt32 nRects) override
 
virtual void UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
 
virtual void EndSetClipRegion () override
 
virtual void SetScreenNumber (unsigned int) override
 
virtual void SetApplicationID (const OUString &) override
 
- Public Member Functions inherited from SalFrame
 SalFrame ()
 
virtual ~SalFrame () override
 
virtual tools::Long GetWidth () const override
 
virtual tools::Long GetHeight () const override
 
virtual bool IsOffScreen () const override
 
virtual void SetRepresentedURL (const OUString &)
 
SalFrameGeometry GetGeometry () const
 
const SalFrameGeometryGetUnmirroredGeometry () const
 
virtual void PositionByToolkit (const tools::Rectangle &, FloatWinPopupFlags)
 
virtual void GrabFocus ()
 
virtual void Flush (const tools::Rectangle &)
 
virtual void ResolveWindowHandle (SystemEnvData &) const
 
virtual void SetModal (bool)
 
virtual bool GetModal () const
 
virtual bool ShowTooltip (const OUString &, const tools::Rectangle &)
 
virtual voidShowPopover (const OUString &, vcl::Window *, const tools::Rectangle &, QuickHelpFlags)
 
virtual bool UpdatePopover (void *, const OUString &, vcl::Window *, const tools::Rectangle &)
 
virtual bool HidePopover (void *)
 
virtual weld::WindowGetFrameWeld () const
 
void SetCallback (vcl::Window *pWindow, SALFRAMEPROC pProc)
 
vcl::WindowGetWindow () const
 
void SetModalHierarchyHdl (const Link< bool, void > &rLink)
 
void NotifyModalHierarchy (bool bModal)
 
bool CallCallback (SalEvent nEvent, const void *pEvent) const
 
- Public Member Functions inherited from vcl::DeletionNotifier
void addDel (DeletionListener *pListener)
 
void removeDel (DeletionListener *pListener)
 
- Public Member Functions inherited from SalGeometryProvider
virtual ~SalGeometryProvider ()
 

Private Member Functions

basegfx::B2IVector GetSurfaceFrameSize () const
 

Private Attributes

SvpSalInstancem_pInstance
 
SvpSalFramem_pParent
 
std::vector< SvpSalFrame * > m_aChildren
 
SalFrameStyleFlags m_nStyle
 
bool m_bVisible
 
cairo_surface_tm_pSurface
 
tools::Long m_nMinWidth
 
tools::Long m_nMinHeight
 
tools::Long m_nMaxWidth
 
tools::Long m_nMaxHeight
 
SystemEnvData m_aSystemChildData
 
std::vector< SvpSalGraphics * > m_aGraphics
 
OUString m_sTitle
 

Static Private Attributes

static SvpSalFrames_pFocusFrame
 

Additional Inherited Members

- Public Attributes inherited from SalFrame
SalFrameGeometry maGeometry = {}
 absolute, unmirrored values More...
 
- Protected Member Functions inherited from vcl::DeletionNotifier
 DeletionNotifier ()
 
 ~DeletionNotifier ()
 
void notifyDelete ()
 
- Protected Attributes inherited from SalFrame
std::unique_ptr< weld::Windowm_xFrameWeld
 

Detailed Description

Definition at line 37 of file svpframe.hxx.

Constructor & Destructor Documentation

SvpSalFrame::SvpSalFrame ( SvpSalInstance pInstance,
SalFrame pParent,
SalFrameStyleFlags  nSalFrameStyle 
)
virtual SvpSalFrame::~SvpSalFrame ( )
overridevirtual

Member Function Documentation

virtual SalGraphics* SvpSalFrame::AcquireGraphics ( )
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::Beep ( )
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::BeginSetClipRegion ( sal_uInt32  nRects)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::CaptureMouse ( bool  bMouse)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::DrawMenuBar ( )
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::EndExtTextInput ( EndExtTextInputFlags  nFlags)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::EndSetClipRegion ( )
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::Flush ( )
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::GetClientSize ( tools::Long rWidth,
tools::Long rHeight 
)
overridevirtual

Implements SalFrame.

void SvpSalFrame::GetFocus ( )
virtual KeyIndicatorState SvpSalFrame::GetIndicatorState ( )
overridevirtual

Implements SalFrame.

virtual LanguageType SvpSalFrame::GetInputLanguage ( )
overridevirtual

Implements SalFrame.

virtual OUString SvpSalFrame::GetKeyName ( sal_uInt16  nKeyCode)
overridevirtual

Implements SalFrame.

virtual SalFrame* SvpSalFrame::GetParent ( ) const
overridevirtual

Implements SalFrame.

virtual SalPointerState SvpSalFrame::GetPointerState ( )
overridevirtual

Implements SalFrame.

basegfx::B2IVector SvpSalFrame::GetSurfaceFrameSize ( ) const
private
virtual const SystemEnvData* SvpSalFrame::GetSystemData ( ) const
overridevirtual

Implements SalFrame.

virtual bool SvpSalFrame::GetWindowState ( SalFrameState pState)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::GetWorkArea ( tools::Rectangle rRect)
overridevirtual

Implements SalFrame.

bool SvpSalFrame::hasFocus ( ) const
inline

Definition at line 72 of file svpframe.hxx.

bool SvpSalFrame::isVisible ( ) const
inline

Definition at line 71 of file svpframe.hxx.

References m_bVisible.

void SvpSalFrame::LoseFocus ( )
virtual bool SvpSalFrame::MapUnicodeToKeyCode ( sal_Unicode  aUnicode,
LanguageType  aLangType,
vcl::KeyCode rKeyCode 
)
overridevirtual

Implements SalFrame.

virtual bool SvpSalFrame::PostEvent ( std::unique_ptr< ImplSVEvent pData)
overridevirtual

Implements SalFrame.

void SvpSalFrame::PostPaint ( ) const
virtual void SvpSalFrame::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::ResetClipRegion ( )
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetAlwaysOnTop ( bool  bOnTop)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetApplicationID ( const OUString &  )
inlineoverridevirtual

Implements SalFrame.

Definition at line 124 of file svpframe.hxx.

virtual void SvpSalFrame::SetExtendedFrameStyle ( SalExtStyle  nExtStyle)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetIcon ( sal_uInt16  nIcon)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetInputContext ( SalInputContext pContext)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetMaxClientSize ( tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetMenu ( SalMenu pMenu)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetMinClientSize ( tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetParent ( SalFrame pNewParent)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetPluginParent ( SystemParentData pNewParent)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetPointer ( PointerStyle  ePointerStyle)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetPointerPos ( tools::Long  nX,
tools::Long  nY 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetPosSize ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
sal_uInt16  nFlags 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetScreenNumber ( unsigned int  )
inlineoverridevirtual

Implements SalFrame.

Definition at line 123 of file svpframe.hxx.

virtual void SvpSalFrame::SetTitle ( const OUString &  rTitle)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SetWindowState ( const SalFrameState pState)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::Show ( bool  bVisible,
bool  bNoActivate = false 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::ShowFullScreen ( bool  bFullScreen,
sal_Int32  nDisplay 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::SimulateKeyPress ( sal_uInt16  nKeyCode)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::StartPresentation ( bool  bStart)
overridevirtual

Implements SalFrame.

SalFrameStyleFlags SvpSalFrame::style ( ) const
inline

Definition at line 70 of file svpframe.hxx.

References m_nStyle.

const OUString& SvpSalFrame::title ( ) const
inline

Definition at line 69 of file svpframe.hxx.

References m_sTitle.

virtual void SvpSalFrame::ToTop ( SalFrameToTop  nFlags)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::UnionClipRegion ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalFrame.

virtual void SvpSalFrame::UpdateSettings ( AllSettings rSettings)
overridevirtual

Implements SalFrame.

Member Data Documentation

std::vector< SvpSalFrame* > SvpSalFrame::m_aChildren
private

Definition at line 41 of file svpframe.hxx.

std::vector< SvpSalGraphics* > SvpSalFrame::m_aGraphics
private

Definition at line 54 of file svpframe.hxx.

SystemEnvData SvpSalFrame::m_aSystemChildData
private

Definition at line 52 of file svpframe.hxx.

bool SvpSalFrame::m_bVisible
private

Definition at line 43 of file svpframe.hxx.

Referenced by isVisible().

tools::Long SvpSalFrame::m_nMaxHeight
private

Definition at line 50 of file svpframe.hxx.

tools::Long SvpSalFrame::m_nMaxWidth
private

Definition at line 49 of file svpframe.hxx.

tools::Long SvpSalFrame::m_nMinHeight
private

Definition at line 48 of file svpframe.hxx.

tools::Long SvpSalFrame::m_nMinWidth
private

Definition at line 47 of file svpframe.hxx.

SalFrameStyleFlags SvpSalFrame::m_nStyle
private

Definition at line 42 of file svpframe.hxx.

Referenced by style().

SvpSalInstance* SvpSalFrame::m_pInstance
private

Definition at line 39 of file svpframe.hxx.

SvpSalFrame* SvpSalFrame::m_pParent
private

Definition at line 40 of file svpframe.hxx.

cairo_surface_t* SvpSalFrame::m_pSurface
private

Definition at line 45 of file svpframe.hxx.

OUString SvpSalFrame::m_sTitle
private

Definition at line 57 of file svpframe.hxx.

Referenced by title().

SvpSalFrame* SvpSalFrame::s_pFocusFrame
staticprivate

Definition at line 56 of file svpframe.hxx.


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