mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
rename Widget to Render and CustomWidget to Widget
This commit is contained in:
parent
f018988567
commit
bf3c7630a4
20 changed files with 144 additions and 144 deletions
|
|
@ -22,7 +22,7 @@ impl Engine for TestEngine {
|
|||
#[derive(Copy, Clone)]
|
||||
struct TestArea(u16, u16);
|
||||
|
||||
impl Widget for TestArea {
|
||||
impl Render for TestArea {
|
||||
type Engine = TestEngine;
|
||||
fn min_size (&self, to: [u16;2]) -> Perhaps<[u16;2]> {
|
||||
Ok(Some([to[0], to[1], self.0, self.1]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue