diff options
author | 2018-05-16 09:48:31 +0000 | |
---|---|---|
committer | 2018-05-16 09:48:31 +0000 | |
commit | dcdcfe175174a0a94997fc3d3d34102b0912b00e (patch) | |
tree | 55f01242217cda946344c9a0248271e50e62bfee /src/layers.hpp | |
parent | 33ee7d8a99c540749dd9691362f109c5b884e588 (diff) |
Enable scaling
Fit screen, keep aspect rate.
Change-Id: Id11a07560fe254712aaab42018bfb4d1d87ad1df
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'src/layers.hpp')
-rw-r--r-- | src/layers.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layers.hpp b/src/layers.hpp index 1942229..27573a2 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -77,6 +77,8 @@ struct layer_map { layers_type layers; // the actual layer IDs we have int main_surface; std::string main_surface_name; + int main_surface_width; + int main_surface_height; role_to_layer_map roles; addsurf_layer_map surfaces; // additional surfaces on layers |