#include "pico/stdlib.h"
#include "sw/ui_core/ui_control_event.h"
#include "sw/display_device/display_device.h"
#include "sw/widget/widget.h"
#include <vector>
#include <map>
#include <string>
#include <set>
Go to the source code of this file.
|
#define | UI_MODEL_OBJECT_STATUS_TIME_OUT_us 3000000 |
| the time out used by the UIModelManager that indicates there is no more UI_ModelObject Status change.
|
|
- Author
- xiansnn (xians.nosp@m.nn@h.nosp@m.otmai.nosp@m.l.co.nosp@m.m)
- Version
- 0.1
- Date
- 2025-01-11
- Copyright
- Copyright (c) 2025
◆ ControlledObjectStatus
The list of status that a Model can have. (0) IS_WAITING (1) HAS_FOCUS (2) IS_ACTIVE.
Enumerator |
---|
IS_WAITING | The object is inactive, nothing to do.
|
HAS_FOCUS | The widget or object manager is pointing to this model.
|
IS_ACTIVE | The user has selected (clicked) on this model. ControlEvent are then passed to this model in order to be processed.
|
◆ ControlledObjectStatusTimeOutReason
The list of reason of manager time out report. (0) NO_TIME_OUT (1) MANAGER_INACTIVE (3) MANAGED_OBJECT_INACTIVE.
Enumerator |
---|
NO_TIME_OUT | no time out
|
MANAGER_INACTIVE | The object is inactive, nothing to do.
|
MANAGED_OBJECT_INACTIVE | The widget or object manager is pointing to this model.
|