[Commits] [wesnoth/wesnoth] 98cca2: Moved the SDL_Rect ostream operator to the appropr...

GitHub noreply at github.com
Sat Dec 10 11:36:52 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 98cca22c6509437cb1bf8075577031f624139c6f
      https://github.com/wesnoth/wesnoth/commit/98cca22c6509437cb1bf8075577031f624139c6f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-10 (Sat, 10 Dec 2016)

  Changed paths:
    M src/gui/widgets/minimap.cpp
    M src/gui/widgets/panel.cpp
    M src/gui/widgets/styled_widget.cpp
    M src/gui/widgets/tree_view_node.cpp
    M src/sdl/rect.hpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Moved the SDL_Rect ostream operator to the appropriate file


  Commit: 09e73dbc984e654bba54de74eea20b16a0f7140b
      https://github.com/wesnoth/wesnoth/commit/09e73dbc984e654bba54de74eea20b16a0f7140b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-10 (Sat, 10 Dec 2016)

  Changed paths:
    M src/font/standard_colors.cpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Moved inverse to standard_colors.cpp

This is the only place it's used, and it's no longer an SDL-related util now that we have color_t. It could
potentially become part of color_t, but I'd have to think about it.

This also removes the sdl/utils.hpp dependency.


  Commit: b97a20b059271c419492122b35472d897e258166
      https://github.com/wesnoth/wesnoth/commit/b97a20b059271c419492122b35472d897e258166
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-12-10 (Sat, 10 Dec 2016)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/construct_dialog.cpp
    M src/floating_label.hpp
    M src/font/marked-up_text.cpp
    M src/font/sdl_ttf.cpp
    M src/font/text.hpp
    M src/font/text_cache.cpp
    M src/font/text_surface.cpp
    M src/game_launcher.cpp
    M src/gui/core/canvas.hpp
    M src/gui/widgets/window.cpp
    M src/help/help.cpp
    M src/help/help_impl.cpp
    M src/help/help_text_area.hpp
    M src/hotkey/hotkey_item.cpp
    M src/image_modifications.hpp
    M src/joystick.cpp
    M src/minimap.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/sdl/rect.cpp
    A src/sdl/surface.cpp
    A src/sdl/surface.hpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp
    M src/sdl/window.cpp
    M src/storyscreen/part.cpp
    M src/storyscreen/part.hpp
    M src/tests/test_sdl_utils.hpp
    M src/tools/exploder_cutter.hpp
    M src/tools/exploder_utils.hpp
    M src/tooltips.hpp
    M src/units/drawer.cpp
    M src/wesmage/filter.hpp
    M src/widgets/menu.hpp
    M src/widgets/menu_style.cpp
    M src/widgets/scrollpane.hpp
    M src/widgets/slider.hpp
    M src/widgets/widget.hpp

  Log Message:
  -----------
  Split SDL_Surface wrapper class and related helper struts into their own file

This (should) allow sdl/utils.hpp to be modified without a huge rebuild, since a number
of widely used headers included that file simply for the surface class type.


Compare: https://github.com/wesnoth/wesnoth/compare/4dbd219292db...b97a20b05927


More information about the Commits mailing list