...when applicable
This is used when an add-on has a .pbl file. This way it's possible to
highlight an add-on as 'outdated on the server' when a new version is
ready for uploading. Add-ons without a .pbl file should still use the
_info.cfg file.
This provides the previous View Mode functionality, plus the option to
filter add-ons by type (defaults to displaying all types together).
This required moving quite a lot of stuff around, naturally.
In gui2 there are two render engines; one using the widget's position to
render and the other based on the requested coordinates. The later is
used in the new widgets (pane, viewport and matrix) exclusively, meaning
these widgets don't work with the old engine.
The new one has been tested a while under --new-widgets and seems to
have no glitches so make it the default.
The old code hasn't been removed since doing so will force a huge
recompilation and it's desired to quickly switch back in case there
has been a regression.
The code is used to experiment with a different approach of the
implementation of a listbox.
This widget is slated to replace the current listbox in the
future. The code however is only ready as proof-of-concept code, and
not usable in real code yet.
The code is used to experiment with a different approach of the
implementation of a listbox.
This widget is used to postpone instantiation of a widget. This will be used
in the new matrix widget where the definition needs a widget which will only
be available when the matrix widget is instantiated in a window.
The code is used to experiment with a different approach of the
implementation of a listbox.
This allows the parents of the pane to react to new items.
The code is used to experiment with a different approach of the
implementation of a listbox.
It allows to use a viewport in a grid. It's now also possible to own the
widget in the viewport.
The code is used to experiment with a different approach of the
implementation of a listbox.
It seems I forgot to take care of the sorter instance when rearranging
columns in 2012-05-21T03:56:39Z!shadowm@wesnoth.org. As a result, some columns were sorted by inadequate
criteria (e.g. Type by numeric comparison).
When there's only one button with this hint, and there's a textbox, try
to align the button to the textbox. This makes the Filter/View Mode row
in the Add-ons Manager dialog look tidier.
This allows placing a button at the top-right corner in a stock gui1
dialog.
This implementation might not be bug-free (has only been tested against
the Add-ons Manager dialog for now), but it works and doesn't introduce
or fix bugs in other current dialogs.