#include <juce_XWindowSystem_linux.h>


Classes | |
| struct | DisplayVisuals |
| struct | VisualAndDepth |
Public Member Functions | |
| void | addPendingPaintForWindow (::Window) |
| void | blitToWindow (::Window, Image, Rectangle< int > destinationRect, Rectangle< int > totalRect) const |
| bool | canUseARGBImages () const |
| bool | canUseSemiTransparentWindows () const |
| bool | contains (::Window, Point< int > localPos) const |
| void | copyTextToClipboard (const String &) |
| Cursor | createCustomMouseCursorInfo (const Image &, Point< int > hotspot) const |
| Image | createImage (bool isSemiTransparentWindow, int width, int height, bool argb) const |
| ::Window | createKeyProxy (::Window) |
| Cursor | createStandardMouseCursor (MouseCursor::StandardCursorType) const |
| ::Window | createWindow (::Window parentWindow, LinuxComponentPeer *) const |
| void | deleteKeyProxy (::Window) const |
| void | deleteMouseCursor (Cursor cursorHandle) const |
| void | destroyWindow (::Window) |
| bool | externalDragFileInit (LinuxComponentPeer *, const StringArray &files, bool canMove, std::function< void()> &&callback) const |
| bool | externalDragTextInit (LinuxComponentPeer *, const String &text, std::function< void()> &&callback) const |
| Array< Displays::Display > | findDisplays (float masterScale) const |
| const XWindowSystemUtilities::Atoms & | getAtoms () const noexcept |
| ComponentPeer::OptionalBorderSize | getBorderSize (::Window) const |
| Point< float > | getCurrentMousePosition () const |
| ::Display * | getDisplay () const noexcept |
| String | getLocalClipboardContent () const noexcept |
| ModifierKeys | getNativeRealtimeModifiers () const |
| int | getNumPaintsPendingForWindow (::Window) |
| Point< int > | getPhysicalParentScreenPosition () const |
| String | getTextFromClipboard () const |
| Rectangle< int > | getWindowBounds (::Window, ::Window parentWindow) |
| XWindowSystemUtilities::XSettings * | getXSettings () const noexcept |
| bool | grabFocus (::Window) const |
| void | handleWindowMessage (LinuxComponentPeer *, XEvent &) const |
| bool | isDarkModeActive () const |
| bool | isFocused (::Window) const |
| bool | isKeyCurrentlyDown (int keyCode) const |
| bool | isMinimised (::Window) const |
| bool | isParentWindowOf (::Window, ::Window possibleChild) const |
| bool | isX11Available () const noexcept |
| void | processPendingPaintsForWindow (::Window) |
| void | removePendingPaintForWindow (::Window) |
| void | setBounds (::Window, Rectangle< int >, bool fullScreen) const |
| void | setIcon (::Window, const Image &) const |
| void | setMaximised (::Window, bool shouldBeMinimised) const |
| void | setMinimised (::Window, bool shouldBeMinimised) const |
| void | setMousePosition (Point< float > pos) const |
| void | setScreenSaverEnabled (bool enabled) const |
| void | setTitle (::Window, const String &) const |
| void | setVisible (::Window, bool shouldBeVisible) const |
| void | showCursor (::Window, Cursor cursorHandle) const |
| void | startHostManagedResize (::Window window, ResizableBorderComponent::Zone zone) |
| void | toBehind (::Window, ::Window otherWindow) const |
| void | toFront (::Window, bool makeActive) const |
| void | updateConstraints (::Window) const |
Static Public Member Functions | |
| static void | deleteAll () |
| Deletes all extant objects. | |
| static String | getThemeNameSettingName () |
| static String | getWindowScalingFactorSettingName () |
Private Member Functions | |
| XWindowSystem () | |
| ~XWindowSystem () | |
| void | addWindowButtons (::Window, int) const |
| void | deleteIconPixmaps (::Window) const |
| void | destroyXDisplay () |
| void | dismissBlockingModals (LinuxComponentPeer *) const |
| void | dismissBlockingModals (LinuxComponentPeer *, const XConfigureEvent &) const |
| ::Window | findTopLevelWindowOf (::Window) const |
| ::Window | getFocusWindow (::Window) const |
| long | getUserTime (::Window) const |
| void | handleButtonPressEvent (LinuxComponentPeer *, const XButtonPressedEvent &) const |
| void | handleButtonPressEvent (LinuxComponentPeer *, const XButtonPressedEvent &, int) const |
| void | handleButtonReleaseEvent (LinuxComponentPeer *, const XButtonReleasedEvent &) const |
| void | handleClientMessageEvent (LinuxComponentPeer *, XClientMessageEvent &, XEvent &) const |
| void | handleConfigureNotifyEvent (LinuxComponentPeer *, XConfigureEvent &) const |
| void | handleEnterNotifyEvent (LinuxComponentPeer *, const XEnterWindowEvent &) const |
| void | handleExposeEvent (LinuxComponentPeer *, XExposeEvent &) const |
| void | handleFocusInEvent (LinuxComponentPeer *) const |
| void | handleFocusOutEvent (LinuxComponentPeer *) const |
| void | handleGravityNotify (LinuxComponentPeer *) const |
| void | handleKeyPressEvent (LinuxComponentPeer *, XKeyEvent &) const |
| void | handleKeyReleaseEvent (LinuxComponentPeer *, const XKeyEvent &) const |
| void | handleLeaveNotifyEvent (LinuxComponentPeer *, const XLeaveWindowEvent &) const |
| void | handleMappingNotify (XMappingEvent &) const |
| void | handleMotionNotifyEvent (LinuxComponentPeer *, const XPointerMovedEvent &) const |
| void | handleWheelEvent (LinuxComponentPeer *, const XButtonPressedEvent &, float) const |
| void | handleXEmbedMessage (LinuxComponentPeer *, XClientMessageEvent &) const |
| void | initialisePointerMap () |
| bool | initialiseXDisplay () |
| void | initialiseXSettings () |
| bool | isFrontWindow (::Window) const |
| bool | isHidden (Window) const |
| bool | isIconic (Window) const |
| void | propertyNotifyEvent (LinuxComponentPeer *, const XPropertyEvent &) const |
| void | removeWindowDecorations (::Window) const |
| void | setWindowType (::Window, int) const |
| void | updateConstraints (::Window, ComponentPeer &) const |
| void | updateModifierMappings () const |
| void | xchangeProperty (::Window, Atom, Atom, int, const void *, int) const |
Static Private Member Functions | |
| static void | windowMessageReceive (XEvent &) |
Private Attributes | |
| XWindowSystemUtilities::Atoms | atoms |
| ::Display * | display = nullptr |
| std::unique_ptr< DisplayVisuals > | displayVisuals |
| String | localClipboardContent |
| Point< int > | parentScreenPosition |
| unsigned char | pointerMap [9] {} |
| int | shmCompletionEvent = 0 |
| bool | xIsAvailable = false |
| std::unique_ptr< XWindowSystemUtilities::XSettings > | xSettings |
|
private |
|
private |
| void juce::XWindowSystem::addPendingPaintForWindow | ( | ::Window | ) |
|
private |
| void juce::XWindowSystem::blitToWindow | ( | ::Window | , |
| Image | , | ||
| Rectangle< int > | destinationRect, | ||
| Rectangle< int > | totalRect | ||
| ) | const |
| bool juce::XWindowSystem::canUseARGBImages | ( | ) | const |
| bool juce::XWindowSystem::canUseSemiTransparentWindows | ( | ) | const |
| void juce::XWindowSystem::copyTextToClipboard | ( | const String & | ) |
| Cursor juce::XWindowSystem::createCustomMouseCursorInfo | ( | const Image & | , |
| Point< int > | hotspot | ||
| ) | const |
| Image juce::XWindowSystem::createImage | ( | bool | isSemiTransparentWindow, |
| int | width, | ||
| int | height, | ||
| bool | argb | ||
| ) | const |
| ::Window juce::XWindowSystem::createKeyProxy | ( | ::Window | ) |
| Cursor juce::XWindowSystem::createStandardMouseCursor | ( | MouseCursor::StandardCursorType | ) | const |
| ::Window juce::XWindowSystem::createWindow | ( | ::Window | parentWindow, |
| LinuxComponentPeer * | |||
| ) | const |
|
staticinherited |
Deletes all extant objects.
This shouldn't be used by applications, as it's called automatically in the shutdown code of the JUCEApplicationBase class.
|
private |
| void juce::XWindowSystem::deleteKeyProxy | ( | ::Window | ) | const |
| void juce::XWindowSystem::deleteMouseCursor | ( | Cursor | cursorHandle | ) | const |
| void juce::XWindowSystem::destroyWindow | ( | ::Window | ) |
|
private |
|
private |
|
private |
| bool juce::XWindowSystem::externalDragFileInit | ( | LinuxComponentPeer * | , |
| const StringArray & | files, | ||
| bool | canMove, | ||
| std::function< void()> && | callback | ||
| ) | const |
| bool juce::XWindowSystem::externalDragTextInit | ( | LinuxComponentPeer * | , |
| const String & | text, | ||
| std::function< void()> && | callback | ||
| ) | const |
| Array< Displays::Display > juce::XWindowSystem::findDisplays | ( | float | masterScale | ) | const |
|
private |
|
inlinenoexcept |
References atoms.
| ComponentPeer::OptionalBorderSize juce::XWindowSystem::getBorderSize | ( | ::Window | ) | const |
|
inlinenoexcept |
References display.
|
private |
|
inlinenoexcept |
References localClipboardContent.
| ModifierKeys juce::XWindowSystem::getNativeRealtimeModifiers | ( | ) | const |
| int juce::XWindowSystem::getNumPaintsPendingForWindow | ( | ::Window | ) |
| Point< int > juce::XWindowSystem::getPhysicalParentScreenPosition | ( | ) | const |
| String juce::XWindowSystem::getTextFromClipboard | ( | ) | const |
|
inlinestatic |
|
private |
| Rectangle< int > juce::XWindowSystem::getWindowBounds | ( | ::Window | , |
| ::Window | parentWindow | ||
| ) |
|
inlinestatic |
|
inlinenoexcept |
References xSettings.
| bool juce::XWindowSystem::grabFocus | ( | ::Window | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| void juce::XWindowSystem::handleWindowMessage | ( | LinuxComponentPeer * | , |
| XEvent & | |||
| ) | const |
|
private |
|
private |
|
private |
|
private |
| bool juce::XWindowSystem::isDarkModeActive | ( | ) | const |
| bool juce::XWindowSystem::isFocused | ( | ::Window | ) | const |
|
private |
|
private |
|
private |
| bool juce::XWindowSystem::isKeyCurrentlyDown | ( | int | keyCode | ) | const |
| bool juce::XWindowSystem::isMinimised | ( | ::Window | ) | const |
| bool juce::XWindowSystem::isParentWindowOf | ( | ::Window | , |
| ::Window | possibleChild | ||
| ) | const |
|
inlinenoexcept |
References xIsAvailable.
| void juce::XWindowSystem::processPendingPaintsForWindow | ( | ::Window | ) |
|
private |
| void juce::XWindowSystem::removePendingPaintForWindow | ( | ::Window | ) |
|
private |
| void juce::XWindowSystem::setIcon | ( | ::Window | , |
| const Image & | |||
| ) | const |
| void juce::XWindowSystem::setMaximised | ( | ::Window | , |
| bool | shouldBeMinimised | ||
| ) | const |
| void juce::XWindowSystem::setMinimised | ( | ::Window | , |
| bool | shouldBeMinimised | ||
| ) | const |
| void juce::XWindowSystem::setScreenSaverEnabled | ( | bool | enabled | ) | const |
| void juce::XWindowSystem::setTitle | ( | ::Window | , |
| const String & | |||
| ) | const |
| void juce::XWindowSystem::setVisible | ( | ::Window | , |
| bool | shouldBeVisible | ||
| ) | const |
|
private |
| void juce::XWindowSystem::showCursor | ( | ::Window | , |
| Cursor | cursorHandle | ||
| ) | const |
| void juce::XWindowSystem::startHostManagedResize | ( | ::Window | window, |
| ResizableBorderComponent::Zone | zone | ||
| ) |
| void juce::XWindowSystem::toBehind | ( | ::Window | , |
| ::Window | otherWindow | ||
| ) | const |
| void juce::XWindowSystem::toFront | ( | ::Window | , |
| bool | makeActive | ||
| ) | const |
| void juce::XWindowSystem::updateConstraints | ( | ::Window | ) | const |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
Referenced by getAtoms().
|
private |
Referenced by getDisplay().
|
private |
|
private |
Referenced by getLocalClipboardContent().
|
private |
|
private |
|
private |
|
private |
Referenced by isX11Available().
|
private |
Referenced by getXSettings().