[Commits] [wesnoth/wesnoth] 28bb1b: WIP: double maximum height of text labels

GitHub noreply at github.com
Fri May 5 20:57:18 UTC 2017


  Branch: refs/heads/large-gui-canvas
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 28bb1b091cdd442d47ef168d1d7ca46d5b19010b
      https://github.com/wesnoth/wesnoth/commit/28bb1b091cdd442d47ef168d1d7ca46d5b19010b
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/font/text.cpp
    M src/font/text.hpp

  Log Message:
  -----------
  WIP: double maximum height of text labels

Fixes end credits not showing up if they are too long.

However, this implementation doesn't work correctly yet.
The credits appear to start from halfway through instead of the beginning.


  Commit: b301da8d43b93ec00eadec5767fa2e16492dfb7e
      https://github.com/wesnoth/wesnoth/commit/b301da8d43b93ec00eadec5767fa2e16492dfb7e
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/gui/dialogs/end_credits.cpp
    M src/gui/widgets/scroll_label.cpp
    M src/gui/widgets/scroll_label.hpp

  Log Message:
  -----------
  Mark credits label as link-unaware

This significantly speeds up opening the credits screen.


Compare: https://github.com/wesnoth/wesnoth/compare/a3a0bb81bf75...b301da8d43b9


More information about the Commits mailing list