diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-23 09:36:45 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-09-23 09:36:45 +0200 |
commit | 566dc060676b41e1e58a446b7dcc4159e242fee6 (patch) | |
tree | 6eaeba1cf78d3f03b8a1d5bfa998eb104ca47425 /src/Dimensions.vala | |
parent | 4ea2cc3bd4a7d9b1c54a9d33e6a1cf82e7c8c21d (diff) |
Imported Upstream version 0.20.0upstream/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) { |