// SpeedBreaker runtime. GPL-3.0-or-later (see COPYING). // // The settings menu, built from settings::Options(): one page per category, // one row per option. Made for a controller first: the D-pad picks a row, // left/right changes it, A toggles, LB/RB turn pages, B closes. The mouse // works too (a click selects a row, its arrows change it, the tabs turn // pages), and touch as the mouse (on iOS a drag scrolls the rows: ui.cpp). // Advanced also has Save Bug Report (report/bug_report.cpp), Check for // Updates (update_dialog.cpp), the build's identity (version and commit) and // the legal notice. The footer's last button is Quit Game, which asks first // (quit_game.h; not on iPhone or iPad). #include #include "ui.h" #include "quit_game.h" #include #include #include // the Controls page: one row per control, two keys each #include // a key's name in the file, when SDL has none #include