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
Dali C#: Common Interface Define related changes
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-swig
/
examples
/
custom-control.cs
diff --git
a/plugins/dali-swig/examples/custom-control.cs
b/plugins/dali-swig/examples/custom-control.cs
index
92b0610
..
adf3a42
100644
(file)
--- a/
plugins/dali-swig/examples/custom-control.cs
+++ b/
plugins/dali-swig/examples/custom-control.cs
@@
-83,8
+83,8
@@
namespace MyCSharpExample
case Gesture.State.Continuing:
{
// Calculate the rating according to pan desture displacement
case Gesture.State.Continuing:
{
// Calculate the rating according to pan desture displacement
- _gestureDisplacement.
x += gesture.displacement.x
;
- int delta = (int)Math.Ceiling(_gestureDisplacement.
x
/ 40.0f);
+ _gestureDisplacement.
X += gesture.displacement.X
;
+ int delta = (int)Math.Ceiling(_gestureDisplacement.
X
/ 40.0f);
_currentValue = _myRating + delta;
// Clamp the rating
_currentValue = _myRating + delta;
// Clamp the rating
@@
-163,7
+163,7
@@
namespace MyCSharpExample
_application.Initialized += Initialize;
}
_application.Initialized += Initialize;
}
- public void Initialize(object source,
A
UIApplicationInitEventArgs e)
+ public void Initialize(object source,
N
UIApplicationInitEventArgs e)
{
Stage stage = Stage.GetCurrent();
stage.BackgroundColor = Color.White;
{
Stage stage = Stage.GetCurrent();
stage.BackgroundColor = Color.White;