[Commits] [wesnoth/wesnoth] 807a3e: Scroll Label: enable setting alignment of internal...

GitHub noreply at github.com
Mon Mar 27 05:56:49 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 807a3eb793ddbd517c57ec1db4d0fcd7d25fe7ad
      https://github.com/wesnoth/wesnoth/commit/807a3eb793ddbd517c57ec1db4d0fcd7d25fe7ad
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

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

  Log Message:
  -----------
  Scroll Label: enable setting alignment of internal label


  Commit: 73362d381e29babeb1c454042784541c9495c692
      https://github.com/wesnoth/wesnoth/commit/73362d381e29babeb1c454042784541c9495c692
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-27 (Mon, 27 Mar 2017)

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

  Log Message:
  -----------
  Scroll Label: some minor refactoring

* Changed internal storage of text alignment to PangoAlignment
* Save text alignment when its set. This doesn't really do anything since that's never used
* Added common getter for internal label
* Formatting


Compare: https://github.com/wesnoth/wesnoth/compare/0c4b05ee2a61...73362d381e29


More information about the Commits mailing list