projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added FONT_SIZE_SCALE("fontSizeScale") DevelProperty into TextLabel, TextField and...
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
visual-base-data-impl.h
diff --git
a/dali-toolkit/internal/visuals/visual-base-data-impl.h
b/dali-toolkit/internal/visuals/visual-base-data-impl.h
index
4adcc5a
..
f563f94
100644
(file)
--- a/
dali-toolkit/internal/visuals/visual-base-data-impl.h
+++ b/
dali-toolkit/internal/visuals/visual-base-data-impl.h
@@
-46,8
+46,9
@@
struct Base::Impl
/**
* Constructor
* @param [in] fittingMode that the derived class prefers
/**
* Constructor
* @param [in] fittingMode that the derived class prefers
+ * @param [in] type The type of the this visual
*/
*/
- Impl(
FittingMode fittingMode
);
+ Impl(
FittingMode fittingMode, Toolkit::Visual::Type type
);
/**
* Destructor
/**
* Destructor
@@
-56,7
+57,7
@@
struct Base::Impl
enum Flags
{
enum Flags
{
- IS_ON_S
TAG
E = 1,
+ IS_ON_S
CEN
E = 1,
IS_ATLASING_APPLIED = 1<<1,
IS_PREMULTIPLIED_ALPHA = 1 << 2,
IS_SYNCHRONOUS_RESOURCE_LOADING = 1 << 3
IS_ATLASING_APPLIED = 1<<1,
IS_PREMULTIPLIED_ALPHA = 1 << 2,
IS_SYNCHRONOUS_RESOURCE_LOADING = 1 << 3
@@
-111,6
+112,7
@@
struct Base::Impl
Vector2 mOffset;
Vector2 mSize;
Vector2 mOffset;
Vector2 mSize;
+ Vector2 mExtraSize;
Vector4 mOffsetSizeMode;
Toolkit::Align::Type mOrigin;
Toolkit::Align::Type mAnchorPoint;
Vector4 mOffsetSizeMode;
Toolkit::Align::Type mOrigin;
Toolkit::Align::Type mAnchorPoint;
@@
-124,11
+126,15
@@
struct Base::Impl
Transform mTransform;
Vector4 mMixColor;
Size mControlSize;
Transform mTransform;
Vector4 mMixColor;
Size mControlSize;
+ float mCornerRadius;
+ float mCornerRadiusPolicy;
int mDepthIndex;
Property::Index mMixColorIndex;
int mDepthIndex;
Property::Index mMixColorIndex;
+ Property::Index mCornerRadiusIndex;
FittingMode mFittingMode; //< How the contents should fit the view
int mFlags;
Toolkit::Visual::ResourceStatus mResourceStatus;
FittingMode mFittingMode; //< How the contents should fit the view
int mFlags;
Toolkit::Visual::ResourceStatus mResourceStatus;
+ const Toolkit::Visual::Type mType;
};
} // namespace Visual
};
} // namespace Visual