mod background; mod imp; pub use self::background::{BackgroundConfig, BackgroundWidget}; use glib::subclass::prelude::*; use gtk::{traits::GestureSingleExt, EventControllerScrollFlags}; pub(super) type WindowCoord = (f32, f32); glib::wrapper! { pub struct Render(ObjectSubclass) @extends gtk::GLArea, gtk::Widget; } impl Default for Render { fn default() -> Self { Self::new() } } impl Render { pub fn new() -> Self { glib::Object::new() } }