diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp | 3 | ||||
-rw-r--r-- | examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp b/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp index 2ba4d3ad..1ef3f642 100644 --- a/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp +++ b/examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp @@ -94,6 +94,9 @@ FittingMode::Type NextScalingMode(FittingMode::Type oldMode) newMode = FittingMode::FIT_HEIGHT; break; case FittingMode::FIT_HEIGHT: + newMode = FittingMode::VISUAL_FITTING; + break; + case FittingMode::VISUAL_FITTING: newMode = FittingMode::SHRINK_TO_FIT; break; } diff --git a/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp b/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp index 137a02a5..dc866f86 100644 --- a/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp +++ b/examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp @@ -211,6 +211,9 @@ Dali::FittingMode::Type NextMode(const Dali::FittingMode::Type oldMode) newMode = FittingMode::FIT_HEIGHT; break; case FittingMode::FIT_HEIGHT: + newMode = FittingMode::VISUAL_FITTING; + break; + case FittingMode::VISUAL_FITTING: newMode = FittingMode::SHRINK_TO_FIT; break; } |