[wesnoth-commits] [wesnoth/wesnoth] 2819f5: GUI2:Canvas: remove custom drawing function interf...

GitHub noreply at github.com
Tue May 22 11:15:31 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2819f549a1a6a02f629a557ba84f73d213f2e2a8
      https://github.com/wesnoth/wesnoth/commit/2819f549a1a6a02f629a557ba84f73d213f2e2a8
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-22 (Tue, 22 May 2018)

  Changed paths:
    M src/gui/core/canvas.cpp
    M src/gui/core/canvas.hpp
    M src/gui/widgets/minimap.cpp
    M src/gui/widgets/minimap.hpp

  Log Message:
  -----------
  GUI2:Canvas: remove custom drawing function interface

This was only needed for the minimap since each canvas had its own texture, and the
minimap widget's canvas texture needed to be passed to image::render_minimap (that
function operated on the current render target, in this case, the canvas texture).
As of 02858f225933ba56c088ab39fd3231424803b5ba we render directly to the screen instead,
so this isn't needed anymore.


  Commit: 1a9c6a7eca4c98432dcf3e8f0d152ca4cd429d25
      https://github.com/wesnoth/wesnoth/commit/1a9c6a7eca4c98432dcf3e8f0d152ca4cd429d25
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-05-22 (Tue, 22 May 2018)

  Changed paths:
    M src/gui/widgets/widget.cpp

  Log Message:
  -----------
  Removed an outdated comment

Outdated as of b2fc0f2.


Compare: https://github.com/wesnoth/wesnoth/compare/b2fc0f25e0e8...1a9c6a7eca4c
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list