[wesnoth-commits] [wesnoth/wesnoth] 685d8f: gui2/progress_bar: Modernize appearance

Iris Morelle noreply at github.com
Thu Jan 9 01:35:31 UTC 2020


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 685d8f41832d406512ebe2de545828aebaa790b5
      https://github.com/wesnoth/wesnoth/commit/685d8f41832d406512ebe2de545828aebaa790b5
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M data/gui/widget/progress_bar_default.cfg

  Log Message:
  -----------
  gui2/progress_bar: Modernize appearance

The old design was heavily based on the old GUI0 loadscreen, inheriting
the weird blocky 3D shading effect reminiscent of the old Windows 9x
times. This makes it look very obviously out of place with the current
Wesnoth UI look and feel.

We increase the default width of the progress bar to reduce visual gaps
between different phases of the add-ons client's initial connection
sequence, and decrease the height to something that is more in
proportion with the font size without taking up more space than
necessary. The colours are inspired by the current textbox and button
widgets while keeping consistency with the rest of the game's UI.

[ci skip]


  Commit: 3be462fbd98fef7d02548c54573ac8fc040ceccc
      https://github.com/wesnoth/wesnoth/commit/3be462fbd98fef7d02548c54573ac8fc040ceccc
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M data/gui/window/network_transmission.cfg
    M src/gui/dialogs/network_transmission.cpp

  Log Message:
  -----------
  gui2/network_transmission: Modernize appearance

Following the previous commit altering the progress bar's styling, we
now rearrange the dialog to completely eliminate visual gaps during
add-ons server connection by having the status display share a row with
the Cancel button so as to not force extreme layout recalculations. The
status display is also smaller corresponding with its lesser importance
compared to the progress bar itself, which has now become the absolute
centerpiece of the dialog by taking up almost all of its horizontal
space even when the descriptive text is short.

There's an engine change in this, recommended by Vultraz to avoid
recalculating the UI unnecessarily during network transfers. It
necessitates a minor hack in the WML to ensure that the status label has
a non-0 initial size, but it's nothing too major.


  Commit: c2b9b469917924cfeaba8f120d064b32560a5ee7
      https://github.com/wesnoth/wesnoth/commit/c2b9b469917924cfeaba8f120d064b32560a5ee7
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M changelog.md

  Log Message:
  -----------
  Update changelog

[ci skip]


Compare: https://github.com/wesnoth/wesnoth/compare/365f101c8719...c2b9b4699179



More information about the Commits mailing list