LibreOffice Module vcl (master) 1
|
#include <saldisp.hxx>
Classes | |
struct | RenderEntry |
struct | ScreenData |
Public Types | |
typedef std::unordered_map< int, RenderEntry > | RenderEntryMap |
Public Member Functions | |
SalDisplay (Display *pDisp) | |
virtual | ~SalDisplay () override |
void | Init () |
void | PrintInfo () const |
void | DbgPrintDisplayEvent (const char *pComment, const 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) |
int | CaptureMouse (SalFrame *pCapture) |
ScreenData * | initScreen (SalX11Screen nXScreen) const |
const ScreenData & | getDataForScreen (SalX11Screen nXScreen) const |
::Window | GetDrawable (SalX11Screen nXScreen) const |
Display * | GetDisplay () const |
const SalX11Screen & | GetDefaultXScreen () const |
const Size & | GetScreenSize (SalX11Screen nXScreen) const |
srv_vendor_t | GetServerVendor () const |
bool | IsDisplay () const |
GC | GetCopyGC (SalX11Screen nXScreen) const |
Pixmap | GetInvert50 (SalX11Screen nXScreen) const |
const SalColormap & | GetColormap (SalX11Screen nXScreen) const |
const SalVisual & | GetVisual (SalX11Screen nXScreen) const |
RenderEntryMap & | GetRenderEntries (SalX11Screen nXScreen) const |
const Pair & | GetResolution () const |
sal_uLong | GetMaxRequestSize () const |
Time | GetLastUserEventTime () const |
Time | GetX11ServerTime () const |
bool | XIfEventWithTimeout (XEvent *, XPointer, X_if_predicate) const |
SalXLib * | GetXLib () const |
SalI18N_InputMethod * | GetInputMethod () const |
SalI18N_KeyboardExtension * | GetKbdExtension () const |
void | SetKbdExtension (SalI18N_KeyboardExtension *pKbdExtension) |
::vcl_sal::WMAdaptor * | getWMAdaptor () const |
bool | IsXinerama () const |
const std::vector< tools::Rectangle > & | GetXineramaScreens () const |
::Window | GetRootWindow (SalX11Screen nXScreen) const |
unsigned int | GetXScreenCount () const |
const SalFrameSet & | getFrames () const |
std::list< SalObject * > & | getSalObjects () |
![]() | |
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 |
SalFrame * | GetCaptureFrame () const |
![]() | |
SalUserEventList () | |
virtual | ~SalUserEventList () COVERITY_NOEXCEPT_FALSE |
const SalFrameSet & | getFrames () const |
SalFrame * | anyFrame () 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) |
Static Public Member Functions | |
static bool | BestVisual (Display *pDisp, int nScreen, XVisualInfo &rVI) |
Protected Member Functions | |
virtual void | Dispatch (XEvent *pEvent)=0 |
void | InitXinerama () |
void | InitRandR (::Window aRoot) const |
void | processRandREvent (XEvent *) |
void | doDestruct () |
void | addXineramaScreenUnique (int i, tools::Long i_nX, tools::Long i_nY, tools::Long i_nWidth, tools::Long i_nHeight) |
Time | GetEventTimeImpl (bool bAlwaysReget=false) const |
![]() | |
virtual void | ProcessEvent (SalUserEvent aEvent) override |
![]() | |
virtual void | ProcessEvent (SalUserEvent aEvent)=0 |
virtual void | TriggerUserEventProcessing ()=0 |
virtual void | TriggerAllUserEventsProcessed () |
bool | HasUserEvents_NoLock () const |
Static Protected Member Functions | |
static void | DeInitRandR () |
Definition at line 228 of file saldisp.hxx.
typedef std::unordered_map<int,RenderEntry> SalDisplay::RenderEntryMap |
Definition at line 239 of file saldisp.hxx.
SalDisplay::SalDisplay | ( | Display * | pDisp | ) |
|
overridevirtual |
|
protected |
void SalDisplay::Beep | ( | ) | const |
void SalDisplay::DbgPrintDisplayEvent | ( | const char * | pComment, |
const XEvent * | pEvent | ||
) | const |
|
staticprotected |
|
protectedpure virtual |
Implemented in SalX11Display.
|
protected |
|
inline |
Definition at line 367 of file saldisp.hxx.
|
inline |
Definition at line 365 of file saldisp.hxx.
|
inline |
Definition at line 350 of file saldisp.hxx.
References SalX11Screen::getXScreen().
|
inline |
Definition at line 361 of file saldisp.hxx.
|
inline |
Definition at line 360 of file saldisp.hxx.
Referenced by SalColormap::GetXDisplay(), X11SalFrame::GetXDisplay(), and X11SalVirtualDevice::GetXDisplay().
|
inline |
Definition at line 359 of file saldisp.hxx.
|
inline |
Definition at line 390 of file saldisp.hxx.
References SalUserEventList::m_aFrames.
KeyIndicatorState SalDisplay::GetIndicatorState | ( | ) | const |
|
inline |
Definition at line 379 of file saldisp.hxx.
References SalXLib::GetInputMethod().
|
inline |
Definition at line 366 of file saldisp.hxx.
|
inline |
Definition at line 380 of file saldisp.hxx.
sal_uInt16 SalDisplay::GetKeyCode | ( | KeySym | keysym, |
char * | pcPrintable | ||
) | const |
OUString SalDisplay::GetKeyName | ( | sal_uInt16 | nKeyCode | ) | const |
OUString SalDisplay::GetKeyNameFromKeySym | ( | KeySym | keysym | ) | const |
KeySym SalDisplay::GetKeySym | ( | XKeyEvent * | pEvent, |
char * | pPrintable, | ||
int * | pLen, | ||
KeySym * | pUnmodifiedKeySym, | ||
Status * | pStatus, | ||
XIC | = nullptr |
||
) | const |
|
inline |
Definition at line 372 of file saldisp.hxx.
References Time.
|
inline |
Definition at line 371 of file saldisp.hxx.
Cursor SalDisplay::GetPointer | ( | PointerStyle | ePointerStyle | ) |
References Cursor.
|
inline |
Definition at line 369 of file saldisp.hxx.
|
inline |
Definition at line 370 of file saldisp.hxx.
|
inline |
Definition at line 386 of file saldisp.hxx.
Definition at line 392 of file saldisp.hxx.
|
inline |
Definition at line 362 of file saldisp.hxx.
|
inline |
Definition at line 363 of file saldisp.hxx.
|
inline |
Definition at line 368 of file saldisp.hxx.
|
inline |
Definition at line 383 of file saldisp.hxx.
|
inline |
Definition at line 374 of file saldisp.hxx.
References Time.
|
inline |
Definition at line 385 of file saldisp.hxx.
|
inline |
Definition at line 377 of file saldisp.hxx.
|
inline |
Definition at line 388 of file saldisp.hxx.
void SalDisplay::Init | ( | ) |
|
protected |
ScreenData * SalDisplay::initScreen | ( | SalX11Screen | nXScreen | ) | const |
|
protected |
|
inline |
Definition at line 364 of file saldisp.hxx.
|
inline |
Definition at line 384 of file saldisp.hxx.
void SalDisplay::ModifierMapping | ( | ) |
void SalDisplay::PrintInfo | ( | ) | const |
|
protected |
|
inline |
Definition at line 381 of file saldisp.hxx.
void SalDisplay::SimulateKeyPress | ( | sal_uInt16 | nKeyCode | ) |
bool SalDisplay::XIfEventWithTimeout | ( | XEvent * | , |
XPointer | , | ||
X_if_predicate | |||
) | const |
|
protected |
Definition at line 290 of file saldisp.hxx.
|
protected |
Definition at line 283 of file saldisp.hxx.
|
protected |
Definition at line 293 of file saldisp.hxx.
|
protected |
Definition at line 282 of file saldisp.hxx.
Definition at line 304 of file saldisp.hxx.
|
protected |
Definition at line 281 of file saldisp.hxx.
|
protected |
Definition at line 303 of file saldisp.hxx.
|
protected |
Definition at line 302 of file saldisp.hxx.
|
protected |
Definition at line 301 of file saldisp.hxx.
|
mutableprotected |
Definition at line 306 of file saldisp.hxx.
|
protected |
Definition at line 280 of file saldisp.hxx.
|
protected |
Definition at line 299 of file saldisp.hxx.
|
protected |
Definition at line 286 of file saldisp.hxx.
|
protected |
Definition at line 276 of file saldisp.hxx.
|
protected |
Definition at line 296 of file saldisp.hxx.
|
protected |
Definition at line 284 of file saldisp.hxx.
|
protected |
Definition at line 297 of file saldisp.hxx.
|
protected |
Definition at line 294 of file saldisp.hxx.
|
protected |
Definition at line 295 of file saldisp.hxx.
|
protected |
Definition at line 278 of file saldisp.hxx.
|
protected |
Definition at line 275 of file saldisp.hxx.