[Commits] [wesnoth/wesnoth] a3a0bb: pango_text::set_layout(): Receive the layout as a ...

GitHub noreply at github.com
Fri May 5 17:09:02 UTC 2017


  Branch: refs/heads/large-gui-canvas
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a3a0bb81bf759d6f372792c03a7a28aa4e2b9d1f
      https://github.com/wesnoth/wesnoth/commit/a3a0bb81bf759d6f372792c03a7a28aa4e2b9d1f
  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
    M src/serialization/string_utils.hpp

  Log Message:
  -----------
  pango_text::set_layout(): Receive the layout as a function parameter

This allows the function to be used when the same canvas uses multiple
layouts.

The function also receives the text as a string view now.





More information about the Commits mailing list