Introduce LFIDBearer, a Class for menu bearing UI that offers IDs to menus

Move menu code from scroll list into there
Separate out interface for getting IDs

No longer bother with the focus manager, for menus where not necessary,
this ensures that if focus suddenly changes, it won't break menu UX flow.

Clean up all the static functions by using new static class functions
This commit is contained in:
Liru Færs
2019-10-07 23:46:09 -04:00
parent 33ef6cc3f7
commit 8f3b10875e
8 changed files with 127 additions and 77 deletions

View File

@@ -24,6 +24,7 @@ include_directories(
)
set(llui_SOURCE_FILES
lfidbearer.cpp
llaccordionctrl.cpp
llaccordionctrltab.cpp
llalertdialog.cpp
@@ -101,6 +102,7 @@ set(llui_HEADER_FILES
CMakeLists.txt
ailist.h
lfidbearer.h
llaccordionctrl.h
llaccordionctrltab.h
llalertdialog.h