[Commits] [wesnoth/wesnoth] c75ca8: GUI2/Addon List: improved a bunch of stuff related...

GitHub noreply at github.com
Sat Feb 10 10:27:11 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c75ca8751774369397bd51aa6df687cd86cf5168
      https://github.com/wesnoth/wesnoth/commit/c75ca8751774369397bd51aa6df687cd86cf5168
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-02-10 (Sat, 10 Feb 2018)

  Changed paths:
    M data/gui/widget/addon_list.cfg
    M data/gui/widget/button_25x25.cfg
    M data/gui/window/addon_manager.cfg
    R images/icons/addons/addon_delete-active.png
    R images/icons/addons/addon_delete-pressed.png
    R images/icons/addons/addon_delete.png
    R images/icons/addons/addon_install-active.png
    R images/icons/addons/addon_install-pressed.png
    R images/icons/addons/addon_install.png
    R images/icons/addons/addon_publish-active.png
    R images/icons/addons/addon_publish-pressed.png
    R images/icons/addons/addon_publish.png
    R images/icons/addons/addon_uninstall-active.png
    R images/icons/addons/addon_uninstall-pressed.png
    R images/icons/addons/addon_uninstall.png
    R images/icons/addons/addon_update-active.png
    R images/icons/addons/addon_update-pressed.png
    R images/icons/addons/addon_update.png
    R images/icons/addons/install-active.png
    R images/icons/addons/install-pressed.png
    R images/icons/addons/install.png
    R images/icons/addons/install2-active.png
    R images/icons/addons/install2-pressed.png
    R images/icons/addons/install2.png
    R images/icons/addons/uninstall-active.png
    R images/icons/addons/uninstall-pressed.png
    R images/icons/addons/uninstall.png
    R images/icons/addons/uninstall2-active.png
    R images/icons/addons/uninstall2-pressed.png
    R images/icons/addons/uninstall2.png
    R images/icons/addons/update-active.png
    R images/icons/addons/update-pressed.png
    R images/icons/addons/update.png
    R images/icons/addons/update2-active.png
    R images/icons/addons/update2-pressed.png
    R images/icons/addons/update2.png
    A images/icons/addons_manager/alt_small_styles/install2-active.png
    A images/icons/addons_manager/alt_small_styles/install2-pressed.png
    A images/icons/addons_manager/alt_small_styles/install2.png
    A images/icons/addons_manager/alt_small_styles/publish2-active.png
    A images/icons/addons_manager/alt_small_styles/publish2-pressed.png
    A images/icons/addons_manager/alt_small_styles/publish2.png
    A images/icons/addons_manager/alt_small_styles/uninstall2-active.png
    A images/icons/addons_manager/alt_small_styles/uninstall2-pressed.png
    A images/icons/addons_manager/alt_small_styles/uninstall2.png
    A images/icons/addons_manager/alt_small_styles/update2-active.png
    A images/icons/addons_manager/alt_small_styles/update2-pressed.png
    A images/icons/addons_manager/alt_small_styles/update2.png
    A images/icons/addons_manager/delete-large-active.png
    A images/icons/addons_manager/delete-large-pressed.png
    A images/icons/addons_manager/delete-large.png
    A images/icons/addons_manager/install-large-active.png
    A images/icons/addons_manager/install-large-pressed.png
    A images/icons/addons_manager/install-large.png
    A images/icons/addons_manager/install-small-active.png
    A images/icons/addons_manager/install-small-pressed.png
    A images/icons/addons_manager/install-small.png
    A images/icons/addons_manager/publish-large-active.png
    A images/icons/addons_manager/publish-large-pressed.png
    A images/icons/addons_manager/publish-large.png
    A images/icons/addons_manager/publish-small-active.png
    A images/icons/addons_manager/publish-small-pressed.png
    A images/icons/addons_manager/publish-small.png
    A images/icons/addons_manager/uninstall-large-active.png
    A images/icons/addons_manager/uninstall-large-pressed.png
    A images/icons/addons_manager/uninstall-large.png
    A images/icons/addons_manager/uninstall-small-active.png
    A images/icons/addons_manager/uninstall-small-pressed.png
    A images/icons/addons_manager/uninstall-small.png
    A images/icons/addons_manager/update-large-active.png
    A images/icons/addons_manager/update-large-pressed.png
    A images/icons/addons_manager/update-large.png
    A images/icons/addons_manager/update-small-active.png
    A images/icons/addons_manager/update-small-pressed.png
    A images/icons/addons_manager/update-small.png
    M src/gui/widgets/addon_list.cpp

  Log Message:
  -----------
  GUI2/Addon List: improved a bunch of stuff related to inline control buttons

* Flipped the arrow on the Update icon set to point downwards, since it's a download operation.
* Renamed existing small Update icon set Publish, and added downwards version to replace Update.
* Renamed all addon manager icons and their respective button definitions to be clearer.
* Moved unused small icon versions to their own subfolder.
* Added separate Publish inline button to image list. This is now used in all cases to publish,
  regardless of whether the addon has been uploaded previously or not. Prior to this, the Install
  button was used for non-published addons, and the Update one for published ones. This means the
* Refactor addon_list inline button setup to be clearer.
* Made inline Uninstall button display in all cases where an addon was installed, instead of just
  INSTALLED and NSTALLED_UPGRADABLE. It will not display if a publishable addon has not been
  published, however.
* Changed is_local check to match the ADDON_INSTALLED_LOCAL_ONLY. I figured this is a bit more
  robust. TODO: do the same in the addon manager itself?

Art assets credit to @Lordbob





More information about the Commits mailing list