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
C# binding for Actor Opacity property
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-swig
/
SWIG
/
events
/
actor-event.i
diff --git
a/plugins/dali-swig/SWIG/events/actor-event.i
b/plugins/dali-swig/SWIG/events/actor-event.i
index
f65e658
..
f4d6d1c
100755
(executable)
--- a/
plugins/dali-swig/SWIG/events/actor-event.i
+++ b/
plugins/dali-swig/SWIG/events/actor-event.i
@@
-37,6
+37,22
@@
return (IntPtr)swigCPtr;
}
return (IntPtr)swigCPtr;
}
+ public Position CurrentPosition
+ {
+ get
+ {
+ return GetCurrentPosition();
+ }
+ }
+
+ public Size3D CurrentSize
+ {
+ get
+ {
+ return GetCurrentSize();
+ }
+ }
+
public Actor Parent
{
get
public Actor Parent
{
get
@@
-51,19
+67,21
@@
{
return IsVisible();
}
{
return IsVisible();
}
-
}
+ }
- public float Opacity
- {
-
s
et
+
public float Opacity
+
{
+
g
et
{
{
- SetOpacity(value);
+ float temp = 0;
+ GetProperty( Actor.Property.OPACITY ).Get( ref temp );
+ return temp;
}
}
-
g
et
+
s
et
{
{
-
return GetCurrentOpacity(
);
+
SetProperty( Actor.Property.OPACITY, new Dali.Property.Value( value )
);
}
}
- }
+
}
public bool StateFocusEnable
{
public bool StateFocusEnable
{
@@
-85,6
+103,20
@@
}
}
}
}
+ public int SiblingOrder
+ {
+ get
+ {
+ int temp = 0;
+ GetProperty( Actor.Property.SIBLING_ORDER ).Get( ref temp );
+ return temp;
+ }
+ set
+ {
+ SetProperty( Actor.Property.SIBLING_ORDER, new Dali.Property.Value( value ) );
+ }
+ }
+
public void Show()
{
SetVisible(true);
public void Show()
{
SetVisible(true);
@@
-94,7
+126,6
@@
{
SetVisible(false);
}
{
SetVisible(false);
}
-
%}
%enddef
%}
%enddef