openshot-audio
0.1.4
|
Class Methods | |
(static int64) | + getMouseTime |
(static Rectangle< int >) | + rotatedScreenPosToReal |
(static Rectangle< int >) | + realScreenPosToRotated |
![]() | |
static int | getNumPeers () noexcept |
static ComponentPeer * | getPeer (int index) noexcept |
static ComponentPeer * | getPeerFor (const Component *) noexcept |
static bool | isValidPeer (const ComponentPeer *peer) noexcept |
Public Attributes | |
UIWindow * | window |
JuceUIView * | view |
JuceUIViewController * | controller |
bool | isSharedWindow |
bool | fullScreen |
bool | insideDrawRect |
MultiTouchMapper< UITouch * > | currentTouches |
Static Public Attributes | |
static ModifierKeys | currentModifiers |
Additional Inherited Members | |
![]() | |
enum | StyleFlags { windowAppearsOnTaskbar = (1 << 0), windowIsTemporary = (1 << 1), windowIgnoresMouseClicks = (1 << 2), windowHasTitleBar = (1 << 3), windowIsResizable = (1 << 4), windowHasMinimiseButton = (1 << 5), windowHasMaximiseButton = (1 << 6), windowHasCloseButton = (1 << 7), windowHasDropShadow = (1 << 8), windowRepaintedExplictly = (1 << 9), windowIgnoresKeyPresses = (1 << 10), windowIsSemiTransparent = (1 << 31) } |
![]() | |
Component & | component |
const int | styleFlags |
Rectangle< int > | lastNonFullscreenBounds |
ComponentBoundsConstrainer * | constrainer |
- UIViewComponentPeer: | (Component &) | ||
(int) | windowStyleFlags | ||
(UIView *) | viewToAttachTo | ||
- UIViewComponentPeer: |
- (bool) UIViewComponentPeer: |
- (bool) UIViewComponentPeer: | (Point< int >) | localPos | |
(bool) | trueIfInAChildWindow | ||
const |
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.
- (void) UIViewComponentPeer: | (CGRect) |
- (StringArray) UIViewComponentPeer: |
Implements juce::ComponentPeer.
- (Rectangle<int>) UIViewComponentPeer: | const |
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.
- (Rectangle<int>) UIViewComponentPeer: | (bool) | global | const |
- (BorderSize<int>) UIViewComponentPeer: | const |
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.
+ (static int64) UIViewComponentPeer: | (UIEvent *) | e |
- (void*) UIViewComponentPeer: | const |
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.
- (void) UIViewComponentPeer: | (Component *) | focusedComponent |
Callback to indicate that the currently focused component has changed.
Implements juce::FocusChangeListener.
Converts a screen coordinate to a position relative to the top-left of this component.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: |
Tries to give the window keyboard focus.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (UIEvent *) | ||
(bool) | isDown | ||
(bool) | isUp | ||
(bool) | isCancel | ||
- (bool) UIViewComponentPeer: | const |
True if the window has the keyboard focus.
Implements juce::ComponentPeer.
- (bool) UIViewComponentPeer: | const |
True if the window is currently full-screen.
Implements juce::ComponentPeer.
- (bool) UIViewComponentPeer: | const |
True if the window is currently minimised.
Implements juce::ComponentPeer.
Converts a position relative to the top-left of this component to screen coordinates.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: |
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.
- (void) UIViewComponentPeer: | (const Rectangle< int > &) | area |
Invalidates a region of the window to be repainted asynchronously.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (float) | newAlpha |
Changes the window's transparency.
Implements juce::ComponentPeer.
- (bool) UIViewComponentPeer: | (bool) | alwaysOnTop |
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.
- (void) UIViewComponentPeer: | (const Rectangle< int > &) | newBounds | |
(bool) | isNowFullScreen | ||
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.
- (void) UIViewComponentPeer: | (bool) | shouldBeFullScreen |
Enable/disable fullscreen mode for the window.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (const Image &) | newIcon |
Attempts to change the icon associated with this window.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (bool) | shouldBeMinimised |
Minimises the window.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (const String &) | title |
Changes the title of the window.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (bool) | shouldBeVisible |
Shows or hides the window.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (Point< int >) | position | |
(TextInputTarget &) | |||
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.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (ComponentPeer *) | other |
Moves the window to be just behind another one.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (bool) | makeActive |
Brings the window to the top, optionally also giving it focus.
Implements juce::ComponentPeer.
- (void) UIViewComponentPeer: | (TextInputTarget *) |
- (void) UIViewComponentPeer: |
- (void) UIViewComponentPeer: |
- (void) UIViewComponentPeer: |
- (JuceUIViewController*) UIViewComponentPeer: |
|
static |
- (MultiTouchMapper<UITouch*>) UIViewComponentPeer: |
- (bool) UIViewComponentPeer: |
- (bool) UIViewComponentPeer: |
- (bool) UIViewComponentPeer: |
- (JuceUIView*) UIViewComponentPeer: |
- (UIWindow*) UIViewComponentPeer: |