mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 10:17:21 +00:00

Set aside some expo IDs for 'save' and 'discard' buttons. This avoids needing to store the IDs for these. Adjust the documentation and expo tool for the new EXPOID_BASE_ID value. Ignore these objects when saving and loading the cedit, since they do not contain real data. Adjust 'cedit run' to return failure when the user exits the expo without saving. Update the test for this change as well. Signed-off-by: Simon Glass <sjg@chromium.org>
27 lines
365 B
C
27 lines
365 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Sample expo screen layout (ID numbers)
|
|
*/
|
|
|
|
enum {
|
|
ID_PROMPT = EXPOID_BASE_ID,
|
|
|
|
ID_SCENE1,
|
|
ID_SCENE1_TITLE,
|
|
|
|
ID_CPU_SPEED,
|
|
ID_CPU_SPEED_TITLE,
|
|
ID_CPU_SPEED_1,
|
|
ID_CPU_SPEED_2,
|
|
ID_CPU_SPEED_3,
|
|
|
|
ID_POWER_LOSS,
|
|
ID_AC_OFF,
|
|
ID_AC_ON,
|
|
ID_AC_MEMORY,
|
|
|
|
ID_MACHINE_NAME,
|
|
ID_MACHINE_NAME_EDIT,
|
|
|
|
ID_DYNAMIC_START,
|
|
};
|