[Commits] [wesnoth/wesnoth] 704564: Make the story screen resize aware

GitHub noreply at github.com
Sun Jan 3 03:35:14 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 704564ae44e1ae27ab69c110fd4fcfafbceb5607
      https://github.com/wesnoth/wesnoth/commit/704564ae44e1ae27ab69c110fd4fcfafbceb5607
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-01-02 (Sat, 02 Jan 2016)

  Changed paths:
    M src/storyscreen/controller.cpp
    M src/storyscreen/render.cpp
    M src/storyscreen/render.hpp

  Log Message:
  -----------
  Make the story screen resize aware

These changes make the storyscreen resize aware by adding an event
handler to the UI component and giving it its own event context. On an
window-event it'll restart relayout the entire scene and re-start the
drawing of the text.

Known issue: Gamescreen buttons appear when you move over them. This is beyond the scope of this commit and will be fixed in other changes.


  Commit: 337eeb00ba0ba055ad2b73e6de7a65316b7eefa0
      https://github.com/wesnoth/wesnoth/commit/337eeb00ba0ba055ad2b73e6de7a65316b7eefa0
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-01-02 (Sat, 02 Jan 2016)

  Changed paths:
    M src/storyscreen/render.hpp

  Log Message:
  -----------
  remove unused function header


  Commit: f304c36b852cccba652c0a0dccc1560a38ac2e97
      https://github.com/wesnoth/wesnoth/commit/f304c36b852cccba652c0a0dccc1560a38ac2e97
  Author: Andreas <andreas at alternating.net>
  Date:   2016-01-03 (Sun, 03 Jan 2016)

  Changed paths:
    M src/storyscreen/controller.cpp
    M src/storyscreen/render.cpp
    M src/storyscreen/render.hpp

  Log Message:
  -----------
  Merge pull request #576 from wesnoth/resizestoryscreen

Make the story screen resize aware


Compare: https://github.com/wesnoth/wesnoth/compare/ddf9d0bbd49c...f304c36b852c


More information about the Commits mailing list