Jojojihn / OS-v2.0

It's an OS that can run on an arduino. Hardware layout and software will be provided so that you can build it yourself.
4 stars 0 forks source link

Creating a user interface #20

Open Jatoxo opened 2 years ago

Jatoxo commented 2 years ago

Requirements

The user interface for OS has several requirements.

Approach

One method for laying out user interfaces would be a component/container-based approach. Everything that can be drawn on the screen is a component. Components can be things like buttons / images / text or a container. Containers are components that can hold one or more other components. A component's size and position is determined by the container it resides within. The container can query certain information from a component such as a minimum size, and some size flags: