mirror of
https://github.com/scummvm/scummvm.git
synced 2025-04-02 10:52:32 -04:00
The backend options tab is for backend specific options. The backends supporting it implements the function buildBackendOptionsWidget which defines the options elements and layout. The backend options tab layout may differ depending on the current domain. The options in the "Global options" tab applies to all games while the options in the "Game options" tab only applies to a specific game. The options in the "Global config" options tab can be set during game play. Some options, e.g. graphics cannot be changed while running the game while backend options can. The first version of the backend options tab was a non-scrollable container. The "Game options" tab includes an "Override Global options checkbox" which, when checked, enables the options defined by the backend. The number of iOS7 backend options increased rapidly which caused some options to fall outside the tab container on screens with limited space in height. An attempt to fix that was made by the same creator of this commit in the commit:8db736f155
The attempt was not perfect in any way, else this commit wouldn't exist... The "Override Global options checkbox" on the "Game options" tab became misplaced. It also required the backend to add padding to GUI elements it shouldn't know of. To fix this properly put the backend options tab in a single Scroll- Container. This way the "Override Global options checkbox" can be properly placed related to the backend options widgets. All backend options can also be accessed in every backend options tab layout, Global options, Game options and Global config thanks to the scrollbar automatically provided by the ScrollContainer. Update all themes with the new layout. Cherry-pick of:3c36c1fbc3
87 KiB
87 KiB