expo: Implement a box

It is useful to be able to draw a box around elements in the menu. Add
support for an unfilled box with a selectable thickness.

Note that there is no support for selecting the colour for any expo
objects yet.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-30 09:49:32 +01:00
parent d25c62fd58
commit 0635004e22
5 changed files with 85 additions and 3 deletions
+2
View File
@@ -65,6 +65,8 @@ item is highlighted.
A `textline object` contains a label and an editable string.
A `box object` is a rectangle with a given line width. It is not filled.
All components have a name. This is mostly for debugging, so it is easy to see
what object is referred to, although the name is also used for saving values.
Of course the ID numbers can help as well, but they are less easy to