|
| | LinuxComponentPeer (Component &comp, int windowStyleFlags, ::Window parentToAddTo) |
| | ~LinuxComponentPeer () override |
| ::Window | getWindowHandle () const noexcept |
| void * | getNativeHandle () const override |
| void | forceSetBounds (const Rectangle< int > &correctedNewBounds, bool isNowFullScreen) |
| void | setBounds (const Rectangle< int > &newBounds, bool isNowFullScreen) override |
| Point< int > | getScreenPosition (bool physical) const |
| Rectangle< int > | getBounds () const override |
| OptionalBorderSize | getFrameSizeIfPresent () const override |
| BorderSize< int > | getFrameSize () const override |
| Point< float > | localToGlobal (Point< float > relativePosition) override |
| Point< float > | globalToLocal (Point< float > screenPosition) override |
| StringArray | getAvailableRenderingEngines () override |
| void | setVisible (bool shouldBeVisible) override |
| void | setTitle (const String &title) override |
| void | setMinimised (bool shouldBeMinimised) override |
| bool | isMinimised () const override |
| void | setFullScreen (bool shouldBeFullScreen) override |
| bool | isFullScreen () const override |
| bool | contains (Point< int > localPos, bool trueIfInAChildWindow) const override |
| void | toFront (bool makeActive) override |
| void | toBehind (ComponentPeer *other) override |
| bool | isFocused () const override |
| void | grabFocus () override |
| void | repaint (const Rectangle< int > &area) override |
| void | performAnyPendingRepaintsNow () override |
| void | setIcon (const Image &newIcon) override |
| double | getPlatformScaleFactor () const noexcept override |
| void | setAlpha (float) override |
| bool | setAlwaysOnTop (bool) override |
| void | textInputRequired (Point< int >, TextInputTarget &) override |
| void | addOpenGLRepaintListener (Component *dummy) |
| void | removeOpenGLRepaintListener (Component *dummy) |
| void | repaintOpenGLContexts () |
| ::Window | getParentWindow () |
| void | setParentWindow (::Window newParent) |
| bool | isConstrainedNativeWindow () const |
| void | updateWindowBounds () |
| void | updateBorderSize () |
| Point< int > | localToGlobal (Point< int > relativePosition) |
| virtual Rectangle< int > | localToGlobal (const Rectangle< int > &relativePosition) |
| Rectangle< float > | localToGlobal (const Rectangle< float > &relativePosition) |
| Point< int > | globalToLocal (Point< int > screenPosition) |
| virtual Rectangle< int > | globalToLocal (const Rectangle< int > &screenPosition) |
| Rectangle< float > | globalToLocal (const Rectangle< float > &screenPosition) |
| | ComponentPeer (Component &component, int styleFlags) |
| | ~ComponentPeer () override |
| Component & | getComponent () noexcept |
| int | getStyleFlags () const noexcept |
| uint32 | getUniqueID () const noexcept |
| virtual bool | setDocumentEditedStatus (bool edited) |
| virtual void | setRepresentedFile (const File &) |
| void | updateBounds () |
| Point< int > | localToGlobal (Point< int > relativePosition) |
| Point< int > | globalToLocal (Point< int > screenPosition) |
| Rectangle< float > | localToGlobal (const Rectangle< float > &relativePosition) |
| Rectangle< float > | globalToLocal (const Rectangle< float > &screenPosition) |
| Rectangle< int > | getAreaCoveredBy (const Component &subComponent) const |
| virtual bool | isKioskMode () const |
| void | setNonFullScreenBounds (const Rectangle< int > &newBounds) noexcept |
| const Rectangle< int > & | getNonFullScreenBounds () const noexcept |
| void | setConstrainer (ComponentBoundsConstrainer *newConstrainer) noexcept |
| ComponentBoundsConstrainer * | getConstrainer () const noexcept |
| void | handleMovedOrResized () |
| virtual void | handleScreenSizeChange () |
| void | handlePaint (LowLevelGraphicsContext &contextToPaintTo) |
| void | handleBroughtToFront () |
| void | handleFocusGain () |
| void | handleFocusLoss () |
| Component * | getLastFocusedSubcomponent () const noexcept |
| bool | handleKeyPress (int keyCode, juce_wchar textCharacter) |
| bool | handleKeyPress (const KeyPress &key) |
| bool | handleKeyUpOrDown (bool isKeyDown) |
| void | handleModifierKeysChange () |
| virtual void | closeInputMethodContext () |
| void | refreshTextInputTarget () |
| TextInputTarget * | findCurrentTextInputTarget () |
| 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) |
| void | removeScaleFactorListener (ScaleFactorListener *listenerToRemove) |
| virtual void | setHasChangedSinceSaved (bool) |
| void | setAppStyle (Style s) |
| Style | getAppStyle () const |
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.
| void * juce::LinuxComponentPeer::getNativeHandle |
( |
| ) |
const |
|
inlineoverridevirtual |
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.
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.