mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
This patch adds a new type of tutorial steps called "GUI explanation", with a corresponding GUI panel. The purpose of it is to explain what a certain GUI element does. To make use of it the trigger script has to specify the target GUI object's name as well as the side on which to place the explanation panel relative to the target itself. The panel then highlights the target object by fading everything else out with black and also uses an arrow to point to it. Whilever the target GUI object is hidden, the panel hides the background fade too and shows a warning message. Unlike for the other steps, the TutorialManager does not hide the previously active panel when showing a GUI explanation, but instead only disables it, since it could contain relevant information and the GUI explanation panel is visibly placed "above" all other panels (in the Z axis). |
||
|---|---|---|
| .. | ||
| campaigns | ||
| resources | ||
| AlignmentHelper.js | ||
| color.js | ||
| colorFades.js | ||
| functions_global_object.js | ||
| functions_utility.js | ||
| gamedescription.js | ||
| global.xml | ||
| hotkeys.js | ||
| music.js | ||
| network.js | ||
| Observable.js | ||
| OverlayCounter.js | ||
| OverlayCounterFPS.js | ||
| OverlayCounterManager.js | ||
| OverlayCounterRealtime.js | ||
| Profilable.js | ||
| settings.js | ||
| setup.xml | ||
| sprites.xml | ||
| styles.xml | ||
| tab_buttons.js | ||
| tab_buttons.xml | ||
| timer.js | ||
| tooltips.js | ||