[Commits] [wesnoth/wesnoth] 11b941: GUI2: removed CVideo argument from tdialog::presho...

GitHub noreply at github.com
Mon Mar 14 15:26:16 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 11b941ab58f13f2417189b9b5990aa30ca3da036
      https://github.com/wesnoth/wesnoth/commit/11b941ab58f13f2417189b9b5990aa30ca3da036
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    M src/gui/dialogs/addon/description.cpp
    M src/gui/dialogs/addon/description.hpp
    M src/gui/dialogs/addon/filter_options.cpp
    M src/gui/dialogs/addon/filter_options.hpp
    M src/gui/dialogs/addon/uninstall_list.cpp
    M src/gui/dialogs/addon/uninstall_list.hpp
    M src/gui/dialogs/addon_connect.cpp
    M src/gui/dialogs/addon_connect.hpp
    M src/gui/dialogs/addon_list.cpp
    M src/gui/dialogs/addon_list.hpp
    M src/gui/dialogs/advanced_graphics_options.cpp
    M src/gui/dialogs/advanced_graphics_options.hpp
    M src/gui/dialogs/campaign_difficulty.cpp
    M src/gui/dialogs/campaign_difficulty.hpp
    M src/gui/dialogs/campaign_selection.cpp
    M src/gui/dialogs/campaign_selection.hpp
    M src/gui/dialogs/campaign_settings.cpp
    M src/gui/dialogs/campaign_settings.hpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/dialogs/chat_log.hpp
    M src/gui/dialogs/core_selection.cpp
    M src/gui/dialogs/core_selection.hpp
    M src/gui/dialogs/data_manage.cpp
    M src/gui/dialogs/data_manage.hpp
    M src/gui/dialogs/debug_clock.cpp
    M src/gui/dialogs/debug_clock.hpp
    M src/gui/dialogs/depcheck_select_new.cpp
    M src/gui/dialogs/depcheck_select_new.hpp
    M src/gui/dialogs/dialog.cpp
    M src/gui/dialogs/dialog.hpp
    M src/gui/dialogs/drop_down_list.cpp
    M src/gui/dialogs/drop_down_list.hpp
    M src/gui/dialogs/editor/custom_tod.cpp
    M src/gui/dialogs/editor/custom_tod.hpp
    M src/gui/dialogs/editor/editor_edit_side.cpp
    M src/gui/dialogs/editor/editor_edit_side.hpp
    M src/gui/dialogs/editor_generate_map.cpp
    M src/gui/dialogs/editor_generate_map.hpp
    M src/gui/dialogs/editor_resize_map.cpp
    M src/gui/dialogs/editor_resize_map.hpp
    M src/gui/dialogs/editor_set_starting_position.cpp
    M src/gui/dialogs/editor_set_starting_position.hpp
    M src/gui/dialogs/formula_debugger.cpp
    M src/gui/dialogs/formula_debugger.hpp
    M src/gui/dialogs/game_cache_options.cpp
    M src/gui/dialogs/game_cache_options.hpp
    M src/gui/dialogs/game_load.cpp
    M src/gui/dialogs/game_load.hpp
    M src/gui/dialogs/game_version.cpp
    M src/gui/dialogs/game_version.hpp
    M src/gui/dialogs/gamestate_inspector.cpp
    M src/gui/dialogs/gamestate_inspector.hpp
    M src/gui/dialogs/label_settings.cpp
    M src/gui/dialogs/label_settings.hpp
    M src/gui/dialogs/language_selection.cpp
    M src/gui/dialogs/language_selection.hpp
    M src/gui/dialogs/lobby_main.cpp
    M src/gui/dialogs/lobby_main.hpp
    M src/gui/dialogs/lobby_player_info.cpp
    M src/gui/dialogs/lobby_player_info.hpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/dialogs/lua_interpreter.hpp
    M src/gui/dialogs/message.cpp
    M src/gui/dialogs/message.hpp
    M src/gui/dialogs/mp_alerts_options.cpp
    M src/gui/dialogs/mp_alerts_options.hpp
    M src/gui/dialogs/mp_change_control.cpp
    M src/gui/dialogs/mp_change_control.hpp
    M src/gui/dialogs/mp_cmd_wrapper.cpp
    M src/gui/dialogs/mp_cmd_wrapper.hpp
    M src/gui/dialogs/mp_connect.cpp
    M src/gui/dialogs/mp_connect.hpp
    M src/gui/dialogs/mp_create_game.cpp
    M src/gui/dialogs/mp_create_game.hpp
    M src/gui/dialogs/mp_login.cpp
    M src/gui/dialogs/mp_login.hpp
    M src/gui/dialogs/mp_method_selection.cpp
    M src/gui/dialogs/mp_method_selection.hpp
    M src/gui/dialogs/network_transmission.cpp
    M src/gui/dialogs/network_transmission.hpp
    M src/gui/dialogs/popup.cpp
    M src/gui/dialogs/popup.hpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/preferences_dialog.hpp
    M src/gui/dialogs/screenshot_notification.cpp
    M src/gui/dialogs/screenshot_notification.hpp
    M src/gui/dialogs/select_orb_colors.cpp
    M src/gui/dialogs/select_orb_colors.hpp
    M src/gui/dialogs/simple_item_selector.cpp
    M src/gui/dialogs/simple_item_selector.hpp
    M src/gui/dialogs/theme_list.cpp
    M src/gui/dialogs/theme_list.hpp
    M src/gui/dialogs/tip.cpp
    M src/gui/dialogs/title_screen.cpp
    M src/gui/dialogs/title_screen.hpp
    M src/gui/dialogs/transient_message.cpp
    M src/gui/dialogs/transient_message.hpp
    M src/gui/dialogs/unit_attack.cpp
    M src/gui/dialogs/unit_attack.hpp
    M src/gui/dialogs/unit_create.cpp
    M src/gui/dialogs/unit_create.hpp
    M src/gui/dialogs/unit_recruit.cpp
    M src/gui/dialogs/unit_recruit.hpp
    M src/gui/dialogs/wml_error.cpp
    M src/gui/dialogs/wml_error.hpp
    M src/gui/dialogs/wml_message.cpp
    M src/gui/dialogs/wml_message.hpp

  Log Message:
  -----------
  GUI2: removed CVideo argument from tdialog::preshow

In all but three cases, this argument was unused. In those remaining cases,
the argument could be replaced by twindow::video().


  Commit: 3f582310c9a0238a934cd00b70620b2bf2f48afe
      https://github.com/wesnoth/wesnoth/commit/3f582310c9a0238a934cd00b70620b2bf2f48afe
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    M src/gui/dialogs/dialog.cpp
    M src/gui/dialogs/dialog.hpp
    M src/gui/dialogs/lobby_main.cpp
    M src/gui/dialogs/lobby_main.hpp
    M src/gui/dialogs/popup.cpp
    M src/gui/dialogs/popup.hpp
    M src/gui/dialogs/title_screen.cpp
    M src/gui/dialogs/title_screen.hpp

  Log Message:
  -----------
  GUI2: removed CVideo argument from tdialog::post_build

Like with pre_show, any uses of this parameter could be replaced by twindow::video().


Compare: https://github.com/wesnoth/wesnoth/compare/b2fff5afd938...3f582310c9a0


More information about the Commits mailing list