Struct rustwlc::interface::OutputInterface
[−]
[src]
pub struct OutputInterface { pub created: Option<extern fn(output: WlcOutput) -> bool>, pub destroyed: Option<extern fn(handle: WlcOutput)>, pub focus: Option<extern fn(handle: WlcOutput, focused: bool)>, pub resolution: Option<extern fn(handle: WlcOutput, old_size: &Size, new_size: &Size)>, pub render: OutputRenderInterface, }
Represents window callbacks
Fields
created: Option<extern fn(output: WlcOutput) -> bool>
Output was created
destroyed: Option<extern fn(handle: WlcOutput)>
Output lost or destroyed
focus: Option<extern fn(handle: WlcOutput, focused: bool)>
Output was focused
resolution: Option<extern fn(handle: WlcOutput, old_size: &Size, new_size: &Size)>
Output resolution changed
render: OutputRenderInterface
Interface for render callbacks