X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-data-impl.h;h=1f59ec05f1fb774607c45a0f503959240ee8e0f4;hp=fd2420517de5581364e02e36f9357c88a64385f0;hb=8641983679bb074a9951c2df9fff7ac6cbf5f5f2;hpb=fedf87ade1e326c925e463906b0400a09b86ae0a;ds=sidebyside diff --git a/dali-toolkit/internal/visuals/visual-base-data-impl.h b/dali-toolkit/internal/visuals/visual-base-data-impl.h index fd24205..1f59ec0 100644 --- a/dali-toolkit/internal/visuals/visual-base-data-impl.h +++ b/dali-toolkit/internal/visuals/visual-base-data-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_VISUAL_BASE_DATA_IMPL_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ #include #include #include +#include namespace Dali { @@ -44,8 +45,9 @@ struct Base::Impl { /** * Constructor + * @param [in] fittingMode that the derived class prefers */ - Impl(); + Impl(FittingMode fittingMode); /** * Destructor @@ -124,7 +126,7 @@ struct Base::Impl Size mControlSize; int mDepthIndex; Property::Index mMixColorIndex; - Property::Index mOpacityIndex; + FittingMode mFittingMode; //< How the contents should fit the view int mFlags; Toolkit::Visual::ResourceStatus mResourceStatus; };