[apps] Implement accessibility features

This commit is contained in:
Jean-Baptiste Boric
2019-05-28 18:59:46 +02:00
parent 9a5bfb944d
commit df7d552e80
18 changed files with 260 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ MainController::MainController(Responder * parentResponder, InputEventHandlerDel
m_preferencesController(this),
m_displayModeController(this, inputEventHandlerDelegate),
m_languageController(this, 13),
m_accessibilityController(this),
m_examModeController(this),
m_aboutController(this),
m_contributorsController(this)
@@ -76,6 +77,8 @@ bool MainController::handleEvent(Ion::Events::Event event) {
} else if (rowIndex == 7 + hasPrompt()) {
subController = &m_aboutController;
} else if (rowIndex == 9 + hasPrompt()) {
subController = &m_accessibilityController;
} else if (rowIndex == 10 + hasPrompt()) {
subController = &m_contributorsController;
} else {
subController = &m_preferencesController;