diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-23 09:36:56 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-23 09:36:56 +0200 |
commit | 8004f1a7ad3cc6a3659517f3374bdf1b63416b24 (patch) | |
tree | b7b82cc6e01cd47d22f660e25508a7d8d555dc89 /src/Dimensions.vala | |
parent | 28c68a75acac7ac3ce7fb169bc6aa65e16551c53 (diff) | |
parent | 566dc060676b41e1e58a446b7dcc4159e242fee6 (diff) |
Merge tag 'upstream/0.20.0'
Upstream version 0.20.0
Diffstat (limited to 'src/Dimensions.vala')
-rw-r--r-- | src/Dimensions.vala | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Dimensions.vala b/src/Dimensions.vala index 0c8c895..f689aca 100644 --- a/src/Dimensions.vala +++ b/src/Dimensions.vala @@ -249,10 +249,10 @@ public struct Dimensions { public struct Scaling { private const int NO_SCALE = 0; - private ScaleConstraint constraint; - private int scale; - private Dimensions viewport; - private bool scale_up; + public ScaleConstraint constraint; + public int scale; + public Dimensions viewport; + public bool scale_up; private Scaling(ScaleConstraint constraint, int scale, Dimensions viewport, bool scale_up) { this.constraint = constraint; @@ -461,13 +461,13 @@ public struct Scaling { } public struct ZoomState { - private Dimensions content_dimensions; - private Dimensions viewport_dimensions; - private double zoom_factor; - private double interpolation_factor; - private double min_factor; - private double max_factor; - private Gdk.Point viewport_center; + public Dimensions content_dimensions; + public Dimensions viewport_dimensions; + public double zoom_factor; + public double interpolation_factor; + public double min_factor; + public double max_factor; + public Gdk.Point viewport_center; public ZoomState(Dimensions content_dimensions, Dimensions viewport_dimensions, double slider_val = 0.0, Gdk.Point? viewport_center = null) { |