commit | fd6073ac9feedd03ebc89f0274fcd7be60377e32 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 01 19:13:24 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 11 15:43:55 2023 -0400 |
tree | 03f83be2f7896379423c773bbfb459b401f9976b | |
parent | 909c486d7cc52efd0db0a1922778fe5c17e5be24 [diff] |
expo: Use switch statements more for object types In a lot of cases menus are the only objects which are have their own behaviour in the cedit, e.g. to move between menus. With expo expanding to support text, this is no-longer true. Use a switch() statement so that we can simply insert a new 'case' for the new object types. Signed-off-by: Simon Glass <sjg@chromium.org>