[Commits] [wesnoth/wesnoth] 704564: Make the story screen resize aware
GitHub
noreply at github.com
Sat Jan 2 09:43:42 UTC 2016
Branch: refs/heads/resizestoryscreen
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.
More information about the Commits
mailing list