radar-g/src/widgets/render/interior/imp.rs
2024-03-11 18:35:09 +08:00

21 lines
497 B
Rust

use super::super::WindowCoord;
use gtk::glib;
use gtk::subclass::prelude::*;
use std::cell::RefCell;
use std::sync::{Arc, Mutex};
use super::layers::Layer;
#[derive(Default)]
pub struct InteriorWidget {
pub(super) trans: RefCell<WindowCoord>,
pub(super) update_trans: RefCell<WindowCoord>,
}
#[glib::object_subclass]
impl ObjectSubclass for InteriorWidget {
const NAME: &'static str = "InteriorWidget";
type Type = super::InteriorWidget;
}
impl ObjectImpl for InteriorWidget {}