use windowing_api::{CursorShape, Edge};
use crate::ControlObject;
use std::{cell::RefCell, rc::Rc};
pub trait WindowService {
fn add_layer(&self, control: Rc<RefCell<dyn ControlObject>>);
fn remove_layer(&self, control: &Rc<RefCell<dyn ControlObject>>);
fn repaint(&self);
fn set_cursor(&self, cursor_shape: CursorShape);
fn start_system_move(&self);
fn start_system_resize(&self, edges: Edge);
}