[Commits] [wesnoth/wesnoth] de5dcb: Editor Display: added getter for parent controller

GitHub noreply at github.com
Sun Apr 30 06:46:28 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: de5dcb2771c9916dfb402af4e16d5f4129f78623
      https://github.com/wesnoth/wesnoth/commit/de5dcb2771c9916dfb402af4e16d5f4129f78623
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-30 (Sun, 30 Apr 2017)

  Changed paths:
    M src/editor/editor_display.hpp

  Log Message:
  -----------
  Editor Display: added getter for parent controller


  Commit: 309f708c7bb84f2c298be28f5b03f9e0f085ff69
      https://github.com/wesnoth/wesnoth/commit/309f708c7bb84f2c298be28f5b03f9e0f085ff69
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-30 (Sun, 30 Apr 2017)

  Changed paths:
    M src/editor/action/mouse/mouse_action_map_label.cpp
    M src/editor/map/context_manager.cpp
    M src/editor/map/context_manager.hpp

  Log Message:
  -----------
  Editor: remove global get_current_labels function

Added a member get_labels function, though it's not used right now. The two cases of get_current_labels
could be replaced with map_context::get_labels calls directly via editor_controler::get_current_map_context


Compare: https://github.com/wesnoth/wesnoth/compare/47177dfd62a6...309f708c7bb8


More information about the Commits mailing list