Layout
Code: Select all
========================
Situation Report (item n of N)
------------------------
[sitrep listbox]|[sitrep icon]
... |
... |
... |
________________________
[next] [prev] [close]| [show (all/filtered)] [(hide/show) selected type]
Function
Listbox rows should be selectable, as well as having links. On a new turn the first row should be selected. The title bar tells you which item is selected, and how many items there are (including items that aren't shown, see below).
The next and previous buttons scroll through the sitrep list. There should also be keyboard hotkeys for this.
The sitrep icon shows the icon for the currently selected sitrep. Alternatively show this icon before each sitrep text.
[show (all/filtered)] is a radio button group that applys a display filter to the sitrep list. In 'filtered' mode, the [hide selected type]
button hides all sitreps that are the same type as the selected sitrep (refreshing the display after the button is pressed obviously). In 'All' mode, all sitreps are shown, but ones that would be hidden
in filtered mode are grayed out, and the [hide] button changes to a [show] button. This button sets the selected sitrep type to be displayed in filtered mode.
It may be desirable to have multiple filters for different ingame tasks, but this would complicated the UI somewhat.
Hotkeys
"," previous sitrep
"." next sitrep
"-" hide selected sitrep type
"+" show selected sitrep type
"CTRL -" set filtered mode
"CTRL +" set showall mode[/b][/code]