JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
juce::XWindowSystem Class Reference
Inheritance diagram for juce::XWindowSystem:
juce::DeletedAtShutdown

Public Member Functions

::Window createWindow (::Window parentWindow, LinuxComponentPeer *) const
 
void destroyWindow (::Window)
 
void setTitle (::Window, const String &) const
 
void setIcon (::Window, const Image &) const
 
void setVisible (::Window, bool shouldBeVisible) const
 
void setBounds (::Window, Rectangle< int >, bool fullScreen) const
 
void updateConstraints (::Window) const
 
ComponentPeer::OptionalBorderSize getBorderSize (::Window) const
 
Rectangle< intgetWindowBounds (::Window, ::Window parentWindow)
 
Point< intgetPhysicalParentScreenPosition () const
 
bool contains (::Window, Point< int > localPos) const
 
void setMinimised (::Window, bool shouldBeMinimised) const
 
bool isMinimised (::Window) const
 
void setMaximised (::Window, bool shouldBeMinimised) const
 
void toFront (::Window, bool makeActive) const
 
void toBehind (::Window, ::Window otherWindow) const
 
bool isFocused (::Window) const
 
bool grabFocus (::Window) const
 
bool canUseSemiTransparentWindows () const
 
bool canUseARGBImages () const
 
bool isDarkModeActive () const
 
int getNumPaintsPendingForWindow (::Window)
 
void processPendingPaintsForWindow (::Window)
 
void addPendingPaintForWindow (::Window)
 
void removePendingPaintForWindow (::Window)
 
Image createImage (bool isSemiTransparentWindow, int width, int height, bool argb) const
 
void blitToWindow (::Window, Image, Rectangle< int > destinationRect, Rectangle< int > totalRect) const
 
void setScreenSaverEnabled (bool enabled) const
 
Point< floatgetCurrentMousePosition () const
 
void setMousePosition (Point< float > pos) const
 
Cursor createCustomMouseCursorInfo (const Image &, Point< int > hotspot) const
 
void deleteMouseCursor (Cursor cursorHandle) const
 
Cursor createStandardMouseCursor (MouseCursor::StandardCursorType) const
 
void showCursor (::Window, Cursor cursorHandle) const
 
bool isKeyCurrentlyDown (int keyCode) const
 
ModifierKeys getNativeRealtimeModifiers () const
 
Array< Displays::DisplayfindDisplays (float masterScale) const
 
::Window createKeyProxy (::Window)
 
void deleteKeyProxy (::Window) const
 
bool externalDragFileInit (LinuxComponentPeer *, const StringArray &files, bool canMove, std::function< void()> &&callback) const
 
bool externalDragTextInit (LinuxComponentPeer *, const String &text, std::function< void()> &&callback) const
 
void copyTextToClipboard (const String &)
 
String getTextFromClipboard () const
 
String getLocalClipboardContent () const noexcept
 
::Display * getDisplay () const noexcept
 
const XWindowSystemUtilities::AtomsgetAtoms () const noexcept
 
XWindowSystemUtilities::XSettingsgetXSettings () const noexcept
 
bool isX11Available () const noexcept
 
void startHostManagedResize (::Window window, ResizableBorderComponent::Zone zone)
 
void handleWindowMessage (LinuxComponentPeer *, XEvent &) const
 
bool isParentWindowOf (::Window, ::Window possibleChild) const
 

Static Public Member Functions

static String getWindowScalingFactorSettingName ()
 
static String getThemeNameSettingName ()
 
- Static Public Member Functions inherited from juce::DeletedAtShutdown
static void deleteAll ()
 Deletes all extant objects.
 

Additional Inherited Members

- Protected Member Functions inherited from juce::DeletedAtShutdown
 DeletedAtShutdown ()
 Creates a DeletedAtShutdown object.
 
virtual ~DeletedAtShutdown ()
 Destructor.
 

Detailed Description

Definition at line 171 of file juce_XWindowSystem_linux.h.

Member Function Documentation

◆ addPendingPaintForWindow()

void juce::XWindowSystem::addPendingPaintForWindow ( ::Window  windowH)

Definition at line 2237 of file juce_XWindowSystem_linux.cpp.

◆ blitToWindow()

void juce::XWindowSystem::blitToWindow ( ::Window  windowH,
Image  image,
Rectangle< int destinationRect,
Rectangle< int totalRect 
) const

Definition at line 2197 of file juce_XWindowSystem_linux.cpp.

◆ canUseARGBImages()

bool juce::XWindowSystem::canUseARGBImages ( ) const

Definition at line 2119 of file juce_XWindowSystem_linux.cpp.

◆ canUseSemiTransparentWindows()

bool juce::XWindowSystem::canUseSemiTransparentWindows ( ) const

Definition at line 2104 of file juce_XWindowSystem_linux.cpp.

◆ contains()

bool juce::XWindowSystem::contains ( ::Window  windowH,
Point< int localPos 
) const

Definition at line 1896 of file juce_XWindowSystem_linux.cpp.

◆ copyTextToClipboard()

void juce::XWindowSystem::copyTextToClipboard ( const String clipText)

Definition at line 2793 of file juce_XWindowSystem_linux.cpp.

◆ createCustomMouseCursorInfo()

Cursor juce::XWindowSystem::createCustomMouseCursorInfo ( const Image image,
Point< int hotspot 
) const

Definition at line 2298 of file juce_XWindowSystem_linux.cpp.

◆ createImage()

Image juce::XWindowSystem::createImage ( bool  isSemiTransparentWindow,
int  width,
int  height,
bool  argb 
) const

Definition at line 2183 of file juce_XWindowSystem_linux.cpp.

◆ createKeyProxy()

Window juce::XWindowSystem::createKeyProxy ( ::Window  windowH)

Definition at line 2733 of file juce_XWindowSystem_linux.cpp.

◆ createStandardMouseCursor()

Cursor juce::XWindowSystem::createStandardMouseCursor ( MouseCursor::StandardCursorType  type) const

Definition at line 2409 of file juce_XWindowSystem_linux.cpp.

◆ createWindow()

Window juce::XWindowSystem::createWindow ( ::Window  parentWindow,
LinuxComponentPeer peer 
) const

Definition at line 1517 of file juce_XWindowSystem_linux.cpp.

◆ deleteKeyProxy()

void juce::XWindowSystem::deleteKeyProxy ( ::Window  keyProxy) const

Definition at line 2751 of file juce_XWindowSystem_linux.cpp.

◆ deleteMouseCursor()

void juce::XWindowSystem::deleteMouseCursor ( Cursor  cursorHandle) const

Definition at line 2388 of file juce_XWindowSystem_linux.cpp.

◆ destroyWindow()

void juce::XWindowSystem::destroyWindow ( ::Window  windowH)

Definition at line 1615 of file juce_XWindowSystem_linux.cpp.

◆ externalDragFileInit()

bool juce::XWindowSystem::externalDragFileInit ( LinuxComponentPeer peer,
const StringArray files,
bool  canMove,
std::function< void()> &&  callback 
) const

Definition at line 2763 of file juce_XWindowSystem_linux.cpp.

◆ externalDragTextInit()

bool juce::XWindowSystem::externalDragTextInit ( LinuxComponentPeer peer,
const String text,
std::function< void()> &&  callback 
) const

Definition at line 2783 of file juce_XWindowSystem_linux.cpp.

◆ findDisplays()

Array< Displays::Display > juce::XWindowSystem::findDisplays ( float  masterScale) const

Definition at line 2568 of file juce_XWindowSystem_linux.cpp.

◆ getAtoms()

const XWindowSystemUtilities::Atoms & juce::XWindowSystem::getAtoms ( ) const
noexcept

Definition at line 239 of file juce_XWindowSystem_linux.h.

◆ getBorderSize()

ComponentPeer::OptionalBorderSize juce::XWindowSystem::getBorderSize ( ::Window  windowH) const

Definition at line 1909 of file juce_XWindowSystem_linux.cpp.

◆ getCurrentMousePosition()

Point< float > juce::XWindowSystem::getCurrentMousePosition ( ) const

Definition at line 2267 of file juce_XWindowSystem_linux.cpp.

◆ getDisplay()

::Display * juce::XWindowSystem::getDisplay ( ) const
noexcept

Definition at line 238 of file juce_XWindowSystem_linux.h.

◆ getLocalClipboardContent()

String juce::XWindowSystem::getLocalClipboardContent ( ) const
noexcept

Definition at line 236 of file juce_XWindowSystem_linux.h.

◆ getNativeRealtimeModifiers()

ModifierKeys juce::XWindowSystem::getNativeRealtimeModifiers ( ) const

Definition at line 2503 of file juce_XWindowSystem_linux.cpp.

◆ getNumPaintsPendingForWindow()

int juce::XWindowSystem::getNumPaintsPendingForWindow ( ::Window  windowH)

Definition at line 2227 of file juce_XWindowSystem_linux.cpp.

◆ getPhysicalParentScreenPosition()

Point< int > juce::XWindowSystem::getPhysicalParentScreenPosition ( ) const

Definition at line 1971 of file juce_XWindowSystem_linux.cpp.

◆ getTextFromClipboard()

String juce::XWindowSystem::getTextFromClipboard ( ) const

Definition at line 2801 of file juce_XWindowSystem_linux.cpp.

◆ getThemeNameSettingName()

static String juce::XWindowSystem::getThemeNameSettingName ( )
static

Definition at line 248 of file juce_XWindowSystem_linux.h.

◆ getWindowBounds()

Rectangle< int > juce::XWindowSystem::getWindowBounds ( ::Window  windowH,
::Window  parentWindow 
)

Definition at line 1938 of file juce_XWindowSystem_linux.cpp.

◆ getWindowScalingFactorSettingName()

static String juce::XWindowSystem::getWindowScalingFactorSettingName ( )
static

Definition at line 247 of file juce_XWindowSystem_linux.h.

◆ getXSettings()

XWindowSystemUtilities::XSettings * juce::XWindowSystem::getXSettings ( ) const
noexcept

Definition at line 240 of file juce_XWindowSystem_linux.h.

◆ grabFocus()

bool juce::XWindowSystem::grabFocus ( ::Window  windowH) const

Definition at line 2085 of file juce_XWindowSystem_linux.cpp.

◆ handleWindowMessage()

void juce::XWindowSystem::handleWindowMessage ( LinuxComponentPeer peer,
XEvent event 
) const

Definition at line 3363 of file juce_XWindowSystem_linux.cpp.

◆ isDarkModeActive()

bool juce::XWindowSystem::isDarkModeActive ( ) const

Definition at line 2152 of file juce_XWindowSystem_linux.cpp.

◆ isFocused()

bool juce::XWindowSystem::isFocused ( ::Window  windowH) const

Definition at line 2058 of file juce_XWindowSystem_linux.cpp.

◆ isKeyCurrentlyDown()

bool juce::XWindowSystem::isKeyCurrentlyDown ( int  keyCode) const

Definition at line 2473 of file juce_XWindowSystem_linux.cpp.

◆ isMinimised()

bool juce::XWindowSystem::isMinimised ( ::Window  w) const

Definition at line 1997 of file juce_XWindowSystem_linux.cpp.

◆ isParentWindowOf()

bool juce::XWindowSystem::isParentWindowOf ( ::Window  windowH,
::Window  possibleChild 
) const

Definition at line 2862 of file juce_XWindowSystem_linux.cpp.

◆ isX11Available()

bool juce::XWindowSystem::isX11Available ( ) const
noexcept

Definition at line 242 of file juce_XWindowSystem_linux.h.

◆ processPendingPaintsForWindow()

void juce::XWindowSystem::processPendingPaintsForWindow ( ::Window  windowH)

Definition at line 2210 of file juce_XWindowSystem_linux.cpp.

◆ removePendingPaintForWindow()

void juce::XWindowSystem::removePendingPaintForWindow ( ::Window  windowH)

Definition at line 2245 of file juce_XWindowSystem_linux.cpp.

◆ setBounds()

void juce::XWindowSystem::setBounds ( ::Window  windowH,
Rectangle< int newBounds,
bool  fullScreen 
) const

Definition at line 1728 of file juce_XWindowSystem_linux.cpp.

◆ setIcon()

void juce::XWindowSystem::setIcon ( ::Window  windowH,
const Image newIcon 
) const

Definition at line 1678 of file juce_XWindowSystem_linux.cpp.

◆ setMaximised()

void juce::XWindowSystem::setMaximised ( ::Window  windowH,
bool  shouldBeMinimised 
) const

Definition at line 2002 of file juce_XWindowSystem_linux.cpp.

◆ setMinimised()

void juce::XWindowSystem::setMinimised ( ::Window  windowH,
bool  shouldBeMinimised 
) const

Definition at line 1976 of file juce_XWindowSystem_linux.cpp.

◆ setMousePosition()

void juce::XWindowSystem::setMousePosition ( Point< float pos) const

Definition at line 2287 of file juce_XWindowSystem_linux.cpp.

◆ setScreenSaverEnabled()

void juce::XWindowSystem::setScreenSaverEnabled ( bool  enabled) const

Definition at line 2253 of file juce_XWindowSystem_linux.cpp.

◆ setTitle()

void juce::XWindowSystem::setTitle ( ::Window  windowH,
const String title 
) const

Definition at line 1655 of file juce_XWindowSystem_linux.cpp.

◆ setVisible()

void juce::XWindowSystem::setVisible ( ::Window  windowH,
bool  shouldBeVisible 
) const

Definition at line 1716 of file juce_XWindowSystem_linux.cpp.

◆ showCursor()

void juce::XWindowSystem::showCursor ( ::Window  windowH,
Cursor  cursorHandle 
) const

Definition at line 2465 of file juce_XWindowSystem_linux.cpp.

◆ startHostManagedResize()

void juce::XWindowSystem::startHostManagedResize ( ::Window  window,
ResizableBorderComponent::Zone  zone 
)

Definition at line 1792 of file juce_XWindowSystem_linux.cpp.

◆ toBehind()

void juce::XWindowSystem::toBehind ( ::Window  windowH,
::Window  otherWindow 
) const

Definition at line 2045 of file juce_XWindowSystem_linux.cpp.

◆ toFront()

void juce::XWindowSystem::toFront ( ::Window  windowH,
bool  makeActive 
) const

Definition at line 2021 of file juce_XWindowSystem_linux.cpp.

◆ updateConstraints()

void juce::XWindowSystem::updateConstraints ( ::Window  windowH) const

Definition at line 1854 of file juce_XWindowSystem_linux.cpp.


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