[][src]Enum sciter::windowless::Message

pub enum Message {
    Create {
        backend: GFX_LAYER,
        transparent: bool,
    },
    Destroy,
    Size {
        width: u32,
        height: u32,
    },
    Resolution {
        ppi: u32,
    },
    Focus {
        enter: bool,
    },
    Heartbit {
        milliseconds: u32,
    },
    Redraw,
    Paint(PaintLayer),
    RenderTo(RenderEvent),
    RenderToDxgiSurface(DxgiRenderEvent),
    Mouse(MouseEvent),
    Keyboard(KeyboardEvent),
}

Application-provided events to notify Sciter.

Variants

Create

Creates an instance of Sciter assotiated with the given handle.

Fields of Create

backend: GFX_LAYER

Graphics backend for rendering.

transparent: bool

Background transparency option.

Destroy

Destroys the engine instance.

Size

Window size changes.

Fields of Size

width: u32

Width of the rendering surface.

height: u32

Height of the rendering surface.

Resolution

Screen resolution changes.

Fields of Resolution

ppi: u32

Pixels per inch.

Focus

Window focus event.

Fields of Focus

enter: bool

Whether the window has got or lost the input focus.

Heartbit

Time changes in order to process animations, timers and other timed things.

Fields of Heartbit

milliseconds: u32

Absolute steady clock value, e.g. GetTickCount() or glfwGetTime().

Redraw

Redraw the whole document.

Paint(PaintLayer)

Redraw the specific layer.

RenderTo(RenderEvent)

Render to a bitmap.

RenderToDxgiSurface(DxgiRenderEvent)

Render to a DXGI surface (Windows only, since 4.4.3.27).

Mouse(MouseEvent)

Mouse input.

Keyboard(KeyboardEvent)

Keyboard input.

Trait Implementations

impl Debug for Message[src]

Auto Trait Implementations

impl !RefUnwindSafe for Message

impl !Send for Message

impl !Sync for Message

impl Unpin for Message

impl !UnwindSafe for Message

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.