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

#include <gtkdata.hxx>

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

Public Member Functions

 GtkSalDisplay (GdkDisplay *pDisplay)
 
virtual ~GtkSalDisplay () override
 
GdkDisplay * GetGdkDisplay () const
 
GtkSalSystemgetSystem () const
 
GtkWidgetfindGtkWidgetForNativeHandle (sal_uIntPtr hWindow) const
 
virtual void deregisterFrame (SalFrame *pFrame) override
 
GdkCursor * getCursor (PointerStyle ePointerStyle)
 
virtual int CaptureMouse (SalFrame *pFrame)
 
SalX11Screen GetDefaultXScreen ()
 
Size GetScreenSize (int nDisplayScreen)
 
void startupNotificationCompleted ()
 
void screenSizeChanged (GdkScreen const *)
 
void monitorsChanged (GdkScreen const *)
 
virtual void TriggerUserEventProcessing () override
 
virtual void TriggerAllUserEventsProcessed () override
 
- Public Member Functions inherited from SalGenericDisplay
 SalGenericDisplay ()
 
virtual ~SalGenericDisplay () override
 
void registerFrame (SalFrame *pFrame)
 
virtual void deregisterFrame (SalFrame *pFrame)
 
void emitDisplayChanged ()
 
void SendInternalEvent (SalFrame *pFrame, void *pData, SalEvent nEvent=SalEvent::UserEvent)
 
void CancelInternalEvent (SalFrame *pFrame, void *pData, SalEvent nEvent)
 
bool DispatchInternalEvent (bool bHandleAllCurrentEvent=false)
 
bool MouseCaptured (const SalFrame *pFrameData) const
 
SalFrameGetCaptureFrame () const
 
- Public Member Functions inherited from SalUserEventList
 SalUserEventList ()
 
virtual ~SalUserEventList () COVERITY_NOEXCEPT_FALSE
 
const SalFrameSetgetFrames () const
 
SalFrameanyFrame () const
 
void insertFrame (SalFrame *pFrame)
 
void eraseFrame (SalFrame *pFrame)
 
bool isFrameAlive (const SalFrame *pFrame) const
 
void PostEvent (SalFrame *pFrame, void *pData, SalEvent nEvent)
 
void RemoveEvent (SalFrame *pFrame, void *pData, SalEvent nEvent)
 
bool HasUserEvents () const
 
bool DispatchUserEvents (bool bHandleAllCurrentEvents)
 

Private Member Functions

GdkCursor * getFromSvg (OUString const &name, int nXHot, int nYHot)
 

Private Attributes

GtkSalSystemm_pSys
 
GdkDisplay * m_pGdkDisplay
 
o3tl::enumarray< PointerStyle, GdkCursor * > m_aCursors
 
bool m_bStartupCompleted
 

Additional Inherited Members

- Protected Member Functions inherited from SalGenericDisplay
virtual void ProcessEvent (SalUserEvent aEvent) override
 
- Protected Member Functions inherited from SalUserEventList
virtual void ProcessEvent (SalUserEvent aEvent)=0
 
virtual void TriggerUserEventProcessing ()=0
 
virtual void TriggerAllUserEventsProcessed ()
 
bool HasUserEvents_NoLock () const
 
- Protected Attributes inherited from SalGenericDisplay
SalFramem_pCapture
 
- Protected Attributes inherited from SalUserEventList
std::mutex m_aUserEventsMutex
 
std::list< SalUserEventm_aUserEvents
 
std::list< SalUserEventm_aProcessingUserEvents
 
bool m_bAllUserEventProcessedSignaled
 
SalFrameSet m_aFrames
 
oslThreadIdentifier m_aProcessingThread
 

Detailed Description

Definition at line 316 of file gtkdata.hxx.

Constructor & Destructor Documentation

◆ GtkSalDisplay()

GtkSalDisplay::GtkSalDisplay ( GdkDisplay *  pDisplay)

◆ ~GtkSalDisplay()

virtual GtkSalDisplay::~GtkSalDisplay ( )
overridevirtual

Member Function Documentation

◆ CaptureMouse()

virtual int GtkSalDisplay::CaptureMouse ( SalFrame pFrame)
virtual

◆ deregisterFrame()

virtual void GtkSalDisplay::deregisterFrame ( SalFrame pFrame)
overridevirtual

Reimplemented from SalGenericDisplay.

◆ findGtkWidgetForNativeHandle()

GtkWidget * GtkSalDisplay::findGtkWidgetForNativeHandle ( sal_uIntPtr  hWindow) const

◆ getCursor()

GdkCursor * GtkSalDisplay::getCursor ( PointerStyle  ePointerStyle)

◆ GetDefaultXScreen()

SalX11Screen GtkSalDisplay::GetDefaultXScreen ( )
inline

Definition at line 339 of file gtkdata.hxx.

References GtkSalSystem::GetDisplayDefaultXScreen(), and m_pSys.

◆ getFromSvg()

GdkCursor * GtkSalDisplay::getFromSvg ( OUString const &  name,
int  nXHot,
int  nYHot 
)
private

◆ GetGdkDisplay()

GdkDisplay * GtkSalDisplay::GetGdkDisplay ( ) const
inline

Definition at line 329 of file gtkdata.hxx.

References m_pGdkDisplay.

Referenced by GtkSalData::GetGdkDisplay().

◆ GetScreenSize()

Size GtkSalDisplay::GetScreenSize ( int  nDisplayScreen)

◆ getSystem()

GtkSalSystem * GtkSalDisplay::getSystem ( ) const
inline

Definition at line 331 of file gtkdata.hxx.

References m_pSys.

◆ monitorsChanged()

void GtkSalDisplay::monitorsChanged ( GdkScreen const *  )

◆ screenSizeChanged()

void GtkSalDisplay::screenSizeChanged ( GdkScreen const *  )

◆ startupNotificationCompleted()

void GtkSalDisplay::startupNotificationCompleted ( )
inline

Definition at line 342 of file gtkdata.hxx.

References m_bStartupCompleted.

◆ TriggerAllUserEventsProcessed()

virtual void GtkSalDisplay::TriggerAllUserEventsProcessed ( )
overridevirtual

Reimplemented from SalUserEventList.

◆ TriggerUserEventProcessing()

virtual void GtkSalDisplay::TriggerUserEventProcessing ( )
overridevirtual

Implements SalUserEventList.

Member Data Documentation

◆ m_aCursors

o3tl::enumarray<PointerStyle, GdkCursor*> GtkSalDisplay::m_aCursors
private

Definition at line 320 of file gtkdata.hxx.

◆ m_bStartupCompleted

bool GtkSalDisplay::m_bStartupCompleted
private

Definition at line 321 of file gtkdata.hxx.

Referenced by startupNotificationCompleted().

◆ m_pGdkDisplay

GdkDisplay* GtkSalDisplay::m_pGdkDisplay
private

Definition at line 319 of file gtkdata.hxx.

Referenced by GetGdkDisplay().

◆ m_pSys

GtkSalSystem* GtkSalDisplay::m_pSys
private

Definition at line 318 of file gtkdata.hxx.

Referenced by GetDefaultXScreen(), and getSystem().


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