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

#include <saldisp.hxx>

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

Public Member Functions

 SalX11Display (Display *pDisp)
 
virtual ~SalX11Display () override
 
virtual bool Dispatch (XEvent *pEvent) override
 
virtual void Yield ()
 
virtual void TriggerUserEventProcessing () override
 
bool IsEvent ()
 
void SetupInput ()
 
- Public Member Functions inherited from SalDisplay
 SalDisplay (Display *pDisp)
 
virtual ~SalDisplay () override
 
void Init ()
 
void PrintInfo () const
 
void DbgPrintDisplayEvent (const char *pComment, XEvent *pEvent) const
 
void Beep () const
 
void ModifierMapping ()
 
void SimulateKeyPress (sal_uInt16 nKeyCode)
 
KeyIndicatorState GetIndicatorState () const
 
OUString GetKeyNameFromKeySym (KeySym keysym) const
 
OUString GetKeyName (sal_uInt16 nKeyCode) const
 
sal_uInt16 GetKeyCode (KeySym keysym, char *pcPrintable) const
 
KeySym GetKeySym (XKeyEvent *pEvent, char *pPrintable, int *pLen, KeySym *pUnmodifiedKeySym, Status *pStatus, XIC=nullptr) const
 
Cursor GetPointer (PointerStyle ePointerStyle)
 
virtual int CaptureMouse (SalFrame *pCapture)
 
virtual ScreenDatainitScreen (SalX11Screen nXScreen) const
 
const ScreenDatagetDataForScreen (SalX11Screen nXScreen) const
 
::Window GetDrawable (SalX11Screen nXScreen) const
 
DisplayGetDisplay () const
 
const SalX11ScreenGetDefaultXScreen () const
 
const SizeGetScreenSize (SalX11Screen nXScreen) const
 
srv_vendor_t GetServerVendor () const
 
bool IsDisplay () const
 
GC GetCopyGC (SalX11Screen nXScreen) const
 
Pixmap GetInvert50 (SalX11Screen nXScreen) const
 
const SalColormapGetColormap (SalX11Screen nXScreen) const
 
const SalVisualGetVisual (SalX11Screen nXScreen) const
 
RenderEntryMapGetRenderEntries (SalX11Screen nXScreen) const
 
const PairGetResolution () const
 
sal_uLong GetMaxRequestSize () const
 
Time GetLastUserEventTime () const
 
Time GetX11ServerTime () const
 
bool XIfEventWithTimeout (XEvent *, XPointer, X_if_predicate) const
 
SalXLibGetXLib () const
 
SalI18N_InputMethodGetInputMethod () const
 
SalI18N_KeyboardExtensionGetKbdExtension () const
 
void SetKbdExtension (SalI18N_KeyboardExtension *pKbdExtension)
 
::vcl_sal::WMAdaptorgetWMAdaptor () const
 
bool IsXinerama () const
 
const std::vector< tools::Rectangle > & GetXineramaScreens () const
 
::Window GetRootWindow (SalX11Screen nXScreen) const
 
unsigned int GetXScreenCount () const
 
const SalFrameSetgetFrames () const
 
bool IsNumLockFromXS () const
 
std::list< SalObject * > & getSalObjects ()
 
- 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 ()
 
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)
 

Additional Inherited Members

- Public Types inherited from SalDisplay
typedef std::unordered_map< int, RenderEntryRenderEntryMap
 
- Static Public Member Functions inherited from SalDisplay
static bool BestOpenGLVisual (Display *pDisplay, int nScreen, XVisualInfo &rVI)
 
static bool BestVisual (Display *pDisp, int nScreen, XVisualInfo &rVI)
 
- Protected Member Functions inherited from SalDisplay
void InitXinerama ()
 
void InitRandR (::Window aRoot) const
 
void DeInitRandR ()
 
void processRandREvent (XEvent *)
 
void doDestruct ()
 
void addXineramaScreenUnique (int i, long i_nX, long i_nY, long i_nWidth, long i_nHeight)
 
Time GetEventTimeImpl (bool bAlwaysReget=false) const
 
- Protected Member Functions inherited from SalGenericDisplay
virtual void ProcessEvent (SalUserEvent aEvent) override
 
- Protected Member Functions inherited from SalUserEventList
virtual void TriggerAllUserEventsProcessed ()
 
- Protected Attributes inherited from SalDisplay
SalXLibpXLib_
 
SalI18N_KeyboardExtensionmpKbdExtension
 
DisplaypDisp_
 
SalX11Screen m_nXDefaultScreen
 
std::vector< ScreenDatam_aScreens
 
ScreenData const m_aInvalidScreenData
 
Pair aResolution_
 
sal_uLong nMaxRequestSize_
 
srv_vendor_t meServerVendor
 
o3tl::enumarray< PointerStyle, CursoraPointerCache_
 
bool bNumLockFromXS_
 
int nNumLockIndex_
 
KeySym nShiftKeySym_
 
KeySym nCtrlKeySym_
 
KeySym nMod1KeySym_
 
std::unique_ptr< vcl_sal::WMAdaptorm_pWMAdaptor
 
bool m_bXinerama
 
std::vector< tools::Rectanglem_aXineramaScreens
 
std::vector< intm_aXineramaScreenIndexMap
 
std::list< SalObject * > m_aSalObjects
 
bool m_bUseRandRWrapper
 
Time m_nLastUserEventTime
 
- 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 402 of file saldisp.hxx.

Constructor & Destructor Documentation

SalX11Display::SalX11Display ( Display pDisp)
virtual SalX11Display::~SalX11Display ( )
overridevirtual

Member Function Documentation

virtual bool SalX11Display::Dispatch ( XEvent *  pEvent)
overridevirtual

Implements SalDisplay.

bool SalX11Display::IsEvent ( )
void SalX11Display::SetupInput ( )
virtual void SalX11Display::TriggerUserEventProcessing ( )
overridevirtual

Implements SalUserEventList.

virtual void SalX11Display::Yield ( )
virtual

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