Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::X11::CWinEventsX11 Class Reference

#include <WinEventsX11.h>

Inheritance diagram for KODI::WINDOWING::X11::CWinEventsX11:
IWinEvents

Public Member Functions

 CWinEventsX11 (CWinSystemX11 &winSystem)
 
 ~CWinEventsX11 () override
 
bool MessagePump () override
 
bool Init (Display *dpy, Window win)
 
void Quit ()
 
bool HasStructureChanged ()
 
void PendingResize (int width, int height)
 
void SetXRRFailSafeTimer (std::chrono::milliseconds duration)
 
- Public Member Functions inherited from IWinEvents
virtual ~IWinEvents ()=default
 

Protected Member Functions

XBMCKey LookupXbmcKeySym (KeySym keysym)
 
bool ProcessKey (XBMC_Event &event)
 

Protected Attributes

Display * m_display = nullptr
 
Window m_window = 0
 
Atom m_wmDeleteMessage
 
char * m_keybuf = nullptr
 
size_t m_keybuf_len = 0
 
XIM m_xim = nullptr
 
XIC m_xic = nullptr
 
std::map< uint32_t, uint32_t > m_symLookupTable
 
int m_keymodState
 
bool m_structureChanged
 
int m_RREventBase
 
XbmcThreads::EndTime m_xrrFailSafeTimer
 
bool m_xrrEventPending
 
CWinSystemX11m_winSystem
 

Constructor & Destructor Documentation

◆ CWinEventsX11()

CWinEventsX11::CWinEventsX11 ( CWinSystemX11 & winSystem)

◆ ~CWinEventsX11()

CWinEventsX11::~CWinEventsX11 ( )
override

Member Function Documentation

◆ HasStructureChanged()

bool CWinEventsX11::HasStructureChanged ( )

◆ Init()

bool CWinEventsX11::Init ( Display * dpy,
Window win )

◆ LookupXbmcKeySym()

XBMCKey CWinEventsX11::LookupXbmcKeySym ( KeySym keysym)
protected

◆ MessagePump()

bool CWinEventsX11::MessagePump ( )
overridevirtual

Implements IWinEvents.

◆ PendingResize()

void KODI::WINDOWING::X11::CWinEventsX11::PendingResize ( int width,
int height )

◆ ProcessKey()

bool CWinEventsX11::ProcessKey ( XBMC_Event & event)
protected

◆ Quit()

void CWinEventsX11::Quit ( )

◆ SetXRRFailSafeTimer()

void CWinEventsX11::SetXRRFailSafeTimer ( std::chrono::milliseconds duration)

Member Data Documentation

◆ m_display

Display* KODI::WINDOWING::X11::CWinEventsX11::m_display = nullptr
protected

◆ m_keybuf

char* KODI::WINDOWING::X11::CWinEventsX11::m_keybuf = nullptr
protected

◆ m_keybuf_len

size_t KODI::WINDOWING::X11::CWinEventsX11::m_keybuf_len = 0
protected

◆ m_keymodState

int KODI::WINDOWING::X11::CWinEventsX11::m_keymodState
protected

◆ m_RREventBase

int KODI::WINDOWING::X11::CWinEventsX11::m_RREventBase
protected

◆ m_structureChanged

bool KODI::WINDOWING::X11::CWinEventsX11::m_structureChanged
protected

◆ m_symLookupTable

std::map<uint32_t,uint32_t> KODI::WINDOWING::X11::CWinEventsX11::m_symLookupTable
protected

◆ m_window

Window KODI::WINDOWING::X11::CWinEventsX11::m_window = 0
protected

◆ m_winSystem

CWinSystemX11& KODI::WINDOWING::X11::CWinEventsX11::m_winSystem
protected

◆ m_wmDeleteMessage

Atom KODI::WINDOWING::X11::CWinEventsX11::m_wmDeleteMessage
protected

◆ m_xic

XIC KODI::WINDOWING::X11::CWinEventsX11::m_xic = nullptr
protected

◆ m_xim

XIM KODI::WINDOWING::X11::CWinEventsX11::m_xim = nullptr
protected

◆ m_xrrEventPending

bool KODI::WINDOWING::X11::CWinEventsX11::m_xrrEventPending
protected

◆ m_xrrFailSafeTimer

XbmcThreads::EndTime KODI::WINDOWING::X11::CWinEventsX11::m_xrrFailSafeTimer
protected

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