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 | Public Attributes | Static Public Attributes | List of all members
juce::LinuxComponentPeer Class Referencefinal
Inheritance diagram for juce::LinuxComponentPeer:
juce::ComponentPeer juce::XWindowSystemUtilities::XSettings::Listener juce::FocusChangeListener

Public Member Functions

 LinuxComponentPeer (Component &comp, int windowStyleFlags, ::Window parentToAddTo)
 
::Window getWindowHandle () const noexcept
 
voidgetNativeHandle () const override
 Returns the raw handle to whatever kind of window is being used.
 
void forceSetBounds (const Rectangle< int > &correctedNewBounds, bool isNowFullScreen)
 
void setBounds (const Rectangle< int > &newBounds, bool isNowFullScreen) override
 Moves and resizes the window.
 
Point< intgetScreenPosition (bool physical) const
 
Rectangle< intgetBounds () const override
 Returns the current position and size of the window.
 
OptionalBorderSize getFrameSizeIfPresent () const override
 Returns the size of the window frame that's around this window.
 
BorderSize< intgetFrameSize () const override
 Returns the size of the window frame that's around this window.
 
Point< floatlocalToGlobal (Point< float > relativePosition) override
 Converts a position relative to the top-left of this component to screen coordinates.
 
Point< floatglobalToLocal (Point< float > screenPosition) override
 Converts a screen coordinate to a position relative to the top-left of this component.
 
StringArray getAvailableRenderingEngines () override
 
void setVisible (bool shouldBeVisible) override
 Shows or hides the window.
 
void setTitle (const String &title) override
 Changes the title of the window.
 
void setMinimised (bool shouldBeMinimised) override
 Minimises the window.
 
bool isMinimised () const override
 True if the window is currently minimised.
 
void setFullScreen (bool shouldBeFullScreen) override
 Enable/disable fullscreen mode for the window.
 
bool isFullScreen () const override
 True if the window is currently full-screen.
 
bool contains (Point< int > localPos, bool trueIfInAChildWindow) const override
 Checks if a point is in the window.
 
void toFront (bool makeActive) override
 Brings the window to the top, optionally also giving it keyboard focus.
 
void toBehind (ComponentPeer *other) override
 Moves the window to be just behind another one.
 
bool isFocused () const override
 True if the window has the keyboard focus.
 
void grabFocus () override
 Tries to give the window keyboard focus.
 
void repaint (const Rectangle< int > &area) override
 Invalidates a region of the window to be repainted asynchronously.
 
void performAnyPendingRepaintsNow () override
 This can be called (from the message thread) to cause the immediate redrawing of any areas of this window that need repainting.
 
void setIcon (const Image &newIcon) override
 Attempts to change the icon associated with this window.
 
double getPlatformScaleFactor () const noexcept override
 On Windows and Linux this will return the OS scaling factor currently being applied to the native window.
 
void setAlpha (float) override
 Changes the window's transparency.
 
bool setAlwaysOnTop (bool) override
 Sets this window to either be always-on-top or normal.
 
void textInputRequired (Point< int >, TextInputTarget &) override
 Tells the window that text input may be required at the given position.
 
void addOpenGLRepaintListener (Component *dummy)
 
void removeOpenGLRepaintListener (Component *dummy)
 
void repaintOpenGLContexts ()
 
::Window getParentWindow ()
 
void setParentWindow (::Window newParent)
 
bool isConstrainedNativeWindow () const
 
void updateWindowBounds ()
 
void updateBorderSize ()
 
bool setWindowAssociation (::Window windowIn)
 
void clearWindowAssociation ()
 
void startHostManagedResize (Point< int >, ResizableBorderComponent::Zone zone) override
 Asks the window-manager to begin resizing this window, on platforms where this is useful (currently just Linux/X11).
 
virtual Point< floatlocalToGlobal (Point< float > relativePosition)=0
 Converts a position relative to the top-left of this component to screen coordinates.
 
Point< intlocalToGlobal (Point< int > relativePosition)
 Converts a position relative to the top-left of this component to screen coordinates.
 
virtual Rectangle< intlocalToGlobal (const Rectangle< int > &relativePosition)
 Converts a rectangle relative to the top-left of this component to screen coordinates.
 
Rectangle< floatlocalToGlobal (const Rectangle< float > &relativePosition)
 Converts a rectangle relative to the top-left of this component to screen coordinates.
 
virtual Point< floatglobalToLocal (Point< float > screenPosition)=0
 Converts a screen coordinate to a position relative to the top-left of this component.
 
Point< intglobalToLocal (Point< int > screenPosition)
 Converts a screen coordinate to a position relative to the top-left of this component.
 
virtual Rectangle< intglobalToLocal (const Rectangle< int > &screenPosition)
 Converts a screen area to a position relative to the top-left of this component.
 
Rectangle< floatglobalToLocal (const Rectangle< float > &screenPosition)
 Converts a screen area to a position relative to the top-left of this component.
 
- Public Member Functions inherited from juce::ComponentPeer
 ComponentPeer (Component &component, int styleFlags)
 Creates a peer.
 
 ~ComponentPeer () override
 Destructor.
 
ComponentgetComponent () noexcept
 Returns the component being represented by this peer.
 
int getStyleFlags () const noexcept
 Returns the set of style flags that were set when the window was created.
 
uint32 getUniqueID () const noexcept
 Returns a unique ID for this peer.
 
virtual bool setDocumentEditedStatus (bool edited)
 If this type of window is capable of indicating that the document in it has been edited, then this changes its status.
 
virtual void setRepresentedFile (const File &)
 If this type of window is capable of indicating that it represents a file, then this lets you set the file.
 
void updateBounds ()
 Updates the peer's bounds to match its component.
 
Point< intlocalToGlobal (Point< int > relativePosition)
 Converts a position relative to the top-left of this component to screen coordinates.
 
Point< intglobalToLocal (Point< int > screenPosition)
 Converts a screen coordinate to a position relative to the top-left of this component.
 
Rectangle< floatlocalToGlobal (const Rectangle< float > &relativePosition)
 Converts a rectangle relative to the top-left of this component to screen coordinates.
 
Rectangle< floatglobalToLocal (const Rectangle< float > &screenPosition)
 Converts a screen area to a position relative to the top-left of this component.
 
Rectangle< intgetAreaCoveredBy (const Component &subComponent) const
 Returns the area in peer coordinates that is covered by the given sub-comp (which may be at any depth)
 
virtual bool isKioskMode () const
 True if the window is in kiosk-mode.
 
void setNonFullScreenBounds (const Rectangle< int > &newBounds) noexcept
 Sets the size to restore to if fullscreen mode is turned off.
 
const Rectangle< int > & getNonFullScreenBounds () const noexcept
 Returns the size to restore to if fullscreen mode is turned off.
 
void setConstrainer (ComponentBoundsConstrainer *newConstrainer) noexcept
 Sets a constrainer to use if the peer can resize itself.
 
ComponentBoundsConstrainergetConstrainer () const noexcept
 Returns the current constrainer, if one has been set.
 
void handleMovedOrResized ()
 This is called when the window's bounds change.
 
virtual void handleScreenSizeChange ()
 This is called if the screen resolution changes.
 
void handlePaint (LowLevelGraphicsContext &contextToPaintTo)
 This is called to repaint the component into the given context.
 
void handleBroughtToFront ()
 Called when the window is brought to the front, either by the OS or by a call to toFront().
 
void handleFocusGain ()
 Called when the window gains keyboard focus.
 
void handleFocusLoss ()
 Called when the window loses keyboard focus.
 
ComponentgetLastFocusedSubcomponent () const noexcept
 
bool handleKeyPress (int keyCode, juce_wchar textCharacter)
 Called when a key is pressed.
 
bool handleKeyPress (const KeyPress &key)
 Called when a key is pressed.
 
bool handleKeyUpOrDown (bool isKeyDown)
 Called whenever a key is pressed or released.
 
void handleModifierKeysChange ()
 Called whenever a modifier key is pressed or released.
 
virtual void closeInputMethodContext ()
 If there's a currently active input-method context - i.e.
 
void refreshTextInputTarget ()
 Alerts the peer that the current text input target has changed somehow.
 
TextInputTargetfindCurrentTextInputTarget ()
 Returns the currently focused TextInputTarget, or null if none is found.
 
void handleMouseEvent (MouseInputSource::InputSourceType type, Point< float > positionWithinPeer, ModifierKeys newMods, float pressure, float orientation, int64 time, PenDetails pen={}, int touchIndex=0)
 
void handleMouseWheel (MouseInputSource::InputSourceType type, Point< float > positionWithinPeer, int64 time, const MouseWheelDetails &, int touchIndex=0)
 
void handleMagnifyGesture (MouseInputSource::InputSourceType type, Point< float > positionWithinPeer, int64 time, float scaleFactor, int touchIndex=0)
 
void handleUserClosingWindow ()
 
bool handleDragMove (const DragInfo &)
 
bool handleDragExit (const DragInfo &)
 
bool handleDragDrop (const DragInfo &)
 
virtual int getCurrentRenderingEngine () const
 
virtual void setCurrentRenderingEngine (int index)
 
void addScaleFactorListener (ScaleFactorListener *listenerToAdd)
 Adds a scale factor listener.
 
void removeScaleFactorListener (ScaleFactorListener *listenerToRemove)
 Removes a scale factor listener.
 
void addVBlankListener (VBlankListener *listenerToAdd)
 Adds a VBlankListener.
 
void removeVBlankListener (VBlankListener *listenerToRemove)
 Removes a VBlankListener.
 
virtual void setHasChangedSinceSaved (bool)
 On platforms that support it, this will update the window's titlebar in some way to indicate that the window's document needs saving.
 
void setAppStyle (Style s)
 On operating systems that support it, this will update the style of this peer as requested.
 
Style getAppStyle () const
 Returns the style requested for this app.
 

Public Attributes

bool focused
 

Static Public Attributes

static bool isActiveApplication
 

Additional Inherited Members

- Public Types inherited from juce::ComponentPeer
enum  StyleFlags {
  windowAppearsOnTaskbar , windowIsTemporary , windowIgnoresMouseClicks , windowHasTitleBar ,
  windowIsResizable , windowHasMinimiseButton , windowHasMaximiseButton , windowHasCloseButton ,
  windowHasDropShadow , windowRepaintedExplictly , windowIgnoresKeyPresses , windowRequiresSynchronousCoreGraphicsRendering ,
  windowIsSemiTransparent
}
 A combination of these flags is passed to the ComponentPeer constructor. More...
 
enum class  Style { automatic , light , dark }
 
- Static Public Member Functions inherited from juce::ComponentPeer
static int getNumPeers () noexcept
 Returns the number of currently-active peers.
 
static ComponentPeergetPeer (int index) noexcept
 Returns one of the currently-active peers.
 
static ComponentPeergetPeerFor (const Component *) noexcept
 Returns the peer that's attached to the given component, or nullptr if there isn't one.
 
static bool isValidPeer (const ComponentPeer *peer) noexcept
 Checks if this peer object is valid.
 
static ModifierKeys getCurrentModifiersRealtime () noexcept
 On desktop platforms this method will check all the mouse and key states and return a ModifierKeys object representing them.
 
- Static Protected Member Functions inherited from juce::ComponentPeer
static void forceDisplayUpdate ()
 
- Protected Attributes inherited from juce::ComponentPeer
Componentcomponent
 
const int styleFlags
 
Rectangle< intlastNonFullscreenBounds
 
ComponentBoundsConstrainerconstrainer
 
ListenerList< ScaleFactorListenerscaleFactorListeners
 
ListenerList< VBlankListenervBlankListeners
 
Style style
 
- Static Protected Attributes inherited from juce::ComponentPeer
static std::function< ModifierKeys()> getNativeRealtimeModifiers
 

Detailed Description

Definition at line 30 of file juce_Windowing_linux.cpp.

Constructor & Destructor Documentation

◆ LinuxComponentPeer()

juce::LinuxComponentPeer::LinuxComponentPeer ( Component comp,
int  windowStyleFlags,
::Window  parentToAddTo 
)

Definition at line 34 of file juce_Windowing_linux.cpp.

◆ ~LinuxComponentPeer()

juce::LinuxComponentPeer::~LinuxComponentPeer ( )
override

Definition at line 64 of file juce_Windowing_linux.cpp.

Member Function Documentation

◆ addOpenGLRepaintListener()

void juce::LinuxComponentPeer::addOpenGLRepaintListener ( Component dummy)

Definition at line 323 of file juce_Windowing_linux.cpp.

◆ clearWindowAssociation()

void juce::LinuxComponentPeer::clearWindowAssociation ( )

Definition at line 400 of file juce_Windowing_linux.cpp.

◆ contains()

bool juce::LinuxComponentPeer::contains ( Point< int localPos,
bool  trueIfInAChildWindow 
) const
overridevirtual

Checks if a point is in the window.

The position is relative to the top-left of this window, in unscaled peer coordinates. If trueIfInAChildWindow is false, then this returns false if the point is actually inside a child of this window.

Implements juce::ComponentPeer.

Definition at line 227 of file juce_Windowing_linux.cpp.

◆ forceSetBounds()

void juce::LinuxComponentPeer::forceSetBounds ( const Rectangle< int > &  correctedNewBounds,
bool  isNowFullScreen 
)

Definition at line 93 of file juce_Windowing_linux.cpp.

◆ getAvailableRenderingEngines()

StringArray juce::LinuxComponentPeer::getAvailableRenderingEngines ( )
overridevirtual

Implements juce::ComponentPeer.

Definition at line 170 of file juce_Windowing_linux.cpp.

◆ getBounds()

Rectangle< int > juce::LinuxComponentPeer::getBounds ( ) const
overridevirtual

Returns the current position and size of the window.

If the native window is contained in another window, then the coordinates are relative to the parent window's origin, not the screen origin.

Implements juce::ComponentPeer.

Definition at line 140 of file juce_Windowing_linux.cpp.

◆ getFrameSize()

BorderSize< int > juce::LinuxComponentPeer::getFrameSize ( ) const
overridevirtual

Returns the size of the window frame that's around this window.

Whether or not the window has a normal window frame depends on the flags that were set when the window was created by Component::addToDesktop()

Implements juce::ComponentPeer.

Definition at line 150 of file juce_Windowing_linux.cpp.

◆ getFrameSizeIfPresent()

OptionalBorderSize juce::LinuxComponentPeer::getFrameSizeIfPresent ( ) const
overridevirtual

Returns the size of the window frame that's around this window.

Depending on the platform the border size may be invalid for a short transient after creating a new window. Hence the returned value must be checked using operator bool() and the contained value can be accessed using operator*() only if it is present.

Whether or not the window has a normal window frame depends on the flags that were set when the window was created by Component::addToDesktop()

Implements juce::ComponentPeer.

Definition at line 145 of file juce_Windowing_linux.cpp.

◆ getNativeHandle()

void * juce::LinuxComponentPeer::getNativeHandle ( ) const
overridevirtual

Returns the raw handle to whatever kind of window is being used.

On windows, this is probably a HWND, on the mac, it's likely to be a WindowRef, but remember there's no guarantees what you'll get back.

Implements juce::ComponentPeer.

Definition at line 87 of file juce_Windowing_linux.cpp.

◆ getParentWindow()

::Window juce::LinuxComponentPeer::getParentWindow ( )

Definition at line 342 of file juce_Windowing_linux.cpp.

◆ getPlatformScaleFactor()

double juce::LinuxComponentPeer::getPlatformScaleFactor ( ) const
overridevirtualnoexcept

On Windows and Linux this will return the OS scaling factor currently being applied to the native window.

This is used to convert between physical and logical pixels at the OS API level and you shouldn't need to use it in your own code unless you are dealing directly with the native window.

Reimplemented from juce::ComponentPeer.

Definition at line 313 of file juce_Windowing_linux.cpp.

◆ getScreenPosition()

Point< int > juce::LinuxComponentPeer::getScreenPosition ( bool  physical) const

Definition at line 124 of file juce_Windowing_linux.cpp.

◆ getWindowHandle()

::Window juce::LinuxComponentPeer::getWindowHandle ( ) const
noexcept

Definition at line 81 of file juce_Windowing_linux.cpp.

◆ globalToLocal() [1/5]

Rectangle< float > juce::ComponentPeer::globalToLocal ( const Rectangle< float > &  screenPosition)

Converts a screen area to a position relative to the top-left of this component.

Definition at line 225 of file juce_ComponentPeer.cpp.

◆ globalToLocal() [2/5]

Rectangle< int > juce::ComponentPeer::globalToLocal ( const Rectangle< int > &  screenPosition)
virtual

Converts a screen area to a position relative to the top-left of this component.

Reimplemented from juce::ComponentPeer.

Definition at line 219 of file juce_ComponentPeer.cpp.

◆ globalToLocal() [3/5]

Point< float > juce::LinuxComponentPeer::globalToLocal ( Point< float screenPosition)
overridevirtual

Converts a screen coordinate to a position relative to the top-left of this component.

Implements juce::ComponentPeer.

Definition at line 161 of file juce_Windowing_linux.cpp.

◆ globalToLocal() [4/5]

virtual Point< float > juce::ComponentPeer::globalToLocal ( Point< float screenPosition)
virtual

Converts a screen coordinate to a position relative to the top-left of this component.

Implements juce::ComponentPeer.

◆ globalToLocal() [5/5]

Point< int > juce::ComponentPeer::globalToLocal ( Point< int screenPosition)

Converts a screen coordinate to a position relative to the top-left of this component.

Definition at line 213 of file juce_ComponentPeer.cpp.

◆ grabFocus()

void juce::LinuxComponentPeer::grabFocus ( )
overridevirtual

Tries to give the window keyboard focus.

Implements juce::ComponentPeer.

Definition at line 289 of file juce_Windowing_linux.cpp.

◆ isConstrainedNativeWindow()

bool juce::LinuxComponentPeer::isConstrainedNativeWindow ( ) const

Definition at line 346 of file juce_Windowing_linux.cpp.

◆ isFocused()

bool juce::LinuxComponentPeer::isFocused ( ) const
overridevirtual

True if the window has the keyboard focus.

Implements juce::ComponentPeer.

Definition at line 284 of file juce_Windowing_linux.cpp.

◆ isFullScreen()

bool juce::LinuxComponentPeer::isFullScreen ( ) const
overridevirtual

True if the window is currently full-screen.

Implements juce::ComponentPeer.

Definition at line 222 of file juce_Windowing_linux.cpp.

◆ isMinimised()

bool juce::LinuxComponentPeer::isMinimised ( ) const
overridevirtual

True if the window is currently minimised.

Implements juce::ComponentPeer.

Definition at line 193 of file juce_Windowing_linux.cpp.

◆ localToGlobal() [1/5]

Rectangle< float > juce::ComponentPeer::localToGlobal ( const Rectangle< float > &  relativePosition)

Converts a rectangle relative to the top-left of this component to screen coordinates.

Definition at line 222 of file juce_ComponentPeer.cpp.

◆ localToGlobal() [2/5]

Rectangle< int > juce::ComponentPeer::localToGlobal ( const Rectangle< int > &  relativePosition)
virtual

Converts a rectangle relative to the top-left of this component to screen coordinates.

Reimplemented from juce::ComponentPeer.

Definition at line 216 of file juce_ComponentPeer.cpp.

◆ localToGlobal() [3/5]

Point< float > juce::LinuxComponentPeer::localToGlobal ( Point< float relativePosition)
overridevirtual

Converts a position relative to the top-left of this component to screen coordinates.

Implements juce::ComponentPeer.

Definition at line 156 of file juce_Windowing_linux.cpp.

◆ localToGlobal() [4/5]

virtual Point< float > juce::ComponentPeer::localToGlobal ( Point< float relativePosition)
virtual

Converts a position relative to the top-left of this component to screen coordinates.

Implements juce::ComponentPeer.

◆ localToGlobal() [5/5]

Point< int > juce::ComponentPeer::localToGlobal ( Point< int relativePosition)

Converts a position relative to the top-left of this component to screen coordinates.

Definition at line 210 of file juce_ComponentPeer.cpp.

◆ performAnyPendingRepaintsNow()

void juce::LinuxComponentPeer::performAnyPendingRepaintsNow ( )
overridevirtual

This can be called (from the message thread) to cause the immediate redrawing of any areas of this window that need repainting.

You shouldn't ever really need to use this, it's mainly for special purposes like supporting audio plugins where the host's event loop is out of our control.

Implements juce::ComponentPeer.

Definition at line 302 of file juce_Windowing_linux.cpp.

◆ removeOpenGLRepaintListener()

void juce::LinuxComponentPeer::removeOpenGLRepaintListener ( Component dummy)

Definition at line 329 of file juce_Windowing_linux.cpp.

◆ repaint()

void juce::LinuxComponentPeer::repaint ( const Rectangle< int > &  area)
overridevirtual

Invalidates a region of the window to be repainted asynchronously.

Implements juce::ComponentPeer.

Definition at line 296 of file juce_Windowing_linux.cpp.

◆ repaintOpenGLContexts()

void juce::LinuxComponentPeer::repaintOpenGLContexts ( )

Definition at line 335 of file juce_Windowing_linux.cpp.

◆ setAlpha()

void juce::LinuxComponentPeer::setAlpha ( float  newAlpha)
overridevirtual

Changes the window's transparency.

Implements juce::ComponentPeer.

Definition at line 318 of file juce_Windowing_linux.cpp.

◆ setAlwaysOnTop()

bool juce::LinuxComponentPeer::setAlwaysOnTop ( bool  alwaysOnTop)
overridevirtual

Sets this window to either be always-on-top or normal.

Some kinds of window might not be able to do this, so should return false.

Implements juce::ComponentPeer.

Definition at line 319 of file juce_Windowing_linux.cpp.

◆ setBounds()

void juce::LinuxComponentPeer::setBounds ( const Rectangle< int > &  newBounds,
bool  isNowFullScreen 
)
overridevirtual

Moves and resizes the window.

If the native window is contained in another window, then the coordinates are relative to the parent window's origin, not the screen origin.

This should result in a callback to handleMovedOrResized().

Implements juce::ComponentPeer.

Definition at line 115 of file juce_Windowing_linux.cpp.

◆ setFullScreen()

void juce::LinuxComponentPeer::setFullScreen ( bool  shouldBeFullScreen)
overridevirtual

Enable/disable fullscreen mode for the window.

Implements juce::ComponentPeer.

Definition at line 198 of file juce_Windowing_linux.cpp.

◆ setIcon()

void juce::LinuxComponentPeer::setIcon ( const Image newIcon)
overridevirtual

Attempts to change the icon associated with this window.

Implements juce::ComponentPeer.

Definition at line 308 of file juce_Windowing_linux.cpp.

◆ setMinimised()

void juce::LinuxComponentPeer::setMinimised ( bool  shouldBeMinimised)
overridevirtual

Minimises the window.

Implements juce::ComponentPeer.

Definition at line 185 of file juce_Windowing_linux.cpp.

◆ setParentWindow()

void juce::LinuxComponentPeer::setParentWindow ( ::Window  newParent)

Definition at line 343 of file juce_Windowing_linux.cpp.

◆ setTitle()

void juce::LinuxComponentPeer::setTitle ( const String title)
overridevirtual

Changes the title of the window.

Implements juce::ComponentPeer.

Definition at line 180 of file juce_Windowing_linux.cpp.

◆ setVisible()

void juce::LinuxComponentPeer::setVisible ( bool  shouldBeVisible)
overridevirtual

Shows or hides the window.

Implements juce::ComponentPeer.

Definition at line 175 of file juce_Windowing_linux.cpp.

◆ setWindowAssociation()

bool juce::LinuxComponentPeer::setWindowAssociation ( ::Window  windowIn)

Definition at line 393 of file juce_Windowing_linux.cpp.

◆ startHostManagedResize()

void juce::LinuxComponentPeer::startHostManagedResize ( Point< int mouseDownPosition,
ResizableBorderComponent::Zone  zone 
)
overridevirtual

Asks the window-manager to begin resizing this window, on platforms where this is useful (currently just Linux/X11).

Parameters
mouseDownPositionThe position of the mouse event that started the resize in unscaled peer coordinates
zoneThe edges of the window that may be moved during the resize

Reimplemented from juce::ComponentPeer.

Definition at line 402 of file juce_Windowing_linux.cpp.

◆ textInputRequired()

void juce::LinuxComponentPeer::textInputRequired ( Point< int ,
TextInputTarget  
)
overridevirtual

Tells the window that text input may be required at the given position.

This may cause things like a virtual on-screen keyboard to appear, depending on the OS.

This function should not be called directly by Components - use refreshTextInputTarget instead.

Implements juce::ComponentPeer.

Definition at line 320 of file juce_Windowing_linux.cpp.

◆ toBehind()

void juce::LinuxComponentPeer::toBehind ( ComponentPeer other)
overridevirtual

Moves the window to be just behind another one.

Implements juce::ComponentPeer.

Definition at line 268 of file juce_Windowing_linux.cpp.

◆ toFront()

void juce::LinuxComponentPeer::toFront ( bool  takeKeyboardFocus)
overridevirtual

Brings the window to the top, optionally also giving it keyboard focus.

Implements juce::ComponentPeer.

Definition at line 256 of file juce_Windowing_linux.cpp.

◆ updateBorderSize()

void juce::LinuxComponentPeer::updateBorderSize ( )

Definition at line 374 of file juce_Windowing_linux.cpp.

◆ updateWindowBounds()

void juce::LinuxComponentPeer::updateWindowBounds ( )

Definition at line 353 of file juce_Windowing_linux.cpp.

Member Data Documentation

◆ focused

bool juce::LinuxComponentPeer::focused

Definition at line 409 of file juce_Windowing_linux.cpp.

◆ isActiveApplication

bool juce::LinuxComponentPeer::isActiveApplication
static

Definition at line 408 of file juce_Windowing_linux.cpp.


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