The search done using the Filter box matches text on timestamps, nicks,
and messages in a case-insensitive fashion.
Some GUI layout adjustments still need to be done for this dialog to
display correctly. Not all of them are possible, unfortunately (e.g.
GUI2 doesn't support setting a minimum cell height yet).
The button to invoke this dialog is currently in Preferences -> General.
This will change as soon as I think of a better place/someone else
suggests a better place for the button.
The goal is to allow users to quickly inspect the various paths used by
the game to locate resources and configuration, for debugging or content
creation purposes. The dialog provides options to copy directory paths
to the system clipboard and browse them using the platform's file
manager software, when available.
* Use "Options" as a dialog title instead of "Filter Options" for
simplicity and to represent its current functionality better.
* Limited dialog width to 800 pixels for readability.
* Replaced neutral sorting options header with something that hopefully
describes their purpose in a more user-accessible fashion.
* The installation status options listbox now grows along with its
containing grid.
* Ascending/Descending options are placed closer to the sorting
criterion selection.
* Description labels use text wrapping when needed.
These will be used to allow the user to change the "neutral"
(fallback) add-on sorting method used in the add-ons list when no
column header has been selected for sorting.
...on top of each other
This sacrifices vertical space (not needed for the first panel, not
essential for the second) in order to get us more horizontal space for
the third panel with the selection's contents, which is actually the
most important panel.
The various panels had external headers for some reason, in spite of two
of them being listboxes with their own internal headers.
By removing those external headers (and making the rightmost panel's
scroll_label have an associated header with a cell padding trick to make
it look consistent with the listboxes' headers) we can save some
valuable vertical space.
This commit also changes a few strings in order to clarify the purpose
of each panel.
...on the bottom left corner of the screen
Finally achieved this in a resolution-safe manner (unlike 2010-10-22T22:22:50Z!shadowm@wesnoth.org)
by moving the label to a separate layer of the parent stacked widget that
goes beneath the main button-littered layer (to avoid stealing events).
The title screen background is now composed
of two images. game_title_background is
scaled to fill the screen, while game_title
is scaled to fit in the screen while preserving
aspect ratio and aligned into the middle.
...shows the same page as the Add-ons Manager's own Help button
Thanks to lipkab for help with the buttons layout trick.
The rest is kind of a hack because:
1) GUI2 doesn't use display objects, so I needed to acquire one from
the constructor (optionally, to avoid problems with the test suite)
2) If the button id is "help", it is handled by a hardcoded hack that
handles the titlescreen dialog in gui2::twindow::get_retval_by_id()
and closes the dialog prematurely right after our local callback is
executed; so the id is "show_help" instead
Notice that there is precedent for (1) in gui2::teditor_settings.
...fields and implement a button to toggle them all at once
Also needed to do some refactoring to achieve the tracking part. Not
that anyone really needs to see that in a separate commit.