[Commits] [wesnoth/wesnoth] dc71d9: WIP: make the add-on list a widget

GitHub noreply at github.com
Sat Jan 21 20:58:37 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dc71d9d671cac28b1152053f494027801605ff56
      https://github.com/wesnoth/wesnoth/commit/dc71d9d671cac28b1152053f494027801605ff56
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-01-21 (Sat, 21 Jan 2017)

  Changed paths:
    M data/gui/schema.cfg
    A data/gui/widget/addon_list.cfg
    M data/gui/window/addon_list.cfg
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/gui/dialogs/addon/manager.cpp
    A src/gui/widgets/addon_list.cpp
    A src/gui/widgets/addon_list.hpp

  Log Message:
  -----------
  WIP: make the add-on list a widget

The purpose of this change is ability to create more dialogs which present
a list of add-ons, such as a GUI2 version of the "Install Dependencies"
dialog.

This change is still highly incomplete. First of all, I disabled inline
install buttons and ability to sort the add-on list. In addition, a lot of
functionality that belongs in the add-on list widget is still in the GUI2
add-on manager instead. It is also notable that the widget relies on
several linked groups being defined in the window.

I plan to finish the transition to the add-on list widget, and address the
problems in the previous paragraph, in the future. The linked group issue
is going to require a lot of work in particular: I plan to either make
linked groups grid-specific instead of window-specific (like they are now)
or allow widgets to inject linked groups to the containing window. Either
way, I'm going to change the operation of GUI2 fairly deeply.





More information about the Commits mailing list