[Commits] [wesnoth/wesnoth] 3c83cf: Window (SDL): set default renderer blend mode to B...

GitHub noreply at github.com
Fri May 26 04:29:47 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3c83cfc46cc5ec60b2265bb0603a67be419282ff
      https://github.com/wesnoth/wesnoth/commit/3c83cfc46cc5ec60b2265bb0603a67be419282ff
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/sdl/window.cpp

  Log Message:
  -----------
  Window (SDL): set default renderer blend mode to BLEND


  Commit: 95a3883aabbd2365f6dadc5cd16925d71af8ef70
      https://github.com/wesnoth/wesnoth/commit/95a3883aabbd2365f6dadc5cd16925d71af8ef70
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  Use sdl::window::fill instead of draw_solid_tinted_rectangle where appropriate


  Commit: 4cbd6529e3d5f378d4dd0080dda8a47025b0d50d
      https://github.com/wesnoth/wesnoth/commit/4cbd6529e3d5f378d4dd0080dda8a47025b0d50d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/display.cpp
    M src/editor/palette/location_palette.cpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp
    M src/help/help_text_area.cpp
    M src/sdl/rect.cpp
    M src/sdl/rect.hpp
    M src/widgets/menu.cpp
    M src/widgets/textbox.cpp

  Log Message:
  -----------
  Refactored rectangle drawing primitive utils

* These all now draw directly to the renderer instead of blitting.
* draw_solid_tinted_rectangle and fill_rect_alpha have been merged into a single function (fill_rectangle).
* The argument lists have been standardized - both take SDL_Rect and color_t references.


  Commit: 4f48d09ac8802e3d4da50e1902617a2f87b3d8ff
      https://github.com/wesnoth/wesnoth/commit/4f48d09ac8802e3d4da50e1902617a2f87b3d8ff
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M src/sdl/rect.cpp

  Log Message:
  -----------
  Rect utils: minor code cleanup


Compare: https://github.com/wesnoth/wesnoth/compare/132790bf654c...4f48d09ac880


More information about the Commits mailing list