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
Add the APIs of webview settings
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
controls
/
shadow-view
/
shadow-view.cpp
diff --git
a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp
b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp
index
cb7ac5c
..
c568fb8
100644
(file)
--- a/
dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp
+++ b/
dali-toolkit/devel-api/controls/shadow-view/shadow-view.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 20
15
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-23,18
+23,15
@@
namespace
{
namespace
{
-
-const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_WIDTH_SCALE = 1.0f;
+const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_WIDTH_SCALE = 1.0f;
const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_HEIGHT_SCALE = 1.0f;
} // namespace
namespace Dali
{
const float GAUSSIAN_BLUR_VIEW_DEFAULT_DOWNSAMPLE_HEIGHT_SCALE = 1.0f;
} // namespace
namespace Dali
{
-
namespace Toolkit
{
namespace Toolkit
{
-
ShadowView::ShadowView()
{
}
ShadowView::ShadowView()
{
}
@@
-44,13
+41,13
@@
ShadowView::~ShadowView()
}
ShadowView::ShadowView(const ShadowView& handle)
}
ShadowView::ShadowView(const ShadowView& handle)
-
: Control( handle
)
+
: Control(handle
)
{
}
ShadowView& ShadowView::operator=(const ShadowView& rhs)
{
{
}
ShadowView& ShadowView::operator=(const ShadowView& rhs)
{
- if(
&rhs != this
)
+ if(
&rhs != this
)
{
Control::operator=(rhs);
}
{
Control::operator=(rhs);
}
@@
-68,35
+65,25
@@
ShadowView ShadowView::New(float downsampleWidthScale, float downsampleHeightSca
return Internal::ShadowView::New(downsampleWidthScale, downsampleHeightScale);
}
return Internal::ShadowView::New(downsampleWidthScale, downsampleHeightScale);
}
-ShadowView::ShadowView(
Internal::ShadowView& implementation
)
-: Control(
implementation
)
+ShadowView::ShadowView(
Internal::ShadowView& implementation
)
+: Control(
implementation
)
{
}
{
}
-ShadowView::ShadowView(
Dali::Internal::CustomActor* internal
)
-: Control(
internal
)
+ShadowView::ShadowView(
Dali::Internal::CustomActor* internal
)
+: Control(
internal
)
{
VerifyCustomActorPointer<Internal::ShadowView>(internal);
}
{
VerifyCustomActorPointer<Internal::ShadowView>(internal);
}
-ShadowView ShadowView::DownCast(
BaseHandle handle
)
+ShadowView ShadowView::DownCast(
BaseHandle handle
)
{
return Control::DownCast<ShadowView, Internal::ShadowView>(handle);
}
{
return Control::DownCast<ShadowView, Internal::ShadowView>(handle);
}
-void ShadowView::Add(Actor child)
-{
- GetImpl(*this).Add(child);
-}
-
-void ShadowView::Remove(Actor child)
-{
- GetImpl(*this).Remove(child);
-}
-
-void ShadowView::SetShadowPlane(ImageActor shadowPlane)
+void ShadowView::SetShadowPlaneBackground(Actor shadowPlaneBackground)
{
{
- GetImpl(*this).SetShadowPlane
(shadowPlane
);
+ GetImpl(*this).SetShadowPlane
Background(shadowPlaneBackground
);
}
void ShadowView::SetPointLight(Actor pointLight)
}
void ShadowView::SetPointLight(Actor pointLight)