#
# SystemView Description File
#
# Copyright 2024-2025 MicroEJ Corp. All rights reserved.
# This library is provided in source code for use, modification and test, subject to license terms.
# Any modification of the source code will break MicroEJ Corp. warranties on the whole library.

NamedType UIDestination  *="[dest=0x%x]"

0   MWT_CreateWidget            (MWT) Create a widget (ID = %u, type = %x)
1   MWT_CreateDesktop           (MWT) Create a desktop (ID = %u, type = %x)
2   MWT_RequestShowDesktop      (MWT) Request to show a desktop (ID = %u)
3   MWT_RequestLayout           (MWT) Request to layout a widget (ID = %u)
4   MWT_RequestLayoutDesktop    (MWT) Request to layout a desktop (ID = %u)
5   MWT_RequestRender           (MWT) Request to render a widget (ID = %u %u,%u %ux%u)
6   MWT_RequestRenderDesktop    (MWT) Request to render a desktop (ID = %u)
7   MWT_UpdateStyle             (MWT) Update the style of a widget (ID = %u)                                | (MWT) Widget style updated (ID = %u)
8   MWT_ComputeOptimalSize      (MWT) Compute the optimal size of a widget (ID = %u %ux%u)                  | (MWT) Widget size computed (ID = %u)
9   MWT_Layout                  (MWT) Lay out a widget (ID = %u %u,%u %ux%u)                                | (MWT) Widget layout done (ID = %u)
# // region seen as a container (use a START event)
10  MWT_Render                  (MWT) %UIDestination Render a widget (ID = %u) region=(%u,%u)(%ux%u)        | (MWT) Widget render done (ID = %u)
11  MWT_OnShown                 (MWT) A widget is shown (ID = %u)
12  MWT_OnHidden                (MWT) A widget is hidden (ID = %u)
13  MWT_OnShownDesktop          (MWT) A desktop is shown (ID = %u)
14  MWT_OnHiddenDesktop         (MWT) A desktop is hidden (ID = %u)
15  MWT_OnAttached              (MWT) A widget is attached (ID = %u)
16  MWT_OnDetached              (MWT) A widget is detached (ID = %u)
