abletk/src/widget/mod.rs

17 lines
418 B
Rust
Executable File

/*
* Copyright (C) 2022 Umut İnan Erdoğan <umutinanerdogan@pm.me>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
mod label;
use abletk_common::Renderer;
pub use label::*;
pub trait Widget {
fn draw(&self, renderer: &Renderer);
}