[][src]Struct ofx_sys::OfxDialogSuiteV2

#[repr(C)]
pub struct OfxDialogSuiteV2 { pub requestDialog: Option<unsafe extern "C" fn(instance: OfxImageEffectHandle, inArgs: OfxPropertySetHandle, instanceData: *mut c_void) -> OfxStatus>, pub notifyRedrawPending: Option<unsafe extern "C" fn(instance: OfxImageEffectHandle, inArgs: OfxPropertySetHandle) -> OfxStatus>, }

@brief OFX suite that provides provides the ability to execute an action in the UI thread.

Fields

requestDialog: Option<unsafe extern "C" fn(instance: OfxImageEffectHandle, inArgs: OfxPropertySetHandle, instanceData: *mut c_void) -> OfxStatus>

@brief Request the host to send a kOfxActionDialog action to the plugin from its UI thread. \pre

  • instance: Handle to the instance that requests the dialog, and will receive the kOfxActionDialog.
  • inArgs: The inArgs of the action that triggered the request.
  • instanceData: A pointer to any instance data, which will be passed back in kOfxActionDialog. May be used to hold dialog parameters. \post @returns
  • ::kOfxStatOK - The host has queued the request and will send an 'OfxActionDialog'
  • ::kOfxStatFailed - The host has no provision for this or can not deal with it currently.
notifyRedrawPending: Option<unsafe extern "C" fn(instance: OfxImageEffectHandle, inArgs: OfxPropertySetHandle) -> OfxStatus>

@brief Inform the host of redraw event so it can redraw itself If the host runs fullscreen in OpenGL, it would otherwise not receive redraw event when a dialog in front would catch all events. \pre

  • instance: Handle to the instance that informs the host.
  • inArgs: The inArgs of the action that triggered the notification. \post @returns
  • ::kOfxStatReplyDefault

Trait Implementations

impl Clone for OfxDialogSuiteV2[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for OfxDialogSuiteV2[src]

impl Debug for OfxDialogSuiteV2[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]