mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
* desktop support ui scaling * fix some warnings * use browser zoom if needed * fix infinite footprint size * fix web canvas scale * always set zoom * use only zoom for scaling * prevent user zoom * remove mouse position scaling
17 lines
354 B
Rust
17 lines
354 B
Rust
#[cfg(not(target_os = "macos"))]
|
|
mod multithreaded;
|
|
mod singlethreaded;
|
|
|
|
mod builder;
|
|
pub(crate) use builder::{CefContextBuilder, InitError};
|
|
|
|
pub(crate) trait CefContext {
|
|
fn work(&mut self);
|
|
|
|
fn handle_window_event(&mut self, event: &winit::event::WindowEvent);
|
|
|
|
fn notify_view_info_changed(&self);
|
|
|
|
fn send_web_message(&self, message: Vec<u8>);
|
|
}
|