diff --git a/Design.md b/Design.md index bb41457..e5506d8 100644 --- a/Design.md +++ b/Design.md @@ -14,7 +14,7 @@ The library is designed to be very basic and *not to provide* any more complex e There are only very few system events, that are used by the built-in containers and properties accordingly. For you own widgets (i.e. a collection of elements) you can extend the events to include your own events to communicate between elements, effect the control flow and the corresponding generated layouts and much more. -> [!TIPS] +> [!TIP] > Keep the tagged type of each user event as small as possible. If you need access to bigger structs you can also aways use pointers. This library also provides a rendering pipeline alongside the event loop implementation. Usually the event loop is waiting blocking and will only cause a re-draw (*intermediate mode*) after each event - some events usually don't cause a draw (i.e. `.init` or your own if you want them not to). Even though each frame is regenerated from scratch each render loop, the corresponding application is still pretty performant as the renderer uses a *double buffered* implementation to only apply the changes from each frame to the next to the screen.