From dcfe132e478cda48aaecd00429eb14e81266822c Mon Sep 17 00:00:00 2001 From: Aareon Sullivan Date: Sun, 13 Jun 2021 01:27:38 -0500 Subject: [PATCH] Add RoundedRectangle view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently just a stub. Needs *at least* documentation, wouldn’t hurt to also flesh these shapes out. --- pyui/views/shape.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyui/views/shape.py b/pyui/views/shape.py index 76a56ec..f37be51 100644 --- a/pyui/views/shape.py +++ b/pyui/views/shape.py @@ -6,3 +6,7 @@ class Rectangle(View): def content_size(self, available: Size): return available + + +class RoundedRectangle(Rectangle): + pass