[Commits] [wesnoth/wesnoth] ac2423: Add a dynamic layout functionality to the game dis...
GitHub
noreply at github.com
Sun Jan 10 06:05:50 UTC 2016
Branch: refs/heads/guifixes
Home: https://github.com/wesnoth/wesnoth
Commit: ac242376e91463f27b22fde7ca617d4a5c92fbeb
https://github.com/wesnoth/wesnoth/commit/ac242376e91463f27b22fde7ca617d4a5c92fbeb
Author: Andreas Löf <andreas at alternating.net>
Date: 2016-01-10 (Sun, 10 Jan 2016)
Changed paths:
M src/display.cpp
M src/display.hpp
M src/sdl/utils.cpp
M src/widgets/button.cpp
Log Message:
-----------
Add a dynamic layout functionality to the game display
This adds dynamic layout functionality, which is invoked on a full
redraw and upon element creation. It also makes sure that there's no
attempt to do a surface restore on negative widhts or heights as
introduced support for in SDL2. Finally, there's a workaround for text
being clipped by 1-2 pixels in GUI1 buttons.
More information about the Commits
mailing list