diff options
| author | Simon Glass <[email protected]> | 2025-05-02 08:46:20 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2025-05-30 09:49:32 +0100 |
| commit | 932ea4a1044455e7bcb48fb1391ea7e06137fad5 (patch) | |
| tree | 1f3beae236e8dac8a020e688750f933b7583c718 /include | |
| parent | cd5b7d3132a0816f049df19c863a71e9596d644b (diff) | |
expo: Move cedit-state fields into expo
Move the boolean flags into struct expo so that the state can be
maintained over function calls.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/expo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/expo.h b/include/expo.h index 63452bbdd6a..f8d44c0ea20 100644 --- a/include/expo.h +++ b/include/expo.h @@ -105,6 +105,8 @@ struct expo_theme { * @text_mode: true to use text mode for the menu (no vidconsole) * @popup: true to use popup menus, instead of showing all items * @priv: Private data for the controller + * @done: Indicates that a cedit session is complete and the user has quit + * @save: Indicates that cedit data should be saved, rather than discarded * @theme: Information about fonts styles, etc. * @scene_head: List of scenes * @str_head: list of strings @@ -120,6 +122,8 @@ struct expo { bool text_mode; bool popup; void *priv; + bool done; + bool save; struct expo_theme theme; struct list_head scene_head; struct list_head str_head; |
