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

#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
 
bool IsX11Display () const
 
GtkSalSystemgetSystem () const
 
GtkWidget * findGtkWidgetForNativeHandle (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)
 
GdkFilterReturn filterGdkEvent (GdkXEvent *sys_event)
 
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)
 
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 *const m_pGdkDisplay
 
o3tl::enumarray< PointerStyle, GdkCursor * > m_aCursors
 
bool m_bStartupCompleted
 
bool m_bX11Display
 

Additional Inherited Members

- Protected Member Functions inherited from SalGenericDisplay
virtual void ProcessEvent (SalUserEvent aEvent) override
 
- Protected Attributes inherited from SalGenericDisplay
SalFramem_pCapture
 
- Protected Attributes inherited from SalUserEventList
osl::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 113 of file gtkdata.hxx.

Constructor & Destructor Documentation

GtkSalDisplay::GtkSalDisplay ( GdkDisplay *  pDisplay)
virtual GtkSalDisplay::~GtkSalDisplay ( )
overridevirtual

Member Function Documentation

virtual int GtkSalDisplay::CaptureMouse ( SalFrame pFrame)
virtual
virtual void GtkSalDisplay::deregisterFrame ( SalFrame pFrame)
overridevirtual

Reimplemented from SalGenericDisplay.

GdkFilterReturn GtkSalDisplay::filterGdkEvent ( GdkXEvent *  sys_event)
GtkWidget* GtkSalDisplay::findGtkWidgetForNativeHandle ( sal_uIntPtr  hWindow) const
GdkCursor* GtkSalDisplay::getCursor ( PointerStyle  ePointerStyle)
SalX11Screen GtkSalDisplay::GetDefaultXScreen ( )
inline

Definition at line 138 of file gtkdata.hxx.

References GtkSalSystem::GetDisplayDefaultXScreen().

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

Definition at line 127 of file gtkdata.hxx.

References m_pGdkDisplay.

Referenced by GtkSalData::GetGdkDisplay().

Size GtkSalDisplay::GetScreenSize ( int  nDisplayScreen)
GtkSalSystem* GtkSalDisplay::getSystem ( ) const
inline

Definition at line 130 of file gtkdata.hxx.

References m_pSys.

bool GtkSalDisplay::IsX11Display ( ) const
inline

Definition at line 128 of file gtkdata.hxx.

References m_bX11Display.

void GtkSalDisplay::monitorsChanged ( GdkScreen const *  )
void GtkSalDisplay::screenSizeChanged ( GdkScreen const *  )
void GtkSalDisplay::startupNotificationCompleted ( )
inline

Definition at line 142 of file gtkdata.hxx.

virtual void GtkSalDisplay::TriggerAllUserEventsProcessed ( )
overridevirtual

Reimplemented from SalUserEventList.

virtual void GtkSalDisplay::TriggerUserEventProcessing ( )
overridevirtual

Implements SalUserEventList.

Member Data Documentation

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

Definition at line 117 of file gtkdata.hxx.

bool GtkSalDisplay::m_bStartupCompleted
private

Definition at line 118 of file gtkdata.hxx.

bool GtkSalDisplay::m_bX11Display
private

Definition at line 119 of file gtkdata.hxx.

Referenced by IsX11Display().

GdkDisplay* const GtkSalDisplay::m_pGdkDisplay
private

Definition at line 116 of file gtkdata.hxx.

Referenced by GetGdkDisplay().

GtkSalSystem* GtkSalDisplay::m_pSys
private

Definition at line 115 of file gtkdata.hxx.

Referenced by getSystem().


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