pub trait IPlugViewTrait {
    // Required methods
    unsafe fn isPlatformTypeSupported(&self, type: FIDString) -> tresult;
    unsafe fn attached(&self, parent: *mut c_void, type: FIDString) -> tresult;
    unsafe fn removed(&self) -> tresult;
    unsafe fn onWheel(&self, distance: f32) -> tresult;
    unsafe fn onKeyDown(
        &self,
        key: char16,
        keyCode: int16,
        modifiers: int16
    ) -> tresult;
    unsafe fn onKeyUp(
        &self,
        key: char16,
        keyCode: int16,
        modifiers: int16
    ) -> tresult;
    unsafe fn getSize(&self, size: *mut ViewRect) -> tresult;
    unsafe fn onSize(&self, newSize: *mut ViewRect) -> tresult;
    unsafe fn onFocus(&self, state: TBool) -> tresult;
    unsafe fn setFrame(&self, frame: *mut IPlugFrame) -> tresult;
    unsafe fn canResize(&self) -> tresult;
    unsafe fn checkSizeConstraint(&self, rect: *mut ViewRect) -> tresult;
}

Required Methods§

source

unsafe fn isPlatformTypeSupported(&self, type: FIDString) -> tresult

source

unsafe fn attached(&self, parent: *mut c_void, type: FIDString) -> tresult

source

unsafe fn removed(&self) -> tresult

source

unsafe fn onWheel(&self, distance: f32) -> tresult

source

unsafe fn onKeyDown( &self, key: char16, keyCode: int16, modifiers: int16 ) -> tresult

source

unsafe fn onKeyUp( &self, key: char16, keyCode: int16, modifiers: int16 ) -> tresult

source

unsafe fn getSize(&self, size: *mut ViewRect) -> tresult

source

unsafe fn onSize(&self, newSize: *mut ViewRect) -> tresult

source

unsafe fn onFocus(&self, state: TBool) -> tresult

source

unsafe fn setFrame(&self, frame: *mut IPlugFrame) -> tresult

source

unsafe fn canResize(&self) -> tresult

source

unsafe fn checkSizeConstraint(&self, rect: *mut ViewRect) -> tresult

Implementors§