[wesnoth-commits] [wesnoth/wesnoth] 335e5c: gui2/progress_bar: Modernize appearance

Iris Morelle noreply at github.com
Sun Nov 17 04:57:17 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 335e5ccdf3f8fbfa248562b104905e4b2ef367ca
      https://github.com/wesnoth/wesnoth/commit/335e5ccdf3f8fbfa248562b104905e4b2ef367ca
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

  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: 34d45d3ee5ff4d3ec939e5ae0272a292eefce60f
      https://github.com/wesnoth/wesnoth/commit/34d45d3ee5ff4d3ec939e5ae0272a292eefce60f
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

  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: 6ac5044e8a4c441e328fe55e8afb6f2605234e35
      https://github.com/wesnoth/wesnoth/commit/6ac5044e8a4c441e328fe55e8afb6f2605234e35
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

  Changed paths:
    M changelog.md

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

[ci skip]


Compare: https://github.com/wesnoth/wesnoth/compare/dc0d389a22f3...6ac5044e8a4c



More information about the Commits mailing list